How to comment data in sysin dd *?

JES2/3, JCL, utilities.
Post Reply
Chetan123
New Member
Posts: 5
Joined: Mon Aug 11, 2014 2:19 pm

How to comment data in sysin dd *?

Post 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
/*
William Collins
Global Moderator
Global Moderator
Posts: 490
Joined: Sun Aug 25, 2013 7:24 pm

Re: How to comment data in sysin dd *?

Post by William Collins »

Only if the program which reads those cards supports comments.
Ashu Jain
New Member
Posts: 4
Joined: Thu Aug 14, 2014 3:29 pm

Re: How to comment data in sysin dd *?

Post by Ashu Jain »

Hi,

Is not itthat we put a "*" in fronnt of the statement an it is a comment then?
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: How to comment data in sysin dd *?

Post 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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
Chetan123
New Member
Posts: 5
Joined: Mon Aug 11, 2014 2:19 pm

Re: How to comment data in sysin dd *?

Post by Chetan123 »

So for SORT, IDCAMS, IEBCOPY etc these rules would differ? For SOR I saw that using * worked.
William Collins
Global Moderator
Global Moderator
Posts: 490
Joined: Sun Aug 25, 2013 7:24 pm

Re: How to comment data in sysin dd *?

Post 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 :-)
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”