BATCHREP Resource Table

A CPSM Manager resource that provides information about a batched repository-update job.

The Primary key field for this resource class is INPUTDSN.

The Secondary key field for this resource class 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(dataset)
        [INPUTMEMBER(membername)] [PRINTCLASS(class)] 
         PRINTNODE(node) OUTPUTUSER(userid).')

     where:

     dataset    = (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(dataset)
        [INPUTMEMBER(membername)] [PRINTCLASS(class)] 
         PRINTNODE(node) OUTPUTUSER(userid).')

     where:

     dataset    = (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
CICSBatchrepRequest
Length
80
Usage
API or WUI or CICS Management Client Interface
API view
No
CMAS context
Yes
SCOPE applies
No
Only query CMASs in workload
No
Object type
CICSPlex SM Manager
Copybook identifier
EYUt2554
Table 1. Valid CPSM operations
Operations Actions Parameters Required
GET   INPUTDSN(value) No
    INPUTMEMBER(value) No
PERFORM SET 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 Set Description Default Attr ID
 INPUTDSN-1  CHAR CPSM 44 DIFF Yes Input data set   7
 INPUTMEMBER-2  CHAR CPSM 8 DIFF Yes Input member   8
OUTPUTUSER CHAR CPSM 8 DIFF Yes Destination user ID   11
PRINTCLASS CHAR CPSM 1 DIFF Yes Output class A 9
PRINTNODE CHAR CPSM 8 DIFF Yes Destination node   10
PROCESS EYUDA CPSM 4 LIKE Yes Processing state STOPPED 12
PROCESS Output valid values STARTED, STOPPED
RUNTYPE EYUDA CPSM 4 LIKE Yes Batch run type CHECK 6
RUNTYPE Input/output valid values EXECUTE, CHECK


BATCHREPtab.html | Timestamp icon Last updated: Thursday, 27 June 2019