Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am
This topic is locked: you cannot edit posts or make replies. rexx to create a tso command Bharath Vikraman CLIST & REXX 1 Tue Aug 08, 2017 3:32 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us