Problem:
When running a batch job in Mainframe Express, we get a condition code of RU0005.
This is not documented anywhere. What is it?
Resolution:
There have been only a few cases reported for this error and any RUnnnn job step condition codes we have seen have always been related to user coding.
One case involved COBOL CALLing Assembler with a bad value passed for a user abend. For instance, COBOL used a field defined as PIC 9(4) instead of using a field defined as PIC S9(4) COMP. The hexadecimal value was incorrect and the job step handler prefixed the value with a 'RU' indicator.
Another case involved COBOL CALLing Assembler to WRITE (in Assembler terms it is really a PUT) a record to a variable length file, but COBOL was not passing a correct length ahead of the record data.
#MFDS
#EnterpriseDeveloper