Hold Command [HO]

Lets you explicitly write lines to the Hold file.

HOLD [ filename ] [ rangelist ]

(Default: hold current line)

(Q=hold without display)

(J=append, without erasing)

You can refer to the current contents of the Hold file by the actual file name, “hold”, in any of the commands that access external files (Add-File, List, Use).

Examples

  /hold 50/60        {erase Hold, hold lines}  /holdj 100/198     {append more lines to Hold}  /ho "direct"       {hold lines with string}  /open abc.src  /add 33=hold       {adds held lines to abc.src}  /holdq qedhint.help.robelle  /list hold  

Implicit Hold

When using the Add command to move or copy lines within a file, Qedit overwrites a file named Hold0 with a copy of the lines. It counts the lines and tries to select a line number increment that will accommodate the number of lines being added to your workfile. So, if the command fails or if you wish to copy the same lines again, you can refer to the Hold0 file. Adding from an external file also holds the lines if you specify a rangelist for the file, and if the file is not the Hold file itself.

  /add 55=hold0  /list hold0         {the Hold file is temporary}  

Notes

You can save the current Hold file using the MPE Save command:

  /save hold  /rename hold,newname  

On MPE/iX, the Hold files are created with variable-length records and a limit of 250,000 lines. On MPE V, the Hold files are created with variable-length records and space for 3 megabytes of data.

Every time you use “hold” or “hold0″ by themselves as a file name in any command, Qedit replaces the word with the fully-qualified file name of the appropriate Hold file.

  /Add 1=hold  

translates to

  /Add 1=hold.mygroup.myacct  

Hold Command [HO]