-----Original Message-----
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Binyamin Dissen
Sent: Wednesday, September 23, 2009 10:07 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Long parms ... again (was: Reading DD card information)

<SNIP>

You are missing the point.

The APF program was written to the spec that the parameter will never be
more
than 100 characters, and it was enforced by JCL.

<SNIP>

What about the principle that you do not use KEY0 or SUPSTATE when it is
not needed?

The PARM info that is passed is not in FETCH protected storage.
Therefore, you should not have to be in KEY0 to use that storage.

Granted, if you have set things via the PPT, you probably set up this
particular APF program wrong all the way around. So is the program
written incorrectly -- should it start out in KEYUSER (8) and then as
needed switch to KEY0? 

Should it start in SUPSTATE and do SPKA to KEY0 when needed, otherwise
be in some other key?

So, when doing a storage move, it is upon the program to ensure that it
does not overflow the receiving area (especially true for APF programs).

Regards,
Steve Thompson

-- Opinions expressed by this poster may not reflect poster's employer's
opinions --

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

Reply via email to