BATCHREP Resource Table

A CICSPlex® SM resource that provides information about a batched repository-update job.

The First key field for this resource is INPUTDSN.

The Second key field for this resource is INPUTMEMBER.

The following actions are supported:
CHECK
Check input parameters for a batched repository-update job.
The parameter data for the CHECK action is:
   PARM('INPUTDSN(data set)
        [INPUTMEMBER(membername)] [PRINTCLASS(class)] 
         PRINTNODE(node) OUTPUTUSER(userid).')

     where:

     data set    = (Required) 1-to 44-character name of the 
                  sequential or Partitioned Data Set (PDS) 
                  that contains the input parameters to the 
                  batched repository-update job.
     membername = When using a PDS, the name of the member that
                  contains the input parameters to the 
                  batched repository-update job.
     class      = 1-character print class identifier. If omitted 
                  print class A is used.
     node       = (Required) 1-to 8-character print node identifier
                  to be used by the system spooler for routing
                  the job output.
     userid     = (Required) 1- to 8-character user identifier 
                  for the job output.
EXECUTE
Execute a batched repository-update job.
The parameter data for the EXECUTE action is:
   PARM('INPUTDSN(data set)
        [INPUTMEMBER(membername)] [PRINTCLASS(class)] 
         PRINTNODE(node) OUTPUTUSER(userid).')

     where:

     data set    = (Required) 1-to 44-character name of the 
                  sequential or Partitioned Data Set (PDS) 
                  that contains the input parameters to the 
                  batched repository-update job.
     membername = When using a PDS, the name of the member that
                  contains the input parameters to the 
                  batched repository-update job.
     class      = 1-character print class identifier. If omitted 
                  print class A is used.
     node       = (Required) 1-to 8-character print node identifier
                  to be used by the system spooler for routing
                  the job output.
     userid     = (Required) 1- to 8-character user identifier 
                  for the job output.

External resource name(CMCI)
CICSBatchrepRequest
Object type
CICSPlex SM Resource
Length
80
Usage
API, WUI, CICS Management Client Interface(CMCI)
API view
No
CMAS context
Yes
SCOPE applies
No
Only query CMASs in workload
No
Copybook identifier
EYUt2554
Unsupported CICS Releases
None
Table 1. Valid CPSM operations
Operations Actions Parameters Required
GET   INPUTDSN(value) No
    INPUTMEMBER(value) No
PERFORM SET, PERFORM OBJECT CHECK INPUTDSN(value) Yes
    INPUTMEMBER(value) No
    OUTPUTUSER(value) Yes
    PRINTCLASS(value) No
    PRINTNODE(value) Yes
  EXECUTE INPUTDSN(value) Yes
    INPUTMEMBER(value) No
    OUTPUTUSER(value) Yes
    PRINTCLASS(value) No
    PRINTNODE(value) Yes
Table 2. BATCHREP FEEDBACK error codes
Value Code Description
1 BATCHREP_DUPLICATE_REQUEST Duplicate request for this input data set and member
2 BATCHREP_STORAGE_FAILURE Failure to obtain storage for job
3 BATCHREP_PRINT_FAILURE Failure during print processing
4 BATCHREP_INPUT_SEC_VIOLATION Security violation with input data set
5 BATCHREP_SPOOL_UNAVAILABLE Spool found to be not available
6 BATCHREP_DATASET_NOT_FOUND Input data set not found
7 BATCHREP_OUTPUT_SEC_VIOLATION Security violation with output data set
8 BATCHREP_PRINTNODE_NOT_FOUND Print node is required but not specified
9 BATCHREP_OUTPUTUSER_NOT_FOUND Output user is required but not specified
10 BATCHREP_INV_INPUTMEMBER Invalid input member
11 BATCHREP_INV_INPUTDSN Invalid input data set name
12 BATCHREP_INV_PRINTCLASS Invalid output class
13 BATCHREP_INV_PRINTNODE Invalid print node
14 BATCHREP_INV_OUTPUTUSER Invalid destination user ID
Table 3. BATCHREP resource table attributes
Name Datatype Source Len Sum Description Default Offset
 INPUTDSN-1  CHAR CPSM 44 DIFF Input data set   8
 INPUTMEMBER-2  CHAR CPSM 8 DIFF Input member   52
OUTPUTUSER CHAR CPSM 8 DIFF Destination user ID   69
PRINTCLASS CHAR CPSM 1 DIFF Output class A 60
PRINTNODE CHAR CPSM 8 DIFF Destination node   61
PROCESS EYUDA CPSM 4 LIKE Processing state STOPPED 0
PROCESS Output valid values
  • STARTED
  • STOPPED
RUNTYPE EYUDA CPSM 4 LIKE Batch run type CHECK 4
RUNTYPE Input/output valid values
  • EXECUTE
  • CHECK