> [1] In which manual is this documented these days?

It's in the Assembler Service Guide, which is where I would expect to find
it (i.e., the first place I looked) Chapter 2, which is the first "real"
chapter.

Interestingly, they do not mention the 100-character limit, even though this
section deals specifically with jobstep programs (not linkage in general --
note the references to PARM specifically). Perhaps there IS hope after all:

"When your program receives control from the system, register 1 contains the
address of a fullword on a fullword boundary in your program's address space
(see Figure 2-4). The high-order bit (bit 0) of this word is set to 1. The
system uses this convention to indicate the last word in a variable-length
parameter list. Bits 1-31 of the fullword contain the address of a two-byte
length field on a halfword boundary. The length field contains a binary
count of the number of bytes in the PARM field, which immediately follows
the length field. If the PARM field was omitted in the EXEC statement, the
count is set to zero. To prevent possible errors, always use the count as a
length attribute in acquiring the information in the PARM field."

BTW, the use of "field" in the above is incorrect and should probably read
"parameter" (although "PARM parameter" does sound funny and that may be why
the writer avoided it). The JCL reference uses "field" to mean the major
"areas" of JCL statements: the parameter field, the comments field, etc.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Chris Mason
Sent: Tuesday, December 12, 2006 10:32 PM
To: [email protected]
Subject: Re: COBOL compiler options JCL PARM.

Charles

<snip>

Which is a slightly complicated way of saying that, by the time the
program - any program - takes a look at the characters supplied by the EXEC
statement PARM operand addressed indirectly by register 1[1], there will
never be more that 100 of them. This is Paul's "JCL limit".

[1] In which manual is this documented these days?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to