Troubleshooting
Problem
After a System 36 Environment (S36E) program is migrated to another system, the program fails with message SYS1148: File <FileName> not on disk. DISP other than NEW given.
Symptom
The program fails to run.
Cause
The S36E setting for Use library list for file is set to *NO.
Environment
Release of the OS is not a factor. The S36E program is migrated to another system.
Diagnosing The Problem
Check the job log of the user calling the S36E program for the occurrence of message SYS1148.
Check the S36E attribute for Use library list for file by using the DSPS36 command:
DSPS36 and press <ENTER>
Select option 5=Display next to S/36 environment values
Is the Use library list for files set to Y or N?
If N, continue to Resolving The Problem.
If Y, ensure the file identified in the message exists by using the WRKOBJ command:
WRKOBJ OBJ(*ALL/<FileName>) OBJTYPE(*FILE)
Make sure the file is in a library that is in the user's library list.
Resolving The Problem
Change the Use library list for file from N to Y by using the CHGS36A command:
CHGS36A LIBL(*YES) and press <ENTER>
Sign off/on all active sessions to use this change
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]
Was this topic helpful?
Document Information
Modified date:
19 October 2020
UID
ibm16342947