Problem :
How can the S422 error be avoided, if the input file is missing when running IDCAMS using JCL?
Resolution :
The solution is to set the environment variable MFJ_INPUTDS_ERROR=N
When MFJ_INPUTDS_ERROR is set to N, this will cause the JCL to treat missing input files as though they were present but empty.
The result is that the S422 abend is avoided.
If the JCL is run via Enterprise Server, configure the environment variable in the Enterprise Server Administration panel > Server > Properties > General > Configuration
Information.
It would look like:
[ES-Environment]
MFJ_INPUTDS_ERROR=N
This will then set the Environment Variable when the region/server is started.
Incident#3130304
#MFDS
#MFJ_INPUTDS_ERROR
#IDCAMS
#JCL
#S422
#EnterpriseDeveloper




