IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

JCL and IDCAMS: $DUMMY?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pauly_william

New User


Joined: 15 Oct 2007
Posts: 27
Location: Canada

PostPosted: Tue Jul 07, 2009 9:37 pm
Reply with quote

Oy to all,

I'm looking at a job another guy that no longer works here use to manage...this was part of an install job for a program product. I'm still rather green to JCL and just learning about IDCAMS... my question is regarding the "$DUMMY" statement in this job. What is this lonesome $ sign infront of "DUMMY" telling IDCAMS? I've been unable to find a reference anywhere and for some reason it just doesn't look right to me.

Code:
//STEP02   EXEC PGM=IDCAMS                                     
//SYSPRINT DD SYSOUT=A                                         
//IN    DD *                                                   
$DUMMY                                                         
//SYSIN DD *                                                   
 DEFINE CLUSTER(NAME(HLQ.BLAH.BLAH) VOLUME(??????) +           
 SHAREOPTIONS(2) +                                             
 RECORDSIZE(56 254) CYL(2 2) INDEXED KEYS(52 0) )               
 REPRO INFILE(IN) OUTDATASET(HLQ.BLAH.BLAH)                   
 LISTCAT ENTRY(HLQ.BLAH.BLAH) ALL
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jul 07, 2009 10:01 pm
Reply with quote

Hello,

It doean't mean anything. . .

It is just a dummy record that is being loaded into the file so it will not be empty.

The code that uses that file probably knows that $DUMMY is a dummy record. . .
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts IDCAMS listcat service using cobol JCL & VSAM 1
No new posts IDCAMS & LISTCAT with ddnames JCL & VSAM 1
No new posts Capture DSN names through SORT / IDCAMS DFSORT/ICETOOL 8
No new posts IDCAMS RENAMING VSAM FILE ALONG WITH ... JCL & VSAM 12
No new posts DUMMY When do I need add a DCB parameter JCL & VSAM 3
Search our Forums:

Back to Top