Comments within a Control Card



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Comments within a Control Card

Postby mberger » Tue Nov 16, 2010 8:23 pm

Is there a method of putting comments into control cards? I would like to place comments in cards used for sort statements, VSAM repro statements, etc., as well as SQL statements used for unloading and loading DB2 tables.
mberger
 
Posts: 9
Joined: Thu May 06, 2010 8:56 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Comments within a Control Card

Postby Akatsukami » Tue Nov 16, 2010 8:30 pm

Depends on the program using the control card, of course.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: Comments within a Control Card

Postby enrico-sorichetti » Tue Nov 16, 2010 8:33 pm

Yes...
the manuals will tell all You might want to know

start here for the MVS utilities
http://publibz.boulder.ibm.com/cgi-bin/ ... s/DGT2BK81

here is the link to the IDCAMS manual
http://publibz.boulder.ibm.com/cgi-bin/ ... 0602132758

and here for DB2
http://publibz.boulder.ibm.com/cgi-bin/ ... s/DSNSHKA3
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
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Comments within a Control Card

Postby Frank Yaeger » Wed Nov 17, 2010 1:35 am

For DFSORT, just put an * in column 1 for a comment, e.g.

* This is a comment.
   SORT FIELDS=(5,4,CH,A)
* This is another comment.
* So is this.
  OUTFIL INCLUDE=(1,2,CH,EQ,C'AB')
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
User avatar
Frank Yaeger
Global moderator
 
Posts: 1079
Joined: Sat Jun 09, 2007 8:44 pm
Has thanked: 0 time
Been thanked: 15 times

Re: Comments within a Control Card

Postby Phrzby Phil » Wed Nov 17, 2010 1:39 am

But so easy to test - why ask?
Phrzby Phil
 
Posts: 7
Joined: Wed Jun 30, 2010 8:02 am
Has thanked: 0 time
Been thanked: 0 time

Re: Comments within a Control Card

Postby dick scherrer » Wed Nov 17, 2010 2:07 am

Hi Phil,

Tough to test when one is first learning and is not yet familiar with the "product(s)" . . .

I still find it frustrating that so many products/authors do the "same thing" so many different ways. . . :)

And i also realize that it ain't gonna change. . . 8-)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post