![]() |
- Job variable replacement in commands
If the syntax &(jv-name) is used in a command, CFS will substitute the present content of the job variable.
Examples:
/CAT *,RDPASS=&(CFS.PASSW),STATE=U
OC1/LOGON TSOS,ADMINSTR,&(PSW)
With regard to many BS2000 commands, the character * in the command field is not used as an abbreviation for a name, e.g. /DO CFS.DO.TRANS-FILE,(*CFS*). In this procedure call, '*CFS*' is a parameter for the DO procedure. A name linked with * is not intended here. To suppress this replacement with a name from the file list, the command CL* (Clear * Action Code) can be used. CL* causes the mapping * <--> Name to be dropped. * can therafter be used as a normal character, without it causing a name replacement.
The * character will never substitute a marked name when issuing the NP* and AL* commands:
NP* Reselect the file list using the previous selection criteria.
AL* Extend the current file list by displaying the selection mask prefilled with the previous selection criteria.
Entering only an * in Column 1 of the command field will terminate CFS.
Examples:
NPLMS *
The table of contents of the LMS library flagged with '*' will be displayed. The same function can be achieved by entering the Action Code NP.
/CAT *,WRPASS=NONE
The above CATALOG command is entered for the file flagged with '*'. Because no STATE parameter was given, CFS will append the parameter STATE=U to the command.
E *,TIME=100
Start an Enter job under control of the Job Report System.
If the elements of a library, e
CC1/DO CFS
If a library element S/ABC/001 is flagged with '*', then the name ABC will be substituted for *E above: CC1/DO CFS
EDT,*1
Read in the file flagged with the Action Code *1.