S Search (Multiple Search Arguments))

S [-] [n] , ( ) [, A] Multiple Search - Format 2

Entering () will produce a special Search mask. 18 lines of the screen are then available to the user to enter extensive search arguments. The suffix A has the same effect as in Format 1 of the Search command.

The lines 4 to 21 of the search-mask are used to enter the search arguments. These should be entered without any blanks being inserted.

Pressing the DUE1 (ENTER) key starts the search process. Pressing the K1 key will terminate the definition of the search arguments. Pressing the F3 key will procuce a hardcopy of the defined search mask to a file created by CFS.

BS2000 commands, as well as the SP command can be entered in the command field.

SP %name [, jrsave]   Save Parameters. The search criteria defined in the search mask can be saved with this command. They will be saved to the file CFS. JRSAVE [.jobname], or to a file assigned as /FILE file,LINK=JRSAVE if the SP command is specified without the jrsave option. The exact rules by which the names of the JRSAVE files are created are described in Chapter 27, "Files created by CFS", under CFS.JRSAVE.

%name 1 to 44 position alphanumeric key for the parameter set being saved.

jrsave Name of the JRSAVE file. This name should only be specified if the parameters are stored in a file with a name other than the standard CFS JRSAVE file (see above).

An example for filling in the Search mask, and using the SP %name command can be found in the next section, "Search and Replace".

The user has access to a search argument saved with SP via the SP %name (see below), or the S?,%name command (page 8-).