BATCHREP Resource Table

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

The key for this resource class is a composite element.

The following actions are supported:

CHECK
Check input parameters for a batched repository-update job.

The parameter data for the CHECK action is:

Start of change   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.
End of change
EXECUTE
Execute a batched repository-update job.

The parameter data for the EXECUTE action is:

Start of change   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.
End of change
Length
80
Usage
API
API view
No
CMAS context
Yes
Object type
CPSM Manager
Copybook identifier
EYUt2554 or BATCHREP
Valid API operations
GET and PERFORM

API Actions

CHECK
Check

PARM(' INPUTDSN(value) [INPUTMEMBER(value)] [PRINTCLASS(value)] PRINTNODE(value) OUTPUTUSER(value) .')

EXECUTE
Execute

PARM(' INPUTDSN(value) [INPUTMEMBER(value)] [PRINTCLASS(value)] PRINTNODE(value) OUTPUTUSER(value) .')

Table 13. BATCHREP FEEDBACK error codes
Code Description Code Description
DATASET_NOT_FOUND Input data set not found Start of changeINV_OUTPUTUSEREnd of change Invalid destination userid
DUPLICATE_REQUEST Duplicate request for this input data set and member OUTPUTUSER_NOT_ FOUND Output user is required but not specified
INPUT_SEC_VIOLATION Security violation with input data set OUTPUT_SEC_VIOLATION Security violation with output data set
Start of changeINV_INPUTMEMBEREnd of change Invalid input member PRINTNODE_NOT_FOUND Print node is required but not specified
Start of changeINV_INPUTDSNEnd of change Invalid input data set name PRINT_FAILURE Failure during print processing
Start of changeINV_PRINTCLASSEnd of change Invalid output class SPOOL_UNAVAILABLE Spool found to be not available
Start of changeINV_PRINTNODEEnd of change Invalid print node STORAGE_FAILURE Failure to obtain storage for job
Table 14. BATCHREP resource table attributes
Name Datatype Source Len Sum Description Attr ID
PROCESS EYUDA CPSM 4 LIKE Processing state 12
PROCESS Output Valid Values STARTED STOPPED
RUNTYPE EYUDA CPSM 4 LIKE Batch run type 6
RUNTYPE Input/Output Valid Values EXECUTE CHECK
 INPUTDSN-1  CHAR CPSM 44 DIF Input data set name 7
 INPUTMEMBER-2  CHAR CPSM 8 DIF Input member name 8
PRINTCLASS CHAR CPSM 1 DIF Output class 9
PRINTNODE CHAR CPSM 8 DIF Destination node 10
OUTPUTUSER CHAR CPSM 8 DIF Destination userid 11
[[ Contents Previous Page | Next Page Index ]]