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?

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

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

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

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