Page 1 of 1

How to comment data in sysin dd *?

Posted: Wed Oct 15, 2014 12:35 pm
by Chetan123
HI,

Is there any way to comment a line inside Control statements like this:

Code: Select all

//SYSIN DD * 
statement1
statement2 (i want to comment this )
statement3
/*

Re: How to comment data in sysin dd *?

Posted: Wed Oct 15, 2014 3:09 pm
by William Collins
Only if the program which reads those cards supports comments.

Re: How to comment data in sysin dd *?

Posted: Wed Oct 15, 2014 3:37 pm
by Ashu Jain
Hi,

Is not itthat we put a "*" in fronnt of the statement an it is a comment then?

Re: How to comment data in sysin dd *?

Posted: Wed Oct 15, 2014 3:53 pm
by enrico-sorichetti
Is not itthat we put a "*" in fronnt of the statement an it is a comment then?
NOPE ...
the SYSIN data is passed asis to the program reading it
so it is the program that has to find out

Re: How to comment data in sysin dd *?

Posted: Mon Oct 20, 2014 9:41 pm
by Chetan123
So for SORT, IDCAMS, IEBCOPY etc these rules would differ? For SOR I saw that using * worked.

Re: How to comment data in sysin dd *?

Posted: Mon Oct 20, 2014 10:09 pm
by William Collins
Not necessarily would, but could. You can always try. If it doesn't work, look at the documentation. I'd look at the documentation first :-)