1-12. EDIT 3000 COMMANDS [ EDIT/3000:Reference Manual ] MPE/iX 5.0 Documentation
EDIT/3000:Reference Manual
1-12. EDIT/3000 COMMANDS
A summary of EDIT/3000 commands is presented in Table 1-1. Included is
the command name, the purpose of the command, and the page number in this
manual where a complete description of the command can be found.
Table 1-1. . EDIT/3000 Commands
--------------------------------------------------------------------------------
| COMMAND NAME | PURPOSE | PAGE NO. |
--------------------------------------------------------------------------------
| ADD | Enters text into the WORK file from the standard | 3-6 |
| | input device and/or from the HOLD file. | |
| BEGIN | Used as the first expression in a BEGIN-END | 4-7 |
| | pair. | |
| CHANGE | Changes existing contents of the WORK file. | 3-10 |
| Copy | Copies text from one location to another in the | 3-14 |
| | WORK file. | |
| DELETE | Deletes characters and/or lines from the WORK | 3-17 |
| | file. | |
| END | Terminates EDIT/3000 operation. Or, when used | 3-20 |
| | with a matching BEGIN command, terminates a | |
| | BEGIN-END pair. | |
| FIND | Finds a specific position or a character string | 3-21 |
| | in the WORK file. | |
| GATHER | Moves portions of text from one location to | 3-23 |
| | another in the WORK file and renumbers the | |
| | lines. (The text is deleted from its original | |
| | location.) Also can be used to renumber all | |
| | lines in the WORK file. | |
| HOLD | Copies part or all of the WORK file into the | 3-27 |
| | HOLD file for subsequent re-copying into one or | |
| | more locations of the WORK file. | |
| INSERT | Inserts text into the WORK file from the INPUT | 3-29 |
| | file or from the HOLD file at a specific | |
| | position. | |
| JOIN | Copies all or part of the JOIN file to the WORK | 3-35 |
| | file. | |
| KEEP | Saves all or part of the WORK file into an | 3-39 |
| | MPE/3000 file. | |
| LIST | Lists all or part of the WORK file to the OUTPUT | 3-47 |
| | file or to any other specified file. | |
| MODIFY | Modifies text in the WORK file using one or more | 3-51 |
| | subcommands (Delete, Insert, and Replace) of | |
| | this command. | |
| NOT | Reverses a flag after executing the command | 4-12 |
| | immediately following the NOT command. | |
| OR | Sets the flag true, or skips the OR command and | 4-16 |
| | the command immediately following it if the flag | |
| | already is true. | |
| PROCEDURE | Calls and executes a procedure previously | 4-24 |
| | written and stored in a segmented library (SL) | |
| | file. | |
| Q | Displays a user-defined message at the terminal. | 3-54 |
| REPLACE | Replaces one or more lines in the WORK file with | 3-55 |
| | new text from the standard input file or from | |
| | the HOLD file. | |
| SET | Alters EDIT/3000 default operating criteria. | 3-59 |
| TEXT | Copies the contents of a TEXT file into the WORK | 3-67 |
| | file, deleting the current WORK file contents. | |
| USE | Instructs EDIT/3000 to receive commands from the | 3-75 |
| | USE file and to send messages to the OUTPUT file | |
| | and, generally, to expect input from the INPUT | |
| | file. | |
| VERIFY | Reports the current EDIT/3000 operating | 3-79 |
| | conditions declared in a SET com- mand (or the | |
| | default conditions not declared in a SET | |
| | command). | |
| WHILE | Causes EDIT/3000 to repeat commands in a | 4-2 |
| | pre-defined command block. | |
| XPLAIN | Lists an explanation of all or part of the | 3-81 |
| | EDIT/3000 commands. | |
| YES | Sets a flag for a WHILE command block true. | 4-20 |
| Z::= | Assigns the value of a character string variable | 3-83 |
| | to Z:: = | |
| or | and uses that value whenever Z:: appears as a | |
| | part or all of a command. | |
| Z:: | | |
| : | Instructs EDIT/3000 to pass the rest of the | 3-86 |
| | record to MPE. | |
--------------------------------------------------------------------------------
MPE/iX 5.0 Documentation