Batch loader ACTION
The ACTION keyword is available
on every batch loader statement and determines for what action the
statement is to be used.
The default (and most used action) is ADD,
meaning that the statement is used to define a segment.
The following values are valid for
ACTION within
batch loader statements:ADD- The statement is defining an object or part of an object to be stored in the database.
DELETE- The segment is removed from the object.
DELETEis not valid for primary batch loader statements (for example, ADSTART, CLSTART), objects themselves must be deleted by theDELETEcommand, notACTION(DELETE)within batch loader statements.DELETEis valid only in conjunction withOPTIONS DBMODE(COPY)orOPTIONSDBMODE(UPDATE). EXPORT- The Batch Loader input is translated into ISPF loader output without being sent to the database. This is to allow Batch Loader to be sent into ISPF format, using ILSON, for manipulation before being sent into the database.
SUBMIT- When an Application is created using
ACTION(SUBMIT), instead of being stored in the Database it is inserted into the Current Plan without updating the database (only valid forADSTART). Any occurrence created using this option will be Valid for all dates. SETDEFAULT- If you specify
SETDEFAULT, the remaining keyword values of the statement become default values for all the statements of the same type that follow. No database element is updated. Keywords that you do not specify are assigned their standard defaults. For more information about howSETDEFAULTworks within Workload Automation Programming Language, see SETDEFAULT behaviour in Workload Automation Programming Language.
SETDEFAULT cannot be used for the following
keywords:- On
ADDEPkeywordsPREWSID,PREOPNO,PREJOBNandPREADIDcan not be used withSETDEFAULT. - On
ADOPkeywordsWSID,JOBN,PREWSID,PREOPNOandPREJOBNcan not be used withSETDEFAULT. UsingOPNOwithSETDEFAULTdoes not set the default operation number, instead it sets the interval to add to previous operation numbers when automatic operation numbering is used. - On
ADOPEXTNkeywordEXTNAMEcan not be used withSETDEFAULT. - On
ADRULEno keywords can be used withSETDEFAULT. - On
ADRUNkeywordsNAMEandPERIODcan not be used withSETDEFAULT. - On
ADSRkeywordRESOURCEcan not be used withSETDEFAULT. - On
OISTARTkeywordsADID,JOBN,OPNOandMEMBERcan not be used withSETDEFAULT.