On Tue, 6 Sep 2022 12:03:44 -0700, Tom Brennan wrote:
>>
>> I just used a Special character to denote the start of a comment. You can
>> have any character.
>
>And using # as that character shows we are being assimilated :)
>
Kolusu was just trying to make me comfortable.
On Tue, 6 Sep 2022 19:02:41 +0000, Pommier, Rex wrote:
>
>I see in the very next section of this manual is something called "Coding
>restrictions". Apparently you don't even need a special character to delimit
>a comment, errr, remark... I tagged "#" the relevant restrictions. To
>summarize, asterisk in column 1 is a comment, anything after a blank on any
>other line is a remark.
>
I didn't read far enough.
><quote>
>
>The following rules apply to control statement preparation:
>
> Operation definers and operands must be in uppercase EBCDIC.
> # Column 1 of each control statement can be used only for a label or for a
> comment statement that begins with an asterisk in column 1.
>
So each control statement must either be labelled or a comment, since
it's impossible not to use column 1 with RECFM=F.
I fins scant discussion of colons, such as:
• Continuation Column (72)
Any character other than a blank in this column indicates that the
present statement is continued on the next line. However, as long
as the last character of the operand field on a line is a comma or
semicolon or colon followed by a blank, the program assumes that
the next line is a continuation line. The nonblank character in column
72 is required only when a remark field is to be continued or when
an operand is broken at column 71.
And an example:
*1234567
*23456789012345678901234567890123456789012345678901234567890123456789012
INCLUDE COND=(5,4,CH,EQ,
C'ABCD')
SORT FIELDS=(9,
3,
ZD,
A)
OUTREC FIELDS=(1,27,2X,
FIRST FIELD AND TWO BLANKS
51,2,BI,M11,
60:9,3,ZD,PD) THIRD FIELD
(Garbled by Copy/Paste.) I suspect colon has to do with field specification,
but I can find no unified definition of fields.
--
Thanks,
gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN