RC/ Query LFREE receives: BPA0002E FILE SYSTSPRT NOT ALLOCATED, FILE IN USE
search cancel

RC/ Query LFREE receives: BPA0002E FILE SYSTSPRT NOT ALLOCATED, FILE IN USE

book

Article ID: 137382

calendar_today

Updated On:

Products

Database Management for DB2 for z/OS - Administration Suite

Issue/Introduction

In RC/Query doing an LFREE line command next to a package receives:


 BPA0002E: UNABLE TO DYNAMICALLY ALLOCATE FILE - RETURN CODE 0000410.

IKJ56246I FILE SYSTSPRT NOT ALLOCATED, FILE IN USE RETCODE =     8


 

Environment

Release : 20.0

Component : CA RC/Query for DB2 for z/OS

Resolution

A users TSO logon proc may allocate SYSIN, SYSTSIN, SYSTSPRT and ISPFILE.  These need to be freed prior to entering the products.


A FREE statement for the SYSTSPRT file needs to be added to the RSPMAIN member located in hilvl.CDBACLS0 PDS.    


In the highlvl.CLIST(RSPMAIN) locate the %RSPINIT command and then add these statements before it:      

                                       

FREE FI(SYSTSIN)                                                        

FREE FI(SYSIN)                                                          

FREE FI(ISPFILE)   

FREE FI(SYSTSPRT)