Problem description and symptoms:
When running REPRO JCL to copy a VSAM file, it may trigger the error " "JCLAM0150S (12) - ERROR. FILE IS EMPTY" and job fails with return code 12. The VSAM file itself is valid and the data can be viewed through ESMAC.
Resolution:
Starting 6.0 SP2 WS2, we added a fix that checks the record count in the pc file header so that we can catch this situation where a VSAM dataset has been created empty in ES and data has been copied to the underlying pc file outside the ES environment. If the data is copied to the underlying VSAM pc file outside the ES environment, then the file cannot be used as input in REPRO steps and it may trigger the error " "JCLAM0150S (12) - ERROR. FILE IS EMPTY. Only if the record counts > 0 then our IDCAMS processor is aware that the file is no longer empty
Incident: 2616803
Product: Studio EE 6.0, Server EE 6.0, Enterprise Developer 2.1
#EnterpriseDeveloper
#MFDS
#JCLAM0150S