Page 1 of 1

PDSE Creation

PostPosted: Fri Oct 21, 2011 6:58 pm
by nm992
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.

Re: PDSE Creation

PostPosted: Fri Oct 21, 2011 7:40 pm
by Robert Sample
 Ã„ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
 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.

Re: PDSE Creation

PostPosted: Fri Oct 21, 2011 8:38 pm
by MrSpock
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?

Re: PDSE Creation

PostPosted: Fri Oct 21, 2011 9:34 pm
by NicC
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.