Previous Topic: Modifying the JCLNeat Keyword OrderingNext Topic: Examples of Coding Keyword Order CSECTs


Coding Keyword Order CSECTs

Code the format of each keyword order CSECT as follows:

1

10

16

#1.name

CSECT

 

#2.

DC

AL2((end-name-3)/9)

#3.

DC

AL1(0),CL8' '

#4.

DC

AL1(n),CL8'keyword1'

#5.

DC

AL1(n),CL8'keyword2'

#6.

DC

AL1(n),CL8'keywordn'

#7.

DC

AL1(255)

#8.end

EQU

*

#9.

END

 

#1

Specifies the CSECT name, which is one of the following: CAZ1NCJB, CAZ1NCEX, CAZ1NCPR, CAZ1NCDD, CAZ1NCPD, CAZ1NCCN, CAZ1NCOU, or CAZ1NCDC.

#2

Provides a count of the number of entries in the keyword table.

Code the entries exactly as indicated using the appropriate CSECT name and end tags.

#3

Provides positional parameters for JCLNeat use.

Code the parameters exactly as specified. Its exact location varies depending on the statement.

#4-#6:

Specifies the keywords in their preferred sequence.

CA JCLCheck specifies each keyword with a one-byte address-constant indicating the number of significant characters in the keyword and an eight-byte constant containing the keyword and fill blanks.

#7:

Provides an end of table indicator for JCLNeat.

Code the end of table indicator exactly as specified.

#8:

Indicates the end of the CSECT. You must specify this number with the same value as #2.

CA JCLCheck uses this number to calculate the correct offsets for #2.

#9:

Specifies the end of the CSECT to the Assembler.

Code the end of the CSECT exactly as specified.