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.
DELETE
is not valid for primary batch loader statements (for example, ADSTART, CLSTART), objects themselves must be deleted by theDELETE
command, notACTION(DELETE)
within batch loader statements.DELETE
is valid only in conjunction withOPTIONS DBMODE(COPY)
orOPTIONS
DBMODE(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 howSETDEFAULT
works within Workload Automation Programming Language, see SETDEFAULT behaviour in Workload Automation Programming Language.
SETDEFAULT
cannot be used for the following
keywords:- On
ADDEP
keywordsPREWSID
,PREOPNO
,PREJOBN
andPREADID
can not be used withSETDEFAULT
. - On
ADOP
keywordsWSID
,JOBN
,PREWSID
,PREOPNO
andPREJOBN
can not be used withSETDEFAULT
. UsingOPNO
withSETDEFAULT
does not set the default operation number, instead it sets the interval to add to previous operation numbers when automatic operation numbering is used. - On
ADOPEXTN
keywordEXTNAME
can not be used withSETDEFAULT
. - On
ADRULE
no keywords can be used withSETDEFAULT
. - On
ADRUN
keywordsNAME
andPERIOD
can not be used withSETDEFAULT
. - On
ADSR
keywordRESOURCE
can not be used withSETDEFAULT
. - On
OISTART
keywordsADID
,JOBN
,OPNO
andMEMBER
can not be used withSETDEFAULT
.