View previous topic :: View next topic |
Author |
Message |
ranga_subham Intermediate
Joined: 31 Jan 2006 Posts: 255 Topics: 72
|
Posted: Tue Feb 27, 2007 2:31 am Post subject: Creating a PDS (Library). |
|
|
Guys,
We know how to code SPACE parameter to create a PDS the JCL way.
Code: |
SPACE=(TRK,(1,1,5),RLSE)
|
But, how to create a LIBRARY and other varieties as mentioned below:
Quote: |
LIBRARY, HFS, PDS, LARGE, BASIC, EXTREQ, EXTPREF or blank)
|
Code: |
Allocate New Data Set
Command ===>
More: +
Data Set Name . . . : DATAS.MIDDLE.THIRD
Management class . . . XX0002 (Blank for default management class)
Storage class . . . . XX000004 (Blank for default storage class)
Volume serial . . . . VOL001 (Blank for system default volume) **
Device type . . . . . (Generic unit or device address) **
Data class . . . . . . (Blank for default data class)
Space units . . . . . BLOCK (BLKS, TRKS, CYLS, KB, MB, BYTES
or RECORDS)
Average record unit (M, K, or U)
Primary quantity . . 6 (In above units)
Secondary quantity 1 (In above units)
Directory blocks . . 0 (Zero for sequential data set) *
Record format . . . . VB
Record length . . . . 8000
Block size . . . . . 8004
Data set name type LIBRARY (LIBRARY, HFS, PDS, LARGE, BASIC, *
EXTREQ, EXTPREF or blank)
Expiration date . . . (YY/MM/DD, YYYY/MM/DD
Enter "/" to select option YY.DDD, YYYY.DDD in Julian form
Allocate Multiple Volumes DDDD for retention period in days
or blank)
( * Specifying LIBRARY may override zero directory block)
( ** Only one of these fields may be specified)
|
Please help me.
TIA. _________________ Ranga
*****
None of us is as smart as all of us - Ken Blanchard |
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Tue Feb 27, 2007 5:42 am Post subject: |
|
|
Press F1 - or whatever key your help is assigned to and read the information. Remember that a library is a PDS; a type of LIBRARY is a specific type of PDS but it is still a PDS _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
|
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Tue Feb 27, 2007 6:12 am Post subject: |
|
|
Have you tried the fine manual?
For example, the answer to the LIBRARY question is DSNTYPE, which is well documented.
O.
________
Toyota Central R&D Labs., Inc. specifications
Last edited by ofer71 on Sat Feb 05, 2011 11:57 am; edited 1 time in total |
|
Back to top |
|
|
ranga_subham Intermediate
Joined: 31 Jan 2006 Posts: 255 Topics: 72
|
Posted: Tue Feb 27, 2007 9:50 am Post subject: thx |
|
|
ofer71, thanks for the link.
Actually, I wanted to know how to create a "Library" PDS through JCL way.
Thx. _________________ Ranga
*****
None of us is as smart as all of us - Ken Blanchard |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Tue Feb 27, 2007 9:54 am Post subject: Re: thx |
|
|
ranga_subham wrote: | ofer71, thanks for the link.
Actually, I wanted to know how to create a "Library" PDS through JCL way.
Thx. |
Did you try coding DSNTYPE=LIBRARY in the JCL and check it?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Tue Feb 27, 2007 9:57 am Post subject: |
|
|
Right, I've done a quick look in the JCL manual (link at top of page), browsed the table of contents, clicked on LIKE. Suggest you do the same. You may think that as an 'old hand' I know these things - sorry but I have never heard of LIKE as a JCL parameter before. You learn by looking. _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
|
ranga_subham Intermediate
Joined: 31 Jan 2006 Posts: 255 Topics: 72
|
Posted: Tue Feb 27, 2007 10:02 am Post subject: |
|
|
dbzTHEdinosauer, this has solved my problem......
Thank you very much.....
Note: Each time I could not visit the internet cafe to check out the answers....that is why I could not read it completely. _________________ Ranga
*****
None of us is as smart as all of us - Ken Blanchard |
|
Back to top |
|
|
programmer1 Beginner
Joined: 18 Feb 2004 Posts: 138 Topics: 14
|
Posted: Tue Feb 27, 2007 12:08 pm Post subject: |
|
|
Quote: |
Each time I could not visit the internet cafe to check out the answers....that is why I could not read it completely.
|
Wow ! So you access www.mvsforums.com from your intranet ? _________________ Regards,
Programmer |
|
Back to top |
|
|
ranga_subham Intermediate
Joined: 31 Jan 2006 Posts: 255 Topics: 72
|
Posted: Mon Mar 05, 2007 2:02 pm Post subject: |
|
|
Programmer1, I access www.mvsforums.com from internet..... _________________ Ranga
*****
None of us is as smart as all of us - Ken Blanchard |
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Tue Mar 06, 2007 3:49 am Post subject: |
|
|
but why from internet cafe and not from work? _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
|
|
|