I have a CL program, which checks if a PF is present in production in Library Lib1 using CHKOBJ. If the PF is present, then the Logical File is created using CRTLIB command. The source library is mentioned in the CRTLIB command. The LF will be created in a different library (Lib2) and not in the same library where PF is present.
When this CL program is executed in production, I get the error CFP3204 - Cannot find object needed for file FIL in Library Lib2.
This command is working fine in the test environment.
Could you please advise what might be causing this problem in production alone? The library list seems to be fine.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!