MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Creating a PDS (Library).

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
ranga_subham
Intermediate


Joined: 31 Jan 2006
Posts: 255
Topics: 72

PostPosted: Tue Feb 27, 2007 2:31 am    Post subject: Creating a PDS (Library). Reply with quote

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
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue Feb 27, 2007 5:42 am    Post subject: Reply with quote

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
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Tue Feb 27, 2007 6:12 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
ranga_subham
Intermediate


Joined: 31 Jan 2006
Posts: 255
Topics: 72

PostPosted: Tue Feb 27, 2007 9:50 am    Post subject: thx Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Tue Feb 27, 2007 9:54 am    Post subject: Re: thx Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Tue Feb 27, 2007 9:55 am    Post subject: Reply with quote

ranga, why did you not bother to read the link? the second page to the link provides you with the jcl necessary to 'create a library'...........................

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA1B640/12.23.6?SHELF=&DT=20000718114500&CASE=
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue Feb 27, 2007 9:57 am    Post subject: Reply with quote

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
View user's profile Send private message
ranga_subham
Intermediate


Joined: 31 Jan 2006
Posts: 255
Topics: 72

PostPosted: Tue Feb 27, 2007 10:02 am    Post subject: Reply with quote

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. Rolling Eyes
_________________
Ranga
*****
None of us is as smart as all of us - Ken Blanchard
Back to top
View user's profile Send private message
programmer1
Beginner


Joined: 18 Feb 2004
Posts: 138
Topics: 14

PostPosted: Tue Feb 27, 2007 12:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
ranga_subham
Intermediate


Joined: 31 Jan 2006
Posts: 255
Topics: 72

PostPosted: Mon Mar 05, 2007 2:02 pm    Post subject: Reply with quote

Programmer1, I access www.mvsforums.com from internet..... Exclamation Exclamation Confused
_________________
Ranga
*****
None of us is as smart as all of us - Ken Blanchard
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue Mar 06, 2007 3:49 am    Post subject: Reply with quote

but why from internet cafe and not from work?
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group