> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Blaicher, Chris > Sent: Friday, January 04, 2008 3:25 PM > To: [email protected] > Subject: Re: JCL parms > > > 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
That is what a good programmer will do. It is not what an "average" COBOL programmer would likely do. My worries for this would be more about in-house written routines which use PARM than vendor routines. Personally, I parse and store the information from the PARM at the start of my program, then ignore it. And I do length check stuff. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- 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

