Problem Note 56727: Repeatedly creating and deleting playpens in the same batch session fails and returns "ERROR: Invalid physical name for library TMP"
When you use batch code to create and delete multiple playpens for SAS® Risk Management for Banking, the playpen creation might fail. Messages like the following appear in the log.
WARNING: Environment rmb_base_environment in
"D:\SAS\Config\Lev1\AppData\SASRiskManagementForBanking\3.3\data\userdata\sasdemo\entities\main\
playpens\alm_int1\datamart\cfg\rd_env\base" already exists. It will be replaced by the new environment.
proc risk;
merge outenv=app_env.rmb_alm_environment
base=env_alm0.rmb_alm_environment
data=env_alm1.rmb_alm_environment;
run;
WARNING: D:\SAS\Config\Lev1\SASApp\ \rmb_base_environment is missing from concatenation.
ERROR: Invalid physical name for library TMP.
%rsk_set_rtmsg_ds(i_msgtxt=Library allocation failure: libref="tmp",
directory="'D:/SAS/Config/Lev1/AppData/SASRiskManagementForBanking/3.3/data/userdata/sasdemo/
entities/main/playpens/alm_int1/datamart/cfg/rd_env/base' /rmb);
ERROR: Macro parameter contains syntax error.
%rsk_set_rtmsg_ds(i_msgtxt=...rBanking\3.3\source\common\lua\sas\risk\rmx\rsk_init.lua:137:
Library allocation failure: libref="tmp", directory="
'D:/SAS/Config/Lev1/AppData/SASRiskManagementForBanking/3.3/data/userdata/sasdemo/entities/
main/playpens/alm_int1/datamart/cfg/rd_env/base' /rmb);
Workarounds
To work around this issue, do either of the following:
- Create or delete only one playpen in a session and then simply restart or start a new session for work with additional playpens.
- Between the calls to %rsk_create_playpen, insert the following code:
proc lua restart; run;
Operating System and Release Information
| SAS System | SAS Risk Management for Banking | Microsoft® Windows® for x64 | 3.3 | | 9.4 TS1M1 | |
| Microsoft Windows 8 Enterprise 32-bit | 3.3 | | 9.4 TS1M1 | |
| Microsoft Windows 8 Enterprise x64 | 3.3 | | 9.4 TS1M1 | |
| Microsoft Windows 8 Pro 32-bit | 3.3 | | 9.4 TS1M1 | |
| Microsoft Windows 8 Pro x64 | 3.3 | | 9.4 TS1M1 | |
| Microsoft Windows 8.1 Enterprise 32-bit | 3.3 | | 9.4 TS1M1 | |
| Microsoft Windows 8.1 Enterprise x64 | 3.3 | | 9.4 TS1M1 | |
| Microsoft Windows 8.1 Pro | 3.3 | | 9.4 TS1M1 | |
| Microsoft Windows 8.1 Pro 32-bit | 3.3 | | 9.4 TS1M1 | |
| Microsoft Windows Server 2008 | 3.3 | | 9.4 TS1M1 | |
| Microsoft Windows Server 2008 R2 | 3.3 | | 9.4 TS1M1 | |
| Microsoft Windows Server 2008 for x64 | 3.3 | | 9.4 TS1M1 | |
| Microsoft Windows Server 2012 Datacenter | 3.3 | | 9.4 TS1M1 | |
| Microsoft Windows Server 2012 R2 Datacenter | 3.3 | | 9.4 TS1M1 | |
| Microsoft Windows Server 2012 R2 Std | 3.3 | | 9.4 TS1M1 | |
| Microsoft Windows Server 2012 Std | 3.3 | | 9.4 TS1M1 | |
| Windows 7 Enterprise 32 bit | 3.3 | | 9.4 TS1M1 | |
| Windows 7 Enterprise x64 | 3.3 | | 9.4 TS1M1 | |
| Windows 7 Home Premium 32 bit | 3.3 | | 9.4 TS1M1 | |
| Windows 7 Home Premium x64 | 3.3 | | 9.4 TS1M1 | |
| Windows 7 Professional 32 bit | 3.3 | | 9.4 TS1M1 | |
| Windows 7 Professional x64 | 3.3 | | 9.4 TS1M1 | |
| Windows 7 Ultimate 32 bit | 3.3 | | 9.4 TS1M1 | |
| Windows 7 Ultimate x64 | 3.3 | | 9.4 TS1M1 | |
| 64-bit Enabled AIX | 3.3 | | 9.4 TS1M1 | |
| 64-bit Enabled Solaris | 3.3 | | 9.4 TS1M1 | |
| Linux for x64 | 3.3 | | 9.4 TS1M1 | |
| Solaris for x64 | 3.3 | | 9.4 TS1M1 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | high |
| Topic: | Analytics ==> Financial Analysis
|
| Date Modified: | 2020-07-31 11:19:51 |
| Date Created: | 2015-10-06 18:16:30 |