Direct Commands

#### Search Results

Search

# Direct Commands

From the SYSERR main menu, you can execute the following commands by entering them in the command line:

Command | Explanation
--- | ---
`EXPORT` |
Exports a message file and converts it into a text file. Note that you always need to specify the full path of a file. For further information on file formats and generating message and text files, see the relevant section.
From (application) | The message file/application (library) from which the text file will be generated. User-defined messages: The default values entered in the export window are taken from the values entered in the fields Message type, Library and Language codes in the SYSERR main menu. The message file generated contains all messages, regardless of any range specifications. Natural system messages: Modify the default directory path (if required) and the file name. The file name must be `NnnLmmmm.MSG`.
To (text file) | The name of the text file that will be generated automatically.
`IMPORT` |
Imports a text file and converts it into a message file. Note that you always need to specify the full path of a file. For further information on file formats and generating message and text files, see the relevant section.
From (text file) | The name of the text file from which the message file will be generated.
To (application) | The message file/application (library) into which the text file will be generated. User-defined messages: The default values entered in the import window are taken from the values entered in the fields Message type, Library and Language codes in the SYSERR main menu. The message file generated contains all messages, regardless of any range specifications. Natural system messages: The file name must be `NnnLmmmm.MSG`.
`LAYOUT` | Specifies valid message ranges to categorize messages. Overlapping of ranges is possible. A new message can only be added if its number is within the range specified in the layout.
`NEXT` | Searches for the next free message number within the message number range specified. Free means that this message number is available and has not yet been assigned to a message file in any language.
`NEXTTAB` | Same as `NEXT`, but returns a list of message numbers from which you can select a number.
`RESTART` | Re-initializes SYSERR (and its default values) without leaving the utility.
`SAMPLE` | Invokes the Edit SAMPLE message window where you create or modify a sample message to be used as a master for creating new short messages. To create or modify a sample message, proceed as follows: In the editor area of the Edit SAMPLE message window, type in the message text required or modify the existing text. If you enter the string `0000` (combined with text or not), the string `0000` is replaced by the number of the new message when copying the message. See also Step 4 of Adding Messages in the section Functions. In the Read or Write sample field, enter a `W` to save your entries. In the Library field, enter the name of the library for which the sample message is to be used. If you leave the Library field blank, the sample applies to Natural system messages. Press PF3 to exit the Edit SAMPLE message window. You can define one sample message for each language and library.
`SHIFT` | If activated, automatically shifts the text of a short message to the left margin when confirming a modification or adding a new message.
`TRACE` | Counts the number of database accesses. When the message number specified has been reached, a window is displayed. The default number is `900`. If set to `0`, the trace facility is shut off. The commands `TRACE ON` and `TRACE OFF` can be entered directly in the command line. `TRACE ON` sets the access counter to `900`; `TRACE OFF` sets the access counter to `0`.
`USEREXIT` | Invokes the USEREXIT program in the Natural system library SYSERR.