You are correct.
Simple job:
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
/* THIS IS A COMMENT */
/* SO IS THIS */
/*
//STEP2 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
/* THIS IS A COMMENT -
SO IS THIS */
/*
Output:
IDCAMS SYSTEM SERVICES
/* THIS IS A COMMENT */
/* SO IS THIS */
IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 0
IDCAMS SYSTEM SERVICES
/* THIS IS A COMMENT -
SO IS THIS */
IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 0
No complaints about a multi-line comment.
Rex
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of Mike Wawiorko
Sent: Wednesday, May 30, 2018 9:56 AM
To: [email protected]
Subject: [External] Re: Comments in IDCAMS statements
Isn't this more lack of the IDCAMS continuation character ' - ' or does my
memory fail me?
Mike Wawiorko
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of Jousma, David
Sent: 30 May 2018 15:36
To: [email protected]
Subject: Re: Comments in IDCAMS statements
This mail originated from outside our organisation -
[email protected]
From the book:
Commands can begin at, or to the right of, the left margin. For batch
processing jobs, the default margins are 2 and 72.
Commands are separated from their parameters by one or more separators
(blanks,commas, or comments). For some parameters, parentheses are used as
separators.
Comments are strings of characters surrounded by /* and */. Comments can
contain any characters except */.
I haven’t tested, but it looks like multi-line comments are not supported with
only 1 opening and closing /* */?
_________________________________________________________________
Dave Jousma
Manager Mainframe Engineering, Assistant Vice President [email protected]
1830 East Paris, Grand Rapids, MI 49546 MD RSCB2H p 616.653.8429 f 616.653.2717
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of Steve Smith
Sent: Wednesday, May 30, 2018 10:24 AM
To: [email protected]
Subject: Comments in IDCAMS statements
**CAUTION EXTERNAL EMAIL**
**DO NOT open attachments or click on links from unknown senders or unexpected
emails**
I thoguht I understood how to run AMS. Either I don't, or something strange is
going on:
/* N.B.: EAVNS0 IS NON-VSAM, SO DELETE DATACLAS AND ACCOUNT
11080078
BELOW TO ALLOCATE THERE.
11090078
IDC3219I VERB NAME 'BELOW'
UNKNOWN
IDC3202I ABOVE TEXT BYPASSED UNTIL NEXT COMMAND. CONDITION CODE IS
12
ALTERNATIVE IS TO DELETE THE VOL(EAVNS0) LINES .
11100078
IDC3219I VERB NAME 'ALTERNATIVE'
UNKNOWN
IDC3202I ABOVE TEXT BYPASSED UNTIL NEXT COMMAND. CONDITION CODE IS
12
*/
11110078
IDC3219I VERB NAME '*/'
UNKNOWN
IDC3202I ABOVE TEXT BYPASSED UNTIL NEXT COMMAND. CONDITION CODE IS
12
Even more baffling, this worked:
/* N.B.: EAVNS0 IS NON-VSAM, SO DELETE DATACLAS AND ACCOUNT
11080078
/* BELOW TO ALLOCATE THERE.
11090079
11100079
/* OTHERWISE DELETE THE VOL(EAVNS0) LINES.
11110079
11120079
Did they start using the TSO CLIST parser?
--
sas
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: INFO IBM-MAIN **CAUTION EXTERNAL
EMAIL**
**DO NOT open attachments or click on links from unknown senders or unexpected
emails**
This e-mail transmission contains information that is confidential and may be
privileged. It is intended only for the addressee(s) named above. If you
receive this e-mail in error, please do not read, copy or disseminate it in any
manner. If you are not the intended recipient, any disclosure, copying,
distribution or use of the contents of this information is prohibited. Please
reply to the message immediately by informing the sender that the message was
misdirected. After replying, please erase it from your computer system. Your
assistance in correcting this error is appreciated.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: INFO IBM-MAIN
This e-mail and any attachments are confidential and intended solely for the
addressee and may also be privileged or exempt from disclosure under applicable
law. If you are not the addressee, or have received this e-mail in error,
please notify the sender immediately, delete it from your system and do not
copy, disclose or otherwise act upon any part of this e-mail or its attachments.
Internet communications are not guaranteed to be secure or virus-free. The
Barclays Group does not accept responsibility for any loss arising from
unauthorised access to, or interference with, any Internet communications by
any third party, or from the transmission of any viruses. Replies to this
e-mail may be monitored by the Barclays Group for operational or business
reasons.
Any opinion or other information in this e-mail or its attachments that does
not relate to the business of the Barclays Group is personal to the sender and
is not given or endorsed by the Barclays Group.
Barclays Services Limited provides support and administrative services across
Barclays group. Barclays Services Limited is an appointed representative of
Barclays Bank UK plc, Barclays Bank plc and Clydesdale Financial Services
Limited. Barclays Bank UK plc and Barclays Bank plc are authorised by the
Prudential Regulation Authority and regulated by the Financial Conduct
Authority and the Prudential Regulation Authority. Clydesdale Financial
Services Limited is authorised and regulated by the Financial Conduct Authority.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
The information contained in this message is confidential, protected from
disclosure and may be legally privileged. If the reader of this message is not
the intended recipient or an employee or agent responsible for delivering this
message to the intended recipient, you are hereby notified that any disclosure,
distribution, copying, or any action taken or action omitted in reliance on it,
is strictly prohibited and may be unlawful. If you have received this
communication in error, please notify us immediately by replying to this
message and destroy the material in its entirety, whether in electronic or hard
copy format. Thank you.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN