View previous topic :: View next topic
|
Author |
Message |
manoharsoft
New User
Joined: 07 Mar 2006 Posts: 3
|
|
|
|
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 |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
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 |
|
|
manoharsoft
New User
Joined: 07 Mar 2006 Posts: 3
|
|
|
|
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 |
|
|
ranga_subham
New User
Joined: 01 Jul 2005 Posts: 51
|
|
|
|
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 |
|
|
|