Userid can't create PDSE

Posted on 2011-05-10
Last Modified: 2012-05-11
Hello there,

I'm working as a consultant trying to do a data extraction from a z/OS mainframe system.  I'm having difficulty trying to allocate a dataset.  I can allocate a dataset of type PDS but I'm unable to create type LIBRARY (PDSE).

I don't have a solid mainframe background but I'm just looking for ideas as to why this might occur.  Would it be a permissions issue on the userid?  Any ideas what they should check?

Question by:ttist25
    LVL 57

    Accepted Solution

    If you are allocating using ISPF you need to say it is a file type of LIBRARY.

    If allocating via JCL, I think it is DSORG=LIB.
    LVL 1

    Author Comment

    Thanks for your response gilt.  

    I'm using ISPF.  I am using LIBRARY as the data set type but I still get the error saying the userid can't create a PDSE.

    I'm using TSO/B to allocate and compile and run everything which we've done in the past.  I don't see a TSO/E option in my menus.  Could that have anything to do with it?  Although we've run everything in TSO/B in the past, I think the userid may have had access to TSO/E.

    LVL 57

    Expert Comment

    Not sure what TSO/B is, I have never heard of it.  I have used TSO (decades ago) and TSO/E.

    Try running the following JCL:

    //ALLOC    EXEC PGM=IEFBR14                        
    //FILE0001 DD DISP=(,CATLG),DSN=some.valid.dsn,
    //            UNIT=SYSDA,DCB=(LRECL=80,BLKSIZE=27920,RECFM=FB),
    //            DSNTYPE=LIBRARY,SPACE=(CYL,(10,5))    

    You need to add your own JOB card and change the SPACE and DCB information as needed.  

    If I remember correctly a LONG time ago, PDS/E's had to be system manged (SMS) dataset.  However, I am fairly sure that restriction was lifted, but I'm not sure what if there is something special you need to do.
    LVL 1

    Author Comment

    Hello Gilt,

    I ended up using a PDS instead of LIBRARY.  It seems like the PDSE was overkill for the amount of data (not really sure).  Anyway, I got my data out but now I'm having a new problem if you'd like to give it a shot.  The question is here.

    Thanks again for your help.
    LVL 57

    Expert Comment

    The difference between PDS and PDS/E really has nothing to do with the size of the file.

    The difference is that PDS/E's will reuse space for member storage.  With PDS's when you update a member, it is saved to the end of the file, which will cause the PDS to become fragemented and you need to compress the file everynow and then, if you do a lot of udpates.

    PDS/E will also not run out of directory blocks, the part of the file that stores the information about the indvidual members.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
    Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now