10 An I/O error occurred trying to update the directory of a
partitioned data set.

Action for rc-10

Quote:

If an I/O error has occurred, a defective volume or device may be the
cause. Save the output from the failing job to aid in the analysis of the
problem. Rerun the job specifying a different volume or device. If a
scratch volume was being used when the I/O error occurred, request a
different volume. If that does not solve the problem, request a different
device in the UNIT parameter of the DD statement. If a specific volume is
needed, try requesting a different device in the UNIT parameter of the DD
statement. Rerun the job. For return code 08, the TTRN value can be found
in the DCBRELAD field of the DCB. This value can be compared with the
extent information contained in the DEB.

If you stop "jumping around" you will probably get what you need sooner.

I'd suggest going back to the IEBGENER SuperK provided and working with that. All of the other is just clutter.

Please put together a job using the suggested IEBGENER and if it does not work as needed, post the entire jcl (both execute and PROCedure if there is a PROC) as well as the diagnostic info from the execution.

When we see both the jcl/proc and the matching diagnostic info, we can tell you how to correct it.