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

Want to create a DSN as part of my JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 1448
Location: Chicago, IL

PostPosted: Tue Mar 07, 2006 5:44 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts create rexx edit Macro that edits the... CLIST & REXX 3
No new posts COBOL - create and write to output fi... COBOL Programming 0
No new posts Best way to create an automated line ... TSO/ISPF 3
No new posts FD Section to Create FB or Vb File Dy... COBOL Programming 1
Search our Forums:

Back to Top