> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[email protected]] On Behalf Of John P. Baker
> Sent: Thursday, October 29, 2009 4:29 PM
> To: [email protected]
> Subject: An Alternative Modest PARM Proposal
> 
> All,
> 
> The proposal previously set forth is interesting, but I would 
> like to put
> forward an alternative proposal.
> 
> For a short PARM= value (compatibility mode), R1 -> fullword 
> address of
> PARM= info, consisting of a 2-byte length prefix (value 
> 0..100) followed by
> a string buffer not exceeding 100 bytes.
> 
> For a long PARM= value, R1 -> fullword address of PARM= info, 
> consisting of
> a 4-byte length prefix (negated (high-order bit = B'1'), value
> 101..installation-defined-maximum), followed by a fullword 
> address of a
> string buffer not exceeding installation-defined-maximum 
> bytes, followed by
> a fullword ALET identifying the dataspace wherein the string buffer is
> located.
> 
> FWIW, z/VSE currently allows a maximum PARM= length of 300 
> bytes, coded in
> up to three (3) PARM=value specifications on an EXEC 
> statement, with the
> values being concatenated by the JCL processor.
> 
> John P. Baker

Same problem with this as with all others. You have changed the interface 
expected by OLD code. Suppose your old code is coded for the current standard. 
If someone used a long PARM, then your old code will fail. Any changes to this 
must keep the current interface as it currently is. I still like using POSIX 
environment variables and being able to set them at the "job level" via JCL. 
Then just use the getenv() type call to get the value for any particular 
variable you're expecting.

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
[email protected] * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

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