Previous Topic: Including/Excluding MembersNext Topic: Specifying Options


Required Execution JCL for JCLNeat

The following JCL is required to invoke JCLNeat. For more information, see JCLNeat Options.

//STEPNAME EXEC CAZ1NEAT,
//         OPT='option1=data1,option2=data2,optionn=datan'
//inlib    DD   DSN=old.dataset.name,DISP=SHR
//outlib   DD   DSN=new.dataset.name,DISP=OLD
//ADDCARDS DD   *
./ ADD NAME=
./ INCR SEQ1=100,INCR=100
/*
//CHANGES  DD   *
(from-data1-to-data1)
(from-data2-to-data2)
(from-datan-to-datan)
/*
//KEYWORDS DD   *
EXEC keyword1
EXEC keyword2
EXEC keywordn
DD keyword1
DD keyword2
DD keywordn
DCB keyword1
DCB keyword2
DCB keywordN
PRINTDEV keyword1
PRINTDEV keyword2
PRINTDEV keywordn
OUTPUT keyword1
OUTPUT keyword2
OUTPUT keywordn
PROC symbolic1
PROC symbolic2
PROC symbolicn
/*
//MEMBERS  DD   *
Membername1
Membername2
Membernamen
//GSRCNTL DD *
|verb|string|
/*

Use the following statement to invoke JCLNeat procedure:

EXEC

Required execution statement.

For a complete description of all the options available, see JCLNeat Options.

The following are JCLNeat DD statements:

SYSPRINT

Receives the reports generated by JCLNeat based on your REPORT=option request.

This statement has a logical record length of 133 and is blocked 10 (1330 characters) by JCLNeat.

SYSPRINT is a required statement.

SYSUT1

Work file containing this report until a logical break is encountered in the original JCL.

The file allocation must be large enough to contain the reformatted JCL for the largest job or member in the input stream.

SYSUT1 is optional, unless the Reformatted JCL Report is requested in the REPORT=option.

SYSUT2

Work file containing this report until a logical break is encountered in the original JCL.

The file allocation must be large enough to contain the maximum number of from/to statements changed in a single job or member in the input stream.

SYSUT2 is optional, unless the Changes Report is requested in the REPORT=option.

INLIB

Points to the JCL stream JCLNeat is to reformat.

Depending on the specified INLIB= option, you must name this DD statement LIBIN, PANIN, PDSIN, or SEQIN.

INLIB is required.

OUTLIB

Specifies where JCLNeat should output its reformatted JCL.

Depending on the specified OUTLIB= option, you must name this DD statement PDSOUT or SEQOUT.

Note: When using INLIB=PDS and OUTLIB=PDS, the PDSIN and PDSOUT DD statements must not reference the same PDS or JCLNeat discontinues processing with a CAY6504S message.

SYSUDUMP

Use only if JCLNeat abnormally terminates with a system error message.

SYSUDUMP is optional.

ADDCARDS

Contains from one to five statements that CA JCLCheck places in front of each job or other logical break encountered in the input stream.

Use only if the OUTLIB=SEQ option has been specified and you want to include library control statements in the output stream.

CHANGES

Specifies the from-character-string and to-character-string JCLNeat uses in editing the data portion of keyword parameters.

CHANGES is optional, unless you desire global editing.

KEYWORDS

Contains entries for:

KEYWORDS is optional.

MEMBERS

Specifies the member names JCLNEAT includes or excludes when processing PDS input.

Members is optional, unless you specify the MEMBERS= option.

GSRCNTL

Specifies the action verbs and literals to use for manipulation of the JCL.

GSRCNTL is optional.