Error Message: Dynamic PSB error.

Document ID : KB000046800
Last Modified Date : 14/02/2018
Show Technical Document Details

Issue: 

CAWL549E '** Dynamic PSB Error **' .TYPE=W 
'An error was encountered allocating the dynamic PSBLIB ' + 
'temporary PDS. ' 

Environment: 

At first it was thought to be a security issue, but all users have the same security.
All we are doing is browsing a database,
This happens in either BMP or DLI mode.

 Cause:

The normal behavior, is the product can allocate up to 10 dynamic PSB libraries. The format of the Data set name is

[ZPREFIX.]ZUSER.CAWKEB#n.ASYSID.PSBLIB

  The data set name for a given user may vary depending on
- The user's PREFIX setting of his ISPF session
- The System user is executing in.
- n is a value in the range 0-9

When one of these PSB libraries exist the product increments n in order to generate the next Library name. 

These temporary datasets are deleted at the end of a successful execution of Browse or Edit. However, if some sort of error occurs during Browse or Print, the cleanup of these datasets may not get done. 

Resolution

If there are already 10 of these libraries (n=0 through 9) out there, then we put up a screen that lets you delete 1 or more of these datasets so a new one can be created.

CAWKPBRW ---- CA File Master Plus for IMS -- Browse IMS Database -----------
|------------------------------------------------------------------------------|
| CAWKPEB0 ----------------- Dynamic PSB Libraries - PSBLIB allocation error |
| COMMAND ===> |
| Actions: D - Delete |
| |
| A DSN Msg Created Accessed |
| _ AD1DEV.PAGTO01.CAWKEB#0.ACA11.PSBLIB 2016/09/26 |
| _ AD1DEV.PAGTO01.CAWKEB#1.ACA11.PSBLIB 2016/09/26 |
| _ AD1DEV.PAGTO01.CAWKEB#2.ACA11.PSBLIB 2016/09/26 |
| _ AD1DEV.PAGTO01.CAWKEB#3.ACA11.PSBLIB 2016/09/26 |
| _ AD1DEV.PAGTO01.CAWKEB#4.ACA11.PSBLIB 2016/09/26 |
| _ AD1DEV.PAGTO01.CAWKEB#5.ACA11.PSBLIB 2016/09/26 |
| _ AD1DEV.PAGTO01.CAWKEB#6.ACA11.PSBLIB 2016/09/26 |
| _ AD1DEV.PAGTO01.CAWKEB#7.ACA11.PSBLIB 2016/09/26 |
| _ AD1DEV.PAGTO01.CAWKEB#8.ACA11.PSBLIB 2016/09/26 |
| _ AD1DEV.PAGTO01.CAWKEB#9.ACA11.PSBLIB 2016/09/26 |
| |
| End to return to the BROWSE session. |
| |
| |
|------------------------------------------------------------------------------|


If you fail to delete one of these datasets, that is when the CAWL549E error message is issued:

CAWL549E '** Dynamic PSB Error **' .TYPE=W
'An error was encountered allocating the dynamic PSBLIB ' +
'temporary PDS. '

Additional Information:  

The dataset names should be unique for each user.