HP 3000 Manuals

COMMAND SUMMARY [ HP RPG/XL Utilities-Part 2 RISE ] MPE/iX 5.0 Documentation


HP RPG/XL Utilities-Part 2 RISE

Appendix A  COMMAND SUMMARY 

   1.  A[DD] [lb] [BY inc] [^^[form] [R[EPEAT] [n]]]

       ADD lines starting at "lb" BY inc (rement); "^^" controls the RPG
       Record Spec forms and may be entered while in Add Mode at the
       start of a new line; the "R[EPEAT] n" option homes the cursor and
       clears the screen after "n" number of lines have been added.  The
       LIST, DELETE, and MODIFY commands may be entered while in the Add
       Mode by typing ">>" at the start of a new line followed by the
       command.

       Also, you can ">>" alone and RISE will prompt you for text
       starting at column 6 instead of column 1.  The command
       automatically skips over the RPG line numbers in column 1-5.  You
       type "<<" to get back to column 1.

   2.  B[EGIN] [N[OW]]

       End current editing session to start editing a new file as if you
       had just entered RISE; if editing session was initiated by FILE
       command, close the direct work file to keep the changes; if
       editing session was initiated by TEXT command, display safety
       messages before purging the work file; the N[OW] option disables
       the safety messages and clears the file, initiated by the TEXT
       command, immediately.

   3.  CH[ANGE] "oldstring" TO "newstring" [IN lb[/le] ]

       Changes "oldstring" to "newstring", starting at "lb" and ending at
       "le".

   4.  COM[MENT] [C] [lb] [BY inc]

       Displays a comment banner 10 lines long with the RPG Record Spec
       form of the type corresponding to the line before "lb", where the
       banner will appear; "C" increases the banner size to 15 lines and
       displays a column indicator; "BY inc" establishes the increment
       value for each line within the banner.

   5.  COP[Y] lb[/le] TO loc [BY inc]

       Duplicates lines starting at "lb" TO a specified "loc"ation;
       "lb/le" establishes a range of lines to be copied; "BY inc" sets
       the increment value for each line being copied.

   6.  D[ELETE] lb[/le]

       Delete line or lines starting at "lb"; stop the deletion after
       "le".

   7.  E[XIT] [N[OW]]

       Ends the subsystem; "NOW" parameter establishes that the command
       is to be executed immediately, without RISE prompting you with
       safety messages and without saving the work file with the KEEP
       command.

   8.  FIL[E] filename [N[OW]]

       Allows you to edit a file directly without the delays resulting
       from the TEXT/KEEP commands; the "NOW" parameter used with this
       command disables safety prompts and will open "filename" even if
       you have been editing a work file that was created with the TEXT
       command and you did not keep your changes in a permanent file.
       The "NOW" parameter immediately discards the current work file.

   9.  F[IND] [E[VERY]] "string" [IN lb[/le]]

       Locates "string"; "EVERY" specifies that every occurrence of
       "string" is to be located; if "EVERY" is omitted, only the first
       occurrence is located; you type "F" alone to find the next
       occurrence; "IN lb/le" restricts the search to a range.

  10.  FO[RM] form

       Displays the RPG Record Spec form of type "form".  "form" may be
       H,F,E,L,I,C,O, or COL.

  11.  G[ET] filename

       Reads and executes commands stored in the file "filename".

  12.  H[ELP] [command]

       Gives brief desciptions of all RISE commands; when "command" is
       specified, provides detailed descriptions of single command.

  13.  I[NCR] [value]

       Sets default increment value; "value" sets new default increment
       value which prevails until "I[NCR] " is used again.

  14.  J[OIN] filename [TO loc] [BY inc]

       Appends or merges an entire file named "filename"; "TO loc"
       locates position where "filename" is to be joined; "BY inc"
       establishes increment value.

  15.  K[EEP] [filename] [N[OW]] [U[NN]]

       Copies the work file into a file named "filename"; "NOW" parameter
       instructs RISE to overwrite an existing copy of the file without
       RISE prompting you with safety messages; "UNN" specifies that the
       file is kept without appended sequence numbers.

  16.  LIN[E]

       Enters line mode.

  17.  L[IST] [lb[/le]] [O[FF]]

       Lists lines in file; "le/lb" is the range of lines for listing;
       "OFF" lists the lines offline to a line printer instead of to your
       terminal with the formal file name of "RISELIST" and device class
       of "LP".

  18.  ME[NU]

       Displays main menu.

  19.  M[ODIFY] [lb[/le]] [^^]

       Lists line[s] for modification; "lb/le" establishes range of lines
       for modification; "^^" causes appropriate RPG Record Spec form to
       appear with the line.  (Type <Control Y> to restore record and
       "//" to exit a range of lines.)

  20.  MOV[E] lb[/le] TO loc [BY inc]

       Moves line (or lines) "lb/le" to a specified location--"TO loc";
       "BY inc" parameter establishes increment values.

  21.  P[RINT] lb[/le]] [R[PGLIST]]

       Prints line (or lines) offline in formatted form, skipping 3 lines
       whenever the form type in column 6 changes, with the formal
       filename of "RISELIST" and device class of "LP"; if "RPGLIST" is
       specified, the compilation listing is printed offline, instead of
       the work file, with the formal filename of "RPGLIST".

  22.

             R[ENUM]     [lb/le]    [BY inc]
                         BOTH       [BY inc]
                         SO[URCE]   [BY inc]
                         SO[URCE]   W[ITH] SE[QNUM]
                         SE[QNUM]   W[ITH] SO[URCE]

       Renumbers work file sequence line numbers; "lb/le" establishes
       range for renumbering; "BY inc" establishes increment value;
       "BOTH" renumbers sequence line numbers and RPG source line numbers
       (cols 1- 5); "SOURCE WITH SEQNUM" renumbers source lines to agree
       with the sequence line numbers; "SEQNUM WITH SOURCE" renumbers
       sequence line numbers to agree with source line numbers.

  23.

             RU[N] progfile [,entrypoint]    [;NOPRIV] [;LMAP] [;DEBUG]
                                             [;MAXDATA=segsize] [;PARM=num]
                                             [;STACK=stacksize] [;DL=dlsize]
                                                   P
                                             [;LIB=G] [;NOCB]
                                                   S

       Runs a program file (similar to MPE:RUN command); see RUN command
       for an explanation of parameters.

  24.  S[HOW] [lb] [C[OL]]

       Shows a page for direct screen modification with RPG Record Spec
       form appropriate to records displayed; "COL" parameter displays a
       column indicator rather than the RPG Record Spec form.

  25.  T[EXT] filename [N[OW]]

       Copies the file "filename" into a work file; "NOW" allows you to
       TEXT in a new work file without keeping the changes you have made
       to the work file you are editing and without RISE prompting you
       with a safety message.

  26.  UN[DEL]

       Restores lines deleted by the last "DELETE" command.

  27.

             V[ERIFY]     R[PG]
                          L[IST)
                          P[REP]  [progfile] [;ZERODB] [;PMAP]
                                  [;MAXDATA=segsize] [;STACK=stacksize]
                                  [;DL=dlsize] [;CAP=caplist] [;RL=filename]
                                  [;PATCH=patchsize]

       "RPG" compile the edit file; or "LIST" a previously produced
       compilation listing.  "PREP" prepares a USL file in $OLDPASS to a
       program with the preparation "options" that are described under
       VERIFY.

  28.  X[PAND] numrecs

       Expands the size of the work file by "numrecs" (number of
       records).

  29.  :MPEcommand

       Executes an "MPEcommand" entered following a colon (:)  character.
       The MPE commands which you may enter are listed when you type
       H[ELP]:.



MPE/iX 5.0 Documentation