Why am I getting DD IMS ALLOCATE FAILED?
search cancel

Why am I getting DD IMS ALLOCATE FAILED?

book

Article ID: 14997

calendar_today

Updated On:

Products

File Master Plus for IMS File Master Plus for DB2 for z/OS

Issue/Introduction

Upgrading to File Master Plus for IMSv10.



Why am I getting CA File Master Plus for IMS -- Browse * DD IMS ALLOCATE FAILED? 

Environment

The PSB being used has the checkpoint DB and 2 GSAM files. ------------- CA File Master Plus for IMS -- Browse * DD IMS ALLOCATE FAILED COMMAND ===> IMS Database to Browse: IMS Environment ===> XXXXX PSB or ACB Name ===> XXXXXXXX (if static PSB being used) DBD Name ===> ________ (optional if PSB Name specified) Secondary Index ===> N ('Y' for Secondary Index list) Record Layout for Formatted Displays: Layout dataset ===> 'XXXX.COPYLIB' CRL dataset ===> Selection Criteria below or Selection Criteria Member ===> ===> ===> ===> Display mode ===> C ( C Character S Single-rec Format M Multi-rec Format )

Resolution

Error "File Master IMS could not allocate temporary DDN IMS" is given for a very specific situation, related to the presence of one or more GSAM PCB's in the PSB. 

File Master is trying to allocate a temporary load library with this command: 

TSO ALLOCATE FI(IMS) DA('userid.SYSFMxxx.TEMPIMS') UNIT(SYSDA) CYL SPACE(5 3) DSORG(PO) DSNTYPE(LIBRARY) 

userid is the userid of the person executing File Master 

xxx is a 3-digit random number 

In the above command, some parameters are derived from the File Master CDBILOAD. E.g. "CYL" can be "TRK" and DSNTYPE(LIBRARY) will be replaced with DIR(5) if CDBILOAD is a PDS. 

Additional Information

You could ask the person who's getting this problem to execute the allocate command interactively under ISPF option 6. E.g. for user XYZ: 

TSO ALLOC FI(IMS) DA('XYZ.SYSFM123.TEMPIMS') UNIT(SYSDA) CYL SPACE(5 3) DSORG(PO) DSNTYPE(LIBRARY) 

If this allocate fails, there should be a message that indicates the reason of the failure.