BatchOpts

Use the BATCHOPTS suboption to specify alternatives to the default settings in the Batch Reanalysis Options display. See Batch reanalysis options.

Read syntax diagramSkip visual syntax diagram
Syntax

                .-,--------------------.                  
                V                      |  .-,Cond---.     
>>-BatchOpts-(----+-General (…)------+-+--+---------+-)--------><
                  +-JobCardParms (…)-+    '-,Uncond-'     
                  '-JobCardStmts (…)-'                    

BatchOpts COND and UNCOND suboptions

You can specify the COND and UNCOND suboptions at each level of the BATCHOPTS suboption:

  • At the highest level, on the BATCHOPTS suboption
  • At the intermediate level, on the GENERAL, JOBCARDPARMS, and JOBCARDSTMTS suboptions
  • At the lowest level, on individual settings, for example JCLEDIT or MSGCLASS

COND (conditional) means the selected value is used as the default setting on the display if the user has not already specified a different setting. That is, it applies to a first-time user, or whenever the user clears the setting on the display.

UNCOND (unconditional) means the selected value is used as the current setting on the display at the start of any Z Abend Investigator ISPF interface session, regardless of the previous setting. During the session, the setting can be changed to any other valid value, which remains in effect until the next session.

COND is the default at all levels, unless UNCOND is specified at a higher level. That is, the higher-level specification is by default propagated to each lower level.

In the following example:
FAISPFOPTS(BATCHOPTS(GENERAL(JOBCARDSTYLE(P),JCLEDIT(Y),JOBCARDSTMTS(<stmt1>,<stmt2>),
    JOBCARDPARMS(MSGCLASS(A),COND),UNCOND))
  • JOBCARDPARMS(MSGCLASS(A)) is conditional.
  • GENERAL(JOBCARDSTYLE(P), JCLEDIT(Y), and JOBCARDSTMTS(<stmt1>,<stmt2>) are unconditional.

BatchOpts General suboptions

Read syntax diagramSkip visual syntax diagram
Syntax

              .-,------------------------------------------.                   
              V                    .-P-.  .-,Cond---.      |  .-,Cond---.      
>>-General-(----+-JobCardSTYle--(--+-S-+--+---------+--)-+-+--+---------+--)-><
                |                         '-,Uncond-'    |    '-,Uncond-'      
                |             .-N-.  .-,Cond---.         |                     
                +-JclEdit--(--+-Y-+--+---------+--)------+                     
                |                    '-,Uncond-'         |                     
                |            .-N-.  .-,Cond---.          |                     
                '-Redisp--(--+-Y-+--+---------+--)-------'                     
                                    '-,Uncond-'                                

The GENERAL suboptions apply to the General Options section of the Batch Reanalysis Options display.

JOBCARDSTYLE(P | S [, COND | UNCOND]))
JCSTY(P | S [, C | U])
Specifies the value for the Job card style field in the Batch Reanalysis Options display:
P
Parameters
S
Statements

If not specified, the default is P.

JCLEDIT(Y | N [, COND | UNCOND]))
JE(Y | N [, C | U])
Specifies the value for the Display panel to edit generated JCL field in the Batch Reanalysis Options display:
Y
Yes
N
No

If not specified, the default is N.

REDISP(Y | N [, COND | UNCOND]))
R(Y | N [, C | U])
Specifies the value for the Redisplay this panel before each reanalysis field in the Batch Reanalysis Options display:
Y
Yes
N
No

If not specified, the default is N.

BatchOpts JobCardParms suboptions

Read syntax diagramSkip visual syntax diagram
Syntax

                   .-,-------------------------------------------.                 
                   V              .-A------.  .-,Cond---.        | .-,Cond---.     
>>-JobCardParms-(----+-Suffix--(--+-suffix-+--+---------+--)---+-+-+---------+-)-><
                     |                        '-,Uncond-'      |   '-,Uncond-'     
                     |              .-A------.  .-,Cond---.    |                   
                     +-JobClass--(--+-jclass-+--+---------+--)-+                   
                     |                          '-,Uncond-'    |                   
                     |            .-Y-.  .-,Cond---.           |                   
                     +-Notify--(--+-N-+--+---------+--)--------+                   
                     |                   '-,Uncond-'           |                   
                     |          .-10---.  .-,Cond---.          |                   
                     +-Time--(--+-mins-+--+---------+--)-------+                   
                     |                    '-,Uncond-'          |                   
                     |              .-X------.  .-,Cond---.    |                   
                     +-MsgClass--(--+-mclass-+--+---------+--)-+                   
                     |                          '-,Uncond-'    |                   
                     |            .-0--.  .-,Cond---.          |                   
                     +-Region--(--+-mb-+--+---------+--)-------+                   
                     |                    '-,Uncond-'          |                   
                     |                  .-,Cond---.            |                   
                     '-AcctInfo--(--ai--+---------+--)---------'                   
                                        '-,Uncond-'                                

The JOBCARDPARMS suboptions apply to the Job Card Parameters section of the Batch Reanalysis Options display.

SUFFIX(suffix[, COND | UNCOND]))
S(suffix[, C | U])
Specifies the value of the Job name suffix field in the Batch Reanalysis Options display:
suffix
A-Z, 0-9, @, #, or $

If not specified, the default is A.

JOBCLASS(jclass[, COND | UNCOND]))
JC(jclass[, C | U])
Specifies the value for the Job class field in the Batch Reanalysis Options display:
jclass
A-Z or 0-9

If not specified, the default is A.

NOTIFY(Y | N [, COND | UNCOND]))
N(Y | N [, C | U])
Specifies the value for the Job notify field in the Batch Reanalysis Options display:
Y
Yes
N
No

If not specified, the default is Y.

TIME(mins[, COND | UNCOND]))
T(mins[, C | U])
Specifies the value for the Job time minutes field in the Batch Reanalysis Options display:
mins
0-99

If not specified, the default is 10.

MSGCLASS(mclass[, COND | UNCOND]))
MC(mclass[, C | U])
Specifies the value for the Message class field in the Batch Reanalysis Options display:
mclass
A-Z or 0-9

If not specified, the default is X.

REGION(mb[, COND | UNCOND]))
R(mb[, C | U])
Specifies the value for the Region megabytes field in the Batch Reanalysis Options display:
mb
0-2047

If not specified, the default is 0.

ACCTINFO(ai[, COND | UNCOND]))
AI(ai[, C | U])
Specifies the value for the Accounting info field in the Batch Reanalysis Options display:
ai
Up to 50 characters.

BatchOpts JobCardStmts suboptions

Read syntax diagramSkip visual syntax diagram
Syntax

>>-JobCardStmts------------------------------------------------->

                                           .-,Cond---.      
>--(--stmt1--,--stmt2--,--stmt3--,--stmt4--+---------+--)------><
                                           '-,Uncond-'      

You can specify up to four comma-delimited JCL statements.
  • If a statement is not specified (for example, if you need only 3 statements), you must still specify the delimiting comma of the omitted statement.
  • If a statement contains blanks or commas, enclose it in either single quotes or double quotes. If the statement already contains quotes of the same type, double them.
    For example, to create the JCL statement:
    //MYJOB JOB (123),'X Y Z',
    You can specify any of the following:
    '//MYJOB JOB (123),"X Y Z",'
    "//MYJOB JOB (123),'X Y Z',"
    '//MYJOB JOB (123),''X Y Z'','

    In the last example, two single quotes surround XYZ.