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

Difference between PDS, PDSE and LIBRARY


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ganeshptrk

New User


Joined: 04 Apr 2007
Posts: 17
Location: Chennai

PostPosted: Fri Jul 06, 2007 2:14 pm
Reply with quote

Can anyone tell me the difference between PDS, PDSE and LIBRARY dataset. I know how to create a PDS dataset through JCL. Can anyone tell me how to create PDSE and LIBRARY datasets through JCL

Thanks
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Fri Jul 06, 2007 2:56 pm
Reply with quote

Hi,

From the manuals:

PDS A data set in direct access storage that is divided into partitions, called members, each of which can contain a program, part of a program, or data.

PDSE:A system-managed data set that contains an indexed directory and members that are similar to the directory and members of partitioned data sets. A PDSE can be used instead of a partitioned data set.

Library is rather general term, can have following definitions:
a) A collection of functions, calls, subroutines, or other data.
b) A named area on disk that can contain programs and related information (not files). A library consists of different sections, called library members.
c) A data file that contains copies of a number of individual files and control information that allows them to be accessed individually.
d) A collection of related files. For example, one line of an invoice may form an item, a complete invoice may form a file, the collection of inventory control files may a file, the collection of inventory control files may form a library, and the libraries used by an organization are known as its data bank.
e) A repository for demountable recorded media, such asmagnetic disk packs and magnetic tapes.
f) The set of publications for a product.
g) In the AS/400 system, a system object that serves as a directory to ther objects. A library groups related objects, and allows the user to find objects by name.
Back to top
View user's profile Send private message
ganeshptrk

New User


Joined: 04 Apr 2007
Posts: 17
Location: Chennai

PostPosted: Fri Jul 06, 2007 3:50 pm
Reply with quote

Thanks for the information. It was quiet clear. But can you tell me how create a PDSE dataset through JCL...?

Thanks
Ganesh
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Fri Jul 06, 2007 6:18 pm
Reply with quote

Hi,

You look quite intrested in PDSEs, for more information on PDSEs see the link:
publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dgt2d430/3.8?DT=20040624112123

JCL to create PDSE:
Code:
//JOBCARD
//*                                                     
//STEP002 DD DSN=HLQ.TEMP.PDS,DISP=(NEW,CATLG,DELETE),
//           SPACE=(TRK,(2,1,3)),                       
//           DCB=(DSORG=PO,LRECL=80,RECFM=FB),           
//           DSNTYPE=LIBRARY,UNIT=SYSDA                 
//*                                                     


To allocate PDSE from 3.2 option of ISPF give:
Code:
Data set name type    LIBRARY
for PDS it should be PDS & directory blocks should be greater than 0 for both PDS & PDSE.
Back to top
View user's profile Send private message
ganeshptrk

New User


Joined: 04 Apr 2007
Posts: 17
Location: Chennai

PostPosted: Fri Jul 06, 2007 6:27 pm
Reply with quote

Thanks very much for the information. My query is resolved.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Fri Jul 06, 2007 6:58 pm
Reply with quote

My pleasure. icon_smile.gif
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts variable in library name within a PROC. JCL & VSAM 11
No new posts Difference between joblib and steplib JCL & VSAM 2
No new posts Pull data using date difference betwe... DB2 6
No new posts Difference between PLT txn and schedu... CICS 3
No new posts Calling an Open C library function in... CICS 1
Search our Forums:


Back to Top