[ Bottom of Page | Previous Page | Next Page | Contents | Index ]
Use the (optional) END command to terminate BASE, INDEX, and LISTDEFAULTS command sets. The END command by itself does not provide any functional processing related to building alternate indexes or listing defaults.
Advanced VSAM Manager allows you to enter multiple BASE commands in one job step. In addition, you can run the LISTDEFAULTS command and the BASE command in the same job step. In this case, the END command acts as a terminator for the command sets.
The following syntax diagram shows the END command.
>>-END---------------------------------------------------------><
The END command has no keywords.
The example illustrates the use of the END command to terminate a LISTDEFAULTS command before initiating a build sequence with BASE. In this example, the first END command is required, while the second could be omitted. However, if more BASE commands were to be added below the first BASE/INDEX sequence, then the second END command would also be necessary.
//jobname JOB ...
//stepname EXEC PGM=HVMNDEX,REGION=nM
//STEPLIB DD DISP=SHR,DSN=HVM.HVMvvrr.SHVMLOAD
//HVMPARM DD DISP=SHR,DSN=HVM.HVMvvrr.SHVMSAMP(HVMPARM1)
//SYSIN DD *
LISTDEFAULTS
END
BASE DSN=base.cluster.name
INDEX DSN=aix.cluster.name
END