Line commands


Following is a list of File-AID for IMS line commands with a brief explanation of each command’s function and the screens where the line command can be used. For a more detailed explanation of a command, refer to the section that covers the functions and screens where the command is used.

D (Delete) Command

Used on the Edit Index screen to delete a segment and its dependents.

I (Insert) Command

Used on the Edit Index screen to insert a new segment occurrence in a database.

K (Key) Command

Used on:

  • Data Base Location screen to invoke the Key Specification screen, which enables you to specify keys and then switch to Formatted mode.
  • Browse/Edit Character screen to invoke the Key Specification screen.

KI (KEY - Index mode) Command

Used on the Data Base Location screen to invoke the Key Specification screen, which enables you to specify keys and then switch to Index mode.

KU (KEY - Unformatted mode) Command

Used on the Data Base Location screen to invoke the Key Specification screen, which enables you to specify keys and then switch to Unformatted mode.

R (Repeat) Command

Used on the Edit Index screen to repeat a segment occurrence, which creates a segment with a new fully concatenated key and copied data.

RA (Repeat All) Command

Used on the Edit Index screen to repeat a parent segment occurrence and all its dependent segments. The new parent segment has a new fully concatenated key and copied data. The new dependent segments have copied keys and data.

S (Select) Command

Used on:

  • Data Base Location screen to select a segment for formatted browsing/editing.
  • Browse/Edit Index screen to select a segment for formatted browsing/editing.
  • Any Member List screen to select a member for processing.

SI (Select - Index mode) Command

Used on the Data Base Location screen to select a segment for Index browsing/editing.

SU (Select - Unformatted mode) Command

Used on:

  • Data Base Location screen to select a segment for Unformatted browsing/editing.
  • Index screen to select a segment for Unformatted browsing/editing.

X (Exclude) Command

X

Exclude one line

Xn

Exclude n lines

XX

Exclude a block of lines

Indicates which lines are to be excluded from the display. Excluded lines are replaced by a single message line that indicates the number of lines and characters excluded from the display. A repetition factor can also be specified to indicate the number of lines to be excluded. You can exclude a block of lines by entering XX on the first and last lines of the block to be excluded.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*