DEFAULT

Function

To set the default values for parameters to be applied to subsequent input commands.

Syntax

Read syntax diagramSkip visual syntax diagramDEFAULT
 
>>-DEFAULT------------------------------------------------------>
 
>--+-------------------------------------------------------------------------------------------+-->
   '-,OPENSTATUS(-+-OPEN---+-)-+-----------------------------+-+-----------------------------+-'
                  '-CLOSED-'   '-,PROCESSTRANSIDS(-+-YES-+-)-' '-,PROCESSPROGRAMS(-+-YES-+-)-'
                                                   '-NO--'                         '-NO--'
 
>--+-----------------------------------------------------------------------------------------------+-->
   '-,ENABLESTATUS(-+-ENABLED--+-)-+-----------------------------+-+-----------------------------+-'
                    '-DISABLED-'   '-,PROCESSTRANSIDS(-+-YES-+-)-' '-,PROCESSPROGRAMS(-+-YES-+-)-'
                                                       '-NO--'                         '-NO--'
 
>--+---------------------------+--+---------------+------------->
   '---,DSN(-+-PRIMARY---+-)---'  '-,CICS(applid)-'
             '-ALTERNATE-'
 
>--+-------------------------+---------------------------------->
   '-,DISPOSITION(-+-SHR-+-)-'
                   '-OLD-'
 
>--+----------------------------------------------+------------->
   +-+------------------+--+--------------------+-+
   | '-,READ(-+-YES-+-)-'  '-,BROWSE(-+-YES-+-)-' |
   |          '-NO--'                 '-NO--'     |
   '-,ALLREAD(-+-YES-+-)--------------------------'
               '-NO--'
 
>--+---------------------------------------------------------------------+-->
   +-+--------------------+--+-----------------+--+--------------------+-+
   | '-,UPDATE(-+-YES-+-)-'  '-,ADD(-+-YES-+-)-'  '-,DELETE(-+-YES-+-)-' |
   |            '-NO--'              '-NO--'                 '-NO--'     |
   '--,ALLUPDATE(-+-YES-+-)----------------------------------------------'
                  '-NO--'
 
>--+----------------------------+------------------------------><
   '-NOTACTIVE(-+-CONTINUE--+-)-'
                '-TERMINATE-'
 

Description

You can use the DEFAULT command to specify default values to be applied to subsequent input commands. If you specify a parameter on a DEFAULT command that is not applicable to a subsequent input command, the parameter value is ignored for that command. If you later specify a DEFAULT parameter explicitly on a different command, or on another DEFAULT command, the equivalent parameter value specified on the earlier DEFAULT command is ignored.

You can specify multiple DEFAULT commands in the same input file. Each DEFAULT command completely overrides the values specified on any previous DEFAULT command. Specifying the DEFAULT command without any parameters causes subsequent input commands to be processed without any default parameter values. Similarly, omitting just one parameter from a DEFAULT command causes that parameter default only to be removed.

Parameters

CICS(applid)
Specifies the default applid to which the CICS BAC batch request utility is to direct commands if the command does not itself specify an explicit applid.
DISPOSITION({SHR | OLD})
Sets the default value for this parameter for the SET FILE command. For details, see the DISPOSITION parameter on the SET FILE command.
DSN({PRIMARY | ALTERNATE})
Sets the default value for this parameter for the SET FILE, SET GROUP, and SET LIST commands. For details, see the DSN parameter on the SET FILE command.
ENABLESTATUS({ENABLED | DISABLED})
Sets the default value for this parameter for the SET FILE, SET GROUP, SET LIST, SET PROGRAM, and SET TDQUEUE commands. For details, see the ENABLESTATUS parameter on the SET FILE command, or any of the others.
OPENSTATUS({OPEN | CLOSED})
Sets the default value for this parameter for the SET FILE, SET GROUP, SET LIST, and SET TDQUEUE input commands. For details, see the OPENSTATUS parameter on the SET FILE command, or any of the others.
PROCESSPROGRAMS({YES | NO})
Sets the default value for this parameter for the SET FILE and SET TDQUEUE commands. For details, see the PROCESSPROGRAMS parameter on the SET FILE command, or the SET TDQUEUE command.
PROCESSTRANSIDS({YES | NO})
Sets the default value for this parameter for the SET FILE and SET TDQUEUE input commands. For details, see the PROCESSTRANSIDS parameter on the SET FILE command, or the SET TDQUEUE command.
NOTACTIVE({CONTINUE | TERMINATE})
Specifies the default action you want the CICS BAC batch request utility to take for the LINK, RUNCEMT, and START commands if the target CICS® region is not available, or if the CICS BAC startup procedure has not been run in the region. For details, see the LINK command.
The following options all relate to the file operations as defined by the CICS file resource definition and are applicable to the CICS BAC SET FILE command only. For details of all these options, see the PROCESSTRANSIDS parameter on the SET FILE command.
ALLREAD({YES | NO})
Sets the default value for this parameter for the SET FILE command.

You cannot specify ALLREAD with either READ or BROWSE.

ALLUPDATE({YES | NO})
Sets the default value for this parameter for the SET FILE command.

You cannot specify ALLUPDATE with any of the ADD, UPDATE, or DELETE options.

ADD({YES | NO})
Sets the default value for this parameter for the SET FILE command.
BROWSE({YES | NO})
Sets the default value for this parameter for the SET FILE command.
DELETE({YES | NO})
Sets the default value for this parameter for the SET FILE command.
READ({YES | NO})
Sets the default value for this parameter for the SET FILE command.
UPDATE({YES | NO})
Sets the default value for this parameter for the SET FILE command.