Command List

#### Search Results

Search

# Command List

This section lists the following:

- The commands known to Super Natural

- The shortest possible abbreviation of each command (underlined)

- A description of each command.

- Where to issue each command.

Super Natural commands are language-dependent!

This appendix is available online when you mark a command in the Command List window with the cursor position and press PF1.

This section covers the following topics:

[ A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Special Characters ]

## A

#### A BACKWARD

Pages one page backwards in section A of the Layout Editor.

- Issue from the Layout Editor.

#### A BOTTOM

Pages to last page in section A of the Layout Editor.

- Issue from the Layout Editor.

#### A DELIMITER

Invokes delimiter information in section A of the Layout Editor.

- Issue from the Layout Editor.

#### A FORWARD

Pages one page forwards.

- Issue from the Layout Editor.

#### A LEFT

Displays data to the left of your present screen contents if you have more columns in a report than you can see at one time.

- Issue from the Layout Editor.

#### A LINE line-number

Pages to the line number specified in section A of the Layout Editor.

- Issue from the Layout Editor.

#### A RIGHT

Displays data to the right of your present screen contents if you have more columns in a report than you can see at one time.

- Issue from the Layout Editor.

#### A SCAN field-name

Pages to the field named (only if section A is displaying transaction fields)

- Issue from the Layout Editor.

#### A TOP

Pages to first page.

- Issue from the Layout Editor.

#### A TRANSACTION

Invokes transaction field information in section A of the Layout Editor.

- Issue from the Layout Editor.

#### ADD object-type object-name

Invokes the appropriate add object window with the new object name already entered.

Use with the following object types:

- Transaction

- Application program

- User file

- Issue from the Menu and list object screens.

Note
If the list object screen for the type of object you want to add is displayed, you need not specify object type.

#### ALL

Selects all the fields contained in the file(s) you are using and enters them in the Fieldname column of the Worksheet.

- Issue from the Worksheet.

#### APPLICATION

Invokes the List Application screen.

- Issue from the Menu and list object screens.

#### ARRAY

Invokes the Array Editing window from the command column in the Layout Field List screen.

- Issue from Display Layout Element screen.

## B

#### B BACKWARD

Pages one page backwards in section B of the Layout Editor.

- Issue from the Layout Editor.

#### B BOTTOM

Pages to last page.

- Issue from the Layout Editor in section B of the Layout Editor.

#### B DELIMITER

Invokes delimiter information in section B of the Layout Editor.

- Issue from the Layout Editor.

#### B FORWARD

Pages one page forwards in section B of the Layout Editor.

- Issue from the Layout Editor.

#### B LEFT

Displays data to the left of your present screen contents in section B of the Layout Editor if you have more columns in a report than you can see at one time.

- Issue from the Layout Editor.

#### B LINE line-number

Pages to the line number specified in section B of the Layout Editor.

- Issue from the Layout Editor.

#### B RIGHT

Displays data to the right of your present screen contents in section B of the Layout Editor if you have more columns in a report than you can see at one time.

- Issue from the Layout Editor.

#### B SCAN field-name

Pages to the field named (only if section B is displaying transaction fields)

- Issue from the Layout Editor.

#### B TOP

Pages to first page in section B of the Layout Editor.

- Issue from the Layout Editor.

#### B TRANSACTION

Invokes transaction field information in section B of the Layout Editor.

- Issue from the Layout Editor.

#### BACKWARD (-)

Pages one page backwards.

- Issue when shown in the PF key lines.

#### BOTTOM (++)

Pages to last page.

- Issue when shown in the PF key lines.

## C

#### CALCULATION

Invokes the Calculation Editor.

- Issue from within a transaction.

#### CANCEL

The `CANCEL` command interrupts the current function without saving. If a window is displayed, the `CANCEL` command closes it and if a screen is displayed, the `CANCEL` command invokes the previous screen.

Note
The Confirmation window does not appear and entries made since you last saved or pressed Enter are cancelled!

- Issue at any point in Super Natural.

#### CHECK

Checks your entries in the Super Natural editors and pinpoints errors. You can correct the error, ignore it and continue working using `CANCEL` or leave the editor using `EXIT`.

- Issue when working with the Selection, SQL SELECT, Calculation and Logical Conditions Editors.

#### CHECKLIST (CHLST)

Invokes the Checklist window.

- Issue from within a transaction (not in Natural Report Manager).

#### COMMANDS

Invokes the Command List window.

- Issue at any point in Super Natural.

#### CONTINUE

Invokes a window which tells you what you can do next.

- Issue from the Selection, Calculation and Logical Conditions Editors.

#### COPY object-type object-name [target-name] [target-library]

Copies the named object within a library or to another library. Use with the following object types:

- Transaction

- Prototype program

- Application program

- Issue from the Menu, Worksheet and list object screens.

Note
If the list object screen for the type of object you want to copy is displayed, you need not specify object type.

#### COUNT

Counts the number of records found by the present transaction but does not display the resulting data.

- Issue from within a transaction.

Note
The COUNT command disregards lookup files.

## D

#### DELETE

Deletes edit lines in all editors (not the Layout Editor).

- Issue from any Super Natural editor except the Layout Editor.

#### DELETE object-type object-name

Deletes the named object. Use with the following object types:

- Transaction

- Prototype program

- Application program

- User file

- Issue from the Menu, Worksheet and list object screens.

Note
If the list object screen for the type of object you want to delete is displayed, you need not specify object type.

#### DELETE ALL

Deletes all elements in the layout you are working on.

- Issue from Natural Report Manager.

#### DELETE element-name

Deletes the named element.

- Issue from Natural Report Manager.

#### DISPLAY ALL

Displays all elements in the layout you are working on.

- Issue from Natural Report Manager.

#### DISPLAY element-name

Invokes the Display Layout Element screen displaying the element specified.

- Issue from Natural Report Manager.

## E

#### EDIT editor-direct-command

The command `EDIT` must precede every editor direct command (not in the Layout Editor).

- Issue from any Super Natural editor except the Layout Editor.

#### EDIT ALL

Invokes the Layout Editor with all elements in the editor area.

- Issue from Natural Report Manager.

#### EDIT element-name

Invokes the Layout Editor with the named element in the editor area.

- Issue from Natural Report Manager.

#### EXECUTE object-type object-name

Executes the object named. Use with the following object types:

- Transaction

- Application program

If you want to run an existing transaction without modifying it, it is most efficient to use the `EXECUTE` command from the List Transactions screen. This is because when you issue the `EXECUTE` command, Super Natural uses the transaction as it was when the transaction was last run or saved. When you run a transaction using the `RUN` command, Super Natural completely recreates the transaction. You cannot execute a transaction you have left using the `KEEP` command.

Note
for the Administrator: When you execute a transaction, the Natural program generated last time the transaction was run or saved is executed. The program is not recataloged.

- Issue from the Menu, Worksheet and list object screens.

Note
If the list object screen for the type of object you want to execute is displayed, you need not specify object type.

#### EXIT

Ends the function you are performing and saves your modifications.

If you leave a transaction using the `EXIT` command, a window asks you if you want to save and exit, keep and exit, exit without keeping or saving or resume the current function.

- Issue when shown in the PF key lines.

## F

#### FIELDS

Invokes the Field Selection List window.

- Issue from the Worksheet and the Selection, Calculation and Logical Conditions Editors.

#### FIELDS element-name

Invokes the Layout Field List screen for the element you are working with.

- Issue from Natural Report Manager.

#### FIELDS ALL

Invokes the Layout Field List screen for all the elements in the layout you are working with.

- Issue from Natural Report Manager.

#### FLIP

Displays the twelve PF keys not currently on view.

For example, if the keys PF1 to PF12 are displayed, the `FLIP` command displays the keys PF12 to PF24.

Whichever twelve keys are displayed, you can still use any of the other twelve keys which has a function allocated to it.

- Issue at any point in Super Natural.

Note
This command does not apply if you are using the SAA PF key format.

#### FORWARD (+)

Pages one page forwards.

- Issue when shown in the PF key lines.

#### FULL

Invokes the Layout Editor with full screen editor area.

- Issue from the Layout Editor.

## G

#### GENERATE PROTOTYPE

Generates a prototype program from the transaction you are working on. You cannot generate a prototype program from a transaction which is not finished.

- Issue from within a transaction.

#### GENERATE RPC

Generates an RPC Service from the transaction you are working on. You cannot generate an RPC Service from a transaction which is not finished.

- Issue from within a transaction.

## H

#### HELP

Invokes the Super Natural help system.

- Issue at any point in Super Natural except when already using the help system.

## I

#### INCLUDE

Invokes the Include Files window where you can do the following:

- Change the original primary file (as long as no fields have been used or user fields defined)

- Define/change a secondary file

- Define/change a lookup file(s)

- Issue from the Worksheet.

#### INFO object object-name

Supplies information on named object. Use with the following object types:

- Transaction

- User file

- Issue from the Menu, Worksheet, object list screens and editors (not Layout Editor).

Note
If the list object screen for the type of object you want information on is displayed, you need not specify object type.

## J

## K

#### KEEP

Keeps any transaction even if it contains errors.

- Issue from within a transaction.

Note
for the Administrator: When you keep a transaction, the commentary lines (transaction specification) for a Natural program are generated and saved but the Natural program for the transaction itself is not generated. If you keep a transaction which has already been run or saved, the program generated by the run or save is deleted and only the commentary lines are kept.

## L

#### LAYOUT

Invokes the Layout Editor which displays either the default layout for the current transaction or a layout you have already edited.

- Issue from within a transaction.

#### LEFT (<)

Displays data to the left of your present screen contents if you have more columns in a report than you can see at one time.

- Issue when shown in the PF key lines.

#### LINE line-number

Scrolls to the line number specified in the Layout Editor and Display Element screen.

- Issue from the Layout Editor or Display Element screen.

#### LOCK

Lock user exits and selection lines in the Selection Editor so that they may not be modified. You can add further selection criteria but you may not use the logical operator OR.

- Issue from the Selection Editor or from the Exit Specification screen.

#### LOGIC

Invokes the Logical Conditions Editor.

- Issue from within a transaction.

## M

#### MAINTAIN

Invokes the Super Natural Maintenance Menu.

- Issue from the (Super Natural Processor) Menu.

#### MENU

Invokes the Menu from any point in Super Natural. Processing is interrupted and your changes are not saved.

- Issue at any point in Super Natural.

#### MODES

Invokes the Modify Modes for Reporting or the Modify Modes for Data Maintenance window depending on the type of transaction you are creating or modifying.

Note
The modifications you make in these windows are only valid for the current transaction. See PROFILE.

- Issue from within a transaction (not in Natural Report Manager).

#### MODIFY object-type object-name

Invokes the Modify object function. Use with the following object types:

- Transaction

- Prototype program

- Issue from the Menu and list object screens.

Note
If the list object screen for the type of object you want to modify is displayed, you need not specify object type.

## N

#### NEXT

Takes you to the next step you have selected in the Checklist window. If you have selected no further function, the Checklist window appears.

- Issue from within a transaction (not in Natural Report Manager).

#### NOSEQUENCE

Removes all numbers from the Sequence column in the Worksheet.

- Issue from the Worksheet.

#### NOTEPAD

Invokes the Super Natural notepad.

- Issue at any point in Super Natural.

## O

#### OPTIONS

Invokes the Transaction Options window. See PROFILE.

Note
The modifications you make in this and the following windows are only valid for the current transaction.

- Issue from within a transaction (not in Natural Report Manager).

#### OVERVIEW

Invokes the Layout Overview screen from the Display Layout Element screen, Layout Editor and Layout Field List screens.

- Issue from Natural Report Manager.

## P

#### POSITION

Displays the report with the column at the cursor position on the left-hand side of the report display.

- Issue using PF9 when looking at a report which is wider than one screen.

#### PRINT

- Prints the information found by the Value function

- Prints the transaction and user file information found by the Information function.

- Prints a report starting at the current page. If you are using Com-plete, the Com-plete Printout Specification screen appears.

Note
If you want to print a whole report, you can also use Report Destination PRINTER.

- Issue when the relevant information is displayed.

#### PROFILE

Invokes the Modify Profile screen.

Note
The modifications you make in this screen are valid for all new transactions.

- Issue from the Menu and list object screens.

#### PROTOTYPE

Invokes the List Prototype screen.

- Issue from the Menu and list object screens.

## Q

## R

#### REFRESH

Deletes the lines in the current editor and recalls the lines which were present (if any) when the transaction was last saved.

- Issue from any Super Natural editor except the Layout Editor.

#### RELEASE

All fields not currently in use in a transaction are removed from the source area and are no longer available. For example, if you invoke the Field List window from an editor or the Worksheet, only the fields in use when you issued the `RELEASE` command are listed. If you are using very large files, you can use this command to avoid problems with temporary memory capacity (buffer overflow).

- Issue from within a transaction (not in Natural Report Manager).

#### RETRIEVE USERFILE userfile-name

Retrieves the named user file which has been deleted logically but not physically. The user file can be retrieved until the administrator or a system routine deletes it.

- Issue from the Menu and list object screens.

Note
If you are in the Userfile List screen, you need not specify object type.

#### RIGHT (>)

Displays data to the right of your present screen contents if you have more columns in a report than you can see at one time.

- Issue when shown in the PF key lines.

#### RUN

Runs a transaction you are modifying or creating. You cannot run a transaction which is not finished or still has errors in it.

- Issue from within the transaction you want to run.

Note
For the Administrator:
When you run a transaction, a Natural program is generated, cataloged and executed.

## S

#### SAVE

If you have completed a transaction but do not want to see the results immediately, you can save it. You cannot save a transaction which still has errors in it. You can execute a transaction using the `EXECUTE` command when it has been saved.

- Issue from within the transaction you want to save.

Note
For the Administrator:
When you save a transaction, a Natural program is generated and cataloged but not executed.

#### SCAN field-name

Pages to the field named in the section of the Layout Editor displaying transaction fields.

- Issue from the Layout Editor.

#### SCAN text-string

Pages to the specified text string in the show area, display area and editor area.

- Issue from the Layout Editor.

#### SECTION

Invokes the Layout Editor with information sections.

- Issue from the Layout Editor.

#### SELECTION

Invokes the Selection Editor, PC file editor or work file editor depending on the selection mode setting.

- Issue from within a transaction.

#### SEQUENCE

Gives each field entered in the Fieldname column a number from 1 to 99 in the Sequence column. The first 99 fields are numbered in ascending order from the top of the Worksheet to the bottom of the last page.

- Issue from the Worksheet.

#### SETTINGS

Invokes the Layout Settings window.

- Issue from Natural Report Manager.

#### SHOW BACKWARD

Pages one page backwards in the show area of the Layout editor.

- Issue from the Layout Editor.

#### SHOW BOTTOM

Pages to last page of the element in show area of the Layout Editor.

- Issue from the Layout Editor.

#### SHOW element-name

Invokes the show area of the Layout Editor showing the element named.

- Issue from the Layout Editor.

#### SHOW FORWARD

Pages one page forwards in the show area of the Layout Editor.

- Issue from the Layout Editor.

#### SHOW LEFT

Displays data to the left of your present screen contents if you have more columns in a report than you can see at one time in the show area of the Layout Editor.

- Issue from the Layout Editor.

#### SHOW LINE line-number

Pages to the specified line number specified in the show area of the Layout Editor.

- Issue from the Layout Editor.

#### SHOW NAME group-element-name

Invokes a window which gives you the following information on the control field for the group element specified:

- Control field name

- File in which control field is contained

- Control field field type

- Issue from the Layout Editor.

#### SHOW RIGHT

Displays data to the right of your present screen contents if you have more columns in a report than you can see at one time in the show area of the Layout Editor.

- Issue from the Layout Editor.

#### SHOW SCAN text-string

Pages to the specified text string in the show area of the Layout Editor.

- Issue from the Layout Editor.

#### SHOW TOP

Pages to first page of the element in show area of the Layout Editor.

- Issue from the Layout Editor.

#### SORT

Sorts the elements in the edit area of the Layout Editor into the following order:

- Title

- Preface

- Header

- List

- Groups 1 - 10

- Footer

- Appendix

- Issue from the Layout Editor.

## T

#### TABLES

Invokes the List DB2 Tables screen.

- Issue from the SQL Select editor.

#### TABULAR

Invokes the Tabular Report Specification screen when you are adding a report of report type TABLE.

- Issue from within a transaction of report type TABLE (not in Natural Report Manager).

#### TECH

Invokes the Technical Information window.

- Issue from any point in Super Natural.

#### TEST

Shows how the report data would be presented if you ran the transaction you are working on using Report Destination SCREEN, PRINTER, or EDITOR. The test report is filled with dummy data.

- Issue from the Layout Editor.

#### TOP (- -)

Pages to first page.

- Issue when shown in the PF key lines.

#### TRANSACTION

Invokes the Transaction List screen.

- Issue from the Menu, Worksheet and list object screens.

Invokes transaction field information in the section of the Layout Editor in which the cursor is positioned.

- Issue from the Layout Editor.

#### TYPE

Moves the Type column to the other side of the Layout Editor.

- Issue from the Layout Editor.

## U

#### USEREXIT

Invokes the Exit Specification screen.

- Issue from within a transaction.

#### USERFILE

Invokes the List User File screen.

- Issue from the Menu and list object screens.

## V

## W

#### WORKSHEET

Invokes the Worksheet.

- Issue from within a transaction (not in Natural Report Manager).

## X

## Y

## Z

## Special Characters

#### *

Invokes the Command List window.

- Issue from any point in Super Natural or Natural Report Manager.

#### -

Pages one page backwards.

- Issue when shown in the PF key lines.

#### - -

Pages to first page.

- Issue when shown in the PF key lines.

#### +

Pages one page forwards.

- Issue when shown in the PF key lines.

#### ++

Pages to last page.

- Issue when shown in the PF key lines.

#### <

Displays data to the left of your present screen contents if you have more columns in a report than you can see at one time.

- Issue when shown in the PF key lines.

#### <<

Shifts to the far left position of your present screen contents if you have more columns in a report than you can see at one time.

- Issue from the Layout Editor.

#### >

Displays data to the right of your present screen contents if you have more columns in a report than you can see at one time.

- Issue when shown in the PF key lines.

#### >>

Shifts to the far right position of your present screen contents if you have more columns in a report than you can see at one time.

- Issue from the Layout Editor.

### On this page

- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Y
- Z
- Special Characters