I always parse right out of the parameter area passed to me by the
caller. At worst I store the value in R1 so I can get back to it.  And
if I was going to store the data, I would GETMAIN the area based on the
halfword length parameter and then move it.

Chris 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Gilmartin
Sent: Friday, January 04, 2008 3:19 PM
To: [email protected]
Subject: Re: JCL parms

On Fri, 4 Jan 2008 11:15:57 -0800, Ulrich Krueger wrote:

>You know, guys, as much as I'd like to see the JCL PARM expanded in
length,
>I'd hate to see the problems that will arise from it. Face it, how many
of
>your programs that process PARM values have a hard-coded 100-byte
storage
>area to receive the PARM string into? Just about all of them, I bet.
>
Have you any real data to support your "just about all"?  I
have never encountered a problem invoking programs (including
IBM products) from Rexx ATTCHMVS (assembler CALL would be the
same) with PARM>100 chars.  Any program which would fail
as you suggest with a long EXEC PARM= would likewise fail
when invoked by CALL or ATTCHMVS; it's intrinsically broken.

-- gil

----------------------------------------------------------------------
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