SELECT
The SELECT instruction selects a resource. If the resource is not suffixed with COM, all segments will be selected and printed; otherwise only the common segment will be processed.
Whereas LIST retrieves all resources, SELECT retrieves only the selected resource. You have to identify the key of the selected resource, you cannot use generic keys. The list below, gives the resources retrieved by SELECT action.
The SELECT action also gives to you AD, OI, and RG in batch loader format (options BL=Y and BLPRT=Y). From keys created by a list action (options BL=Y and BLPRT=N), you can define SELECT instructions for AD, OI, and RG and send them like SYSIN to the Batch Command Interface tool.
The resources authorized by the SELECT action are as follows:
- AD, ADCOM
- Application description
- CL, CLCOM
- Calendars
- CPCOND, CPCONDCO
- Current plan condition
- CPOC, CPOCCOM
- Current plan occurrences
- CPOP, CPOPCOM
- Current plan operations
- CPST
- Current plan status
- CPWS, CPWSCOM
- Current plan workstations
- JCLPREP
- Promptable variables setup to current plan
- JCLPREPA
- Automatic variables setup to current plan
- JCLV, JCLVCOM
- JCL variable table
- JS, JSCOM
- JCL segment
- LTOC, LTOCCOM
- Long-term plan (LTP) occurrences
- OI, OICOM
- Operator instructions
- PR, PRCOM
- Periods (period table)
- RG, RGCOM
- Run cycle groups
- WS, WSCOM
- Workstations (workstation table)