MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

what does DD DSN={FNAME} means in JCL

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
computer
Beginner


Joined: 12 Jun 2007
Posts: 64
Topics: 17
Location: Hyderabad

PostPosted: Tue Apr 21, 2009 8:39 am    Post subject: what does DD DSN={FNAME} means in JCL Reply with quote

Hi All,

In our system we have a JCL which is having a DSN name as '{FNAME}'.
Below is a sample JCL,

//STEP0030 EXEC PGM=IDCAMS,REGION=1024K
//INFILE DD DSN={FNAME},DISP=SHR
//OUTFILE DD DSN=DOLP.MANS.TEST.FILE,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(50,15),RLSE),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=80)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
REPRO INFILE(INFILE) OUTFILE(OUTFILE)
/*

Thanks in advance,
Manoj
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Tue Apr 21, 2009 10:38 am    Post subject: Reply with quote

Because this is not valid JCL syntax, it might be:

1. a sample which means "type your file name here", or
2. a string that gets modified by some scheduling package, or
3. something else?
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
Anuj Dhawan
Intermediate


Joined: 19 Jul 2007
Posts: 298
Topics: 7
Location: Mumbai,India

PostPosted: Fri May 01, 2009 12:15 pm    Post subject: Re: what does DD DSN={FNAME} means in JCL Reply with quote

computer wrote:
Below is a sample JCL,
Is this JCL excuting in production?
_________________
Regards,
Anuj
Back to top
View user's profile Send private message
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Mon May 04, 2009 11:48 am    Post subject: Reply with quote

My guess is... Bill's #1.
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
archana
Beginner


Joined: 28 May 2007
Posts: 4
Topics: 2

PostPosted: Tue Jun 16, 2009 5:49 am    Post subject: Re: what does DD DSN={FNAME} means in JCL Reply with quote

Mostly the step prior to the IDCAMS using {FNAME} will be a Gateway step.

The Gateway step pulls the file from outside and update the {FNAME} which is in SYSIN card of the gateway step for further usage in the JCL.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group