Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Want to create a DSN as part of my JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
manoharsoft

New User


Joined: 07 Mar 2006
Posts: 3

PostPosted: Tue Mar 07, 2006 5:36 pm    Post subject: Want to create a DSN as part of my JCL
Reply with quote

Hello..
I am a new to SAS.. I want to create a DSN as part of my JCL can u kindly tell me the proc for the same...
looking forward to look from u...
thank u...
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Tue Mar 07, 2006 5:44 pm    Post subject: Re: create DSN
Reply with quote

Quote:
I am a new to SAS..

SAS ?????

Quote:
I want to create a DSN as part of my JCL can u kindly tell me the proc for the same...

If want an IDCAMS way....

Code:
//STEP     EXEC PGM=IDCAMS                         
//DD1      DD DUMMY,                             
//            RECFM=XX,LRECL=LLL                 
//DD2      DD DSN=HLQ.NAME.DSN,         
//            DISP=(NEW,CATLG,DELETE),           
//            RECFM=XX,                           
//            LRECL=LLL,                         
//            SPACE=(LLL,(1000,100)),AVGREC=U
//SYSPRINT DD SYSOUT=*                           
//SYSIN    DD *                                   
  REPRO -                                       
         INFILE(DD1) -                         
         OUTFILE(DD2)                           
/*


This will allocate an empty dataset.

Regards,
Priyesh.
Back to top
View user's profile Send private message
manoharsoft

New User


Joined: 07 Mar 2006
Posts: 3

PostPosted: Wed Mar 08, 2006 12:43 pm    Post subject: Re: Want to create a DSN as part of my JCL
Reply with quote

Thank U priyesh...

I have one more doubt... What is CATALOG DATA SET ? in ISPF 3.2..
I dont understand the diff between Create Data set and Catalog Data Set..
please help me...

with regards
manohar
Back to top
View user's profile Send private message
ranga_subham

New User


Joined: 01 Jul 2005
Posts: 51

PostPosted: Wed Mar 08, 2006 8:04 pm    Post subject:
Reply with quote

We can use IEFBR14 also to create an empty dsn. Isn't it more easier than using the IDCAMS?

Please correct me if I am wrong.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts RMM: scratching a volume that RMM thi... Hervey Martinez IBM Tools 0 Mon May 15, 2017 8:51 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
No new posts How can we create a flat file in JAVA... rakesh.v18 Java & MQSeries 7 Fri Sep 23, 2016 10:46 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us