JCLNeat provides a global editing feature for the data portion of keyword parameters and subparameters. The data portion of a keyword is the character-string after the = sign. For example, with a keyword parameter of UNIT=3380, only the data portion (that is, 3380) could be changed using the JCLNeat global editing feature.
Specify changes in the CHANGES DD data set in the following format:
Column Number 1
/from-data1/to-data1/
/from-data2/to-data2/
/from-datan/to-datan/
JCLNeat compares the data portion, (/from-data/) of each keyword and, if a match is found, replaces the data portion, (/to-data/). If you specify it, multiple changes to the same data can occur. For example, with:
//CHANGES DD * /3380/SYSDA/ /SYSDA/DISK/
If the original JCL looks like this:
//DD1 DD DSN=A,UNIT=3380,DISP=SHR
The reformatted JCL looks like this:
//DD1 DD DISP=SHR, // DSN=A, // UNIT=DISK
Note: The from-data and to-data can be of unequal lengths and less than or equal to 34 characters each.
|
Copyright © 2014 CA.
All rights reserved.
|
|