HPlogo Commands Reference HP 3000 Series 9X8LX Computer Systems > Chapter 2 MPE/iX Commands

EDITOR

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The EDITOR command starts the EDIT/3000 subsystem, which enables you to create and alter ASCII text files.

Syntax



   EDITOR

Parameters

None.

Operation Notes

  • Usage

    You can enter this command from a session or a job. You cannot enter it from a program unless you or the program have process handling (PH) capability. You also cannot enter this command from break mode.

    Pressing Break suspends execution of this command; entering the RESUME command continues execution.

Examples

Table 2-1 “ Primary EDIT/3000 Commands” lists the primary EDIT/3000 commands, explains their purpose, and provides an example of each command.

Table 2-1  Primary EDIT/3000 Commands

CommandPurposeExample
ADDTo enter lines of text into the work file or from the hold fileADD 60,HOLD
CHANGETo replace old text with new textCHANGE "RECORD" TO "LINE" IN 40/70
COPYTo duplicate portions of text from one location to another in the work fileCOPY 11/20 TO 80 BY .1
DELETETo delete characters and lines from the work fileDELETE 50/75,150(3)/155(7)
ENDTo terminate execution of EDIT/3000END
FINDTo locate a point in the work fileFIND *; FIND "PROGRAM"
HOLDTo copy text from the work file into the hold file (either replacing or appending)HOLD 100/150,APPEND; HOLD 1/10
INSERTTo insert text into the work file from the terminal and the hold fileINSERT 25(4)
JOINTo add all or part of a file to the work fileJOIN FILE02 TO 1000 by .1
KEEPTo save all or part of the work file in a user fileKEEP FILE02
LISTTo display any part or all of the work fileLIST 10/30
MODIFYTo modify text in the work file using three operations of delete (D), insert (I), and replace (R)MODIFY 50/100
REPLACETo replace lines in the work fileREPLACE 10/20,HOLD,NOW
TEXTTo copy the contents of a user file into the work file to be edited TEXT FILE02
XPLAINTo get help on one or more commands. (XPLAIN ALL provides help on all commands.)XPLAIN TEXT

 

Related Commands



   FCOPY

   PRINT
Feedback to webmaster