Resource code

About this task

If you want to retrieve one of the records from a previously built list, you must use the same resource code that you used when you built the list with the LIST request. The arguments NEXT, PREV, FIRST, and LAST direct the selection to a list. The resource code shows which list previously built contains the required record. There can be a maximum of one active list for each resource code.

If you want to retrieve a record directly from HCL Workload Automation for Z, the resource code indicates the record type. You can specify these values:
AD
Application description record
ADCOM
Application description, common segment only
AWSCL
All workstations closed record
CL
Calendar record
CLCOM
Calendar record, common segment
CPCOND
Current plan condition segment
CPCONDCO
Current plan condition common segment
CPOC, CPOCCOM
Current plan occurrence record
CPOP
Current plan operation record
CPOPCOM
Current plan operation record, common segment
CPOPSRU
Current plan operation segment with information about the operation in relation to a special resource
CPST
Current plan status record
CPUSRF
Current plan user field record
CPWS
Current plan workstation record
CPWSV
Current plan virtual workstation destination record
CPWSCOM
Current plan workstation record, common segment
CPWSCOM
Current plan virtual workstation destination record, common segment
CSR
Current plan special resource
CSRCOM
Current plan special resource, common segment
ETT
Event triggered tracking criteria record
JCLPREP
Retrieve promptable setup variables for the current operation
JCLPREPA
Resolve all nonpromptable setup variables for the current operation
JCLV
JCL variable table record
JCLVCOM
JCL variable table record, common segment
JLCOM
JS file job log common segment
JS
Job control language record
JSCOM
Job control language record, common segment
LTOC
LTP occurrence record
LTOCCOM
LTP occurrence record, common segment
OI
Operator instruction record
OICOM
Operator instruction record, common segment
PR
Period record
PRCOM
Period record, common segment
RG
Run cycle group record
RGCOM
Run cycle group common segment
SR
Special resource record
WS
Workstation description record
WSCOM
Workstation description record, common segment
WSV
Virtual workstation destination record
WSVCOM
Virtual workstation destination record, common segment
Note:
  1. The SELECT JS and SELECT JSCOM requests try to retrieve JCL from the JCL repository. If no JCL is found, it is retrieved from the JCL library or through the job-library-read exit, EQQUX002. The full key is required, that is, the application ID, the input arrival time, and the operation number. You might need to precede the SELECT JS request by a LIST CPOPCOM request to get the key values.
  2. LIST JSCOM requests try to retrieve JCL only from the JCL repository.
  3. SELECT CPOPSRU can be issued for list elements only, from a list created by LIST CPOPSRU.