The INFORMAT keyword is used to guarantee that JCL formatting is maintained when changing JCL. CA File Master Plus defines a JCL statement to be a single record with a '//' in positions 1 and 2. Each JCL statement is evaluated and operated on individually. If a change increases the length of the JCL statement past position 71, it will be broken and continued on the next line. Other records will be operated on according to standard keyword behavior without INFORMAT( JCL) rules. JCL comment cards, statements that begin with "//*" in the positions 1 through 3, are not processed by the INFORMAT parameter.
Using the IF keyword with INFORMAT enables CA File Master Plus to evaluate and operate on a complete JCL statement instead of a single JCL statement. CA File Master Plus defines a complete JCL statement to be a group of successive JCL statements that continue until one is encountered that does not end in a comma. With IF you are able to query for a value on one JCL statement and make a change on any other JCL statement within the same complete JCL statement.
We do not recommend using SELRECIF with INFORMAT(JCL) as this processes only the individual JCL statements that meet its selection criteria, and no others.
Note: INFORMAT(JCL) is not supported with the UPDATE command. When updating a JCL member or members, use the COPY command and specify the same data set name on the input and output PDS.
For example:
COPY INFILE(MBRIN),
OUTFILE(MBROUT),
INFORMAT(JCL),
CHANGE(1,0,EQ,C'DSN=XXXXXXXX',C'DSN=YYYYYYYY')
|
Copyright © 2013 CA.
All rights reserved.
|
|