PDSE Creation



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

PDSE Creation

Postby nm992 » Fri Oct 21, 2011 6:58 pm

Hi..Its a basic question..I have done several times..but having an issue now

I was creating PDSE using option 3.2 I gave Library as an option and Record Length I was giving 0 but PDSE was not getting created

next I created using a JCL using step as

/STEP10 EXEC PGM=IEFBR14
//DD01 DD DSN=HLQ.PDSE1,
// DISP=(NEW,CATLG,DELETE),
// UNIT=DISK,SPACE=(CYL,(2,1)),
// DCB=(LRECL=80,BLKSIZE=0,DSORG=PO,RECFM=FB),
// DSNTYPE=LIBRARY

And When i checked with list option it was library. Can anyone please help me how to create a PDSE.
nm992
 
Posts: 43
Joined: Sun Jul 11, 2010 11:31 pm
Has thanked: 0 time
Been thanked: 0 time

Re: PDSE Creation

 

Re: PDSE Creation

Postby Robert Sample » Fri Oct 21, 2011 7:40 pm

 Ã„ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
 ISRUAASE DSUTIL             Allocate New Data Set
 Command ===>

 Data Set Name  . . . : TTSSRS0.TEST.PDSE

 Management class . . .                (Blank for default management class)
 Storage class  . . . .                (Blank for default storage class)
  Volume serial . . . .                (Blank for system default volume) **
  Device type . . . . .                (Generic unit or device address) **
 Data class . . . . . .                (Blank for default data class)
  Space units . . . . . CYLINDER       (BLKS, TRKS, CYLS, KB, MB, BYTES
                                        or RECORDS)
  Average record unit                  (M, K, or U)
  Primary quantity  . . 5              (In above units)
  Secondary quantity    5              (In above units)
  Directory blocks  . . 200            (Zero for sequential data set) *
  Record format . . . . fb
  Record length . . . . 80
  Block size  . . . . . 0
  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)
produces
 Data Set Name  . . . : TTSSRS0.TEST.PDSE

 General Data                          Current Allocation
  Management class . . : MCSTRG         Allocated cylinders : 5
  Storage class  . . . : SCSTRG         Allocated extents . : 1
   Volume serial . . . : STRS14         Maximum dir. blocks : NOLIMIT
   Device type . . . . : 3390
  Data class . . . . . : **None**
   Organization  . . . : PO            Current Utilization
   Record format . . . : FB             Used pages  . . . . : 5
   Record length . . . : 80             % Utilized  . . . . : 0
   Block size  . . . . : 32720          Number of members . : 0
   1st extent cylinders: 5
   Secondary cylinders : 5
   Data set name type  : LIBRARY

   Creation date . . . : 2011/10/21     Referenced date . . : ***None***
   Expiration date . . : ***None***
so my recommendation is to use ISPF 3.2 to create it.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 222 times

Re: PDSE Creation

Postby MrSpock » Fri Oct 21, 2011 8:38 pm

Running your job as I normally would to create a regular PDS, but adding DSNTYPE=LIBRARY:

//STEP10 EXEC PGM=IEFBR14
//DD01 DD DSN=HLQ.PDSE1,
// DISP=(,CATLG,DELETE),
// UNIT=DISK,SPACE=(CYL,(2,1,1)),
// LRECL=80,RECFM=FB,
// DSNTYPE=LIBRARY

gives me a PDS/E. Maybe you need to talk to your storage team?
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

Re: PDSE Creation

Postby NicC » Fri Oct 21, 2011 9:34 pm

Your job appears to be missing the space allocation for the directory - compare with Mr Spock's space parameter. Also, when you were doing it through 3.2 yopu say you were giving the LRECL as 0 - this will not work. Yopu should have been giving your BLKSIZE as 0.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times


Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post