> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Tom Marchant > Sent: Wednesday, June 04, 2008 3:42 PM > To: [email protected] > Subject: Re: Enhanced JCL processor? (and maybe a few other thoughts) > > On Wed, 4 Jun 2008 13:25:53 -0500, McKown, John wrote: > > > >2a) any line which starts with //* is totally ignored as if > it weren't > >there. This means it can be placed > >in the midst of a series of continuations. Eg: > > > > //DD1 DD DISP=SHR, > > //* DISPOSITION > > // DSN=THIS.FILE > > //* THE NAME OF THE DATASET > > That works today, doesn't it?
Yes, I was just showing an example of what I meant. Even though it is how it works today. > > > > >2b) Embedded comments require a /* to start and */ to end. > Comments may > >be embedded within comments. This means that every /* must have an > >corresponding */. This is to allow commenting-out of > information which > >itself contains comments. I hope I'm making sense. /* this is /* an > >embedded */ comment */. > > > This one breaks existing JCL, unless you mean only after column 2. That's what I meant. Bad example on my part. //DD1 DD DISP=SHR,/* COMMENT */DSN=THIS.FILE would look like: //DD1 DD DISP=SHR,DSN=THIS.FILE > > > > >2c) All characters after a double dash, --, are comments > until the end > >of the logical line and are ignored. Eg: > > //DD1 DD DISP=SHR, -- THIS IS A COMMENT > > Why do you want this one? Anything after the first space > following the > operands is a comment. Another "bad example" on my part, I fear. // PARM='THIS IS + --COMMENT // A PARM' // PARM='THIS IS A PARM' > > > > >3) Continuation. > > > >3a) If the last non-blank, non-comment is a comma, then the > next logical > >line is a continuation of this line. The first three > characters of the > >next line must be "// ". The continuation actually starts > with the first > >non-blank after the third character of the next line. Eg: > > //DD1 DD DISP=SHR, -- SPECIFY DISPOSITION HERE > > // DSN=THIS.FILE -- THE NAME OF THE DATASET > > That's how it works today > > -- > Tom Marchant -- 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

