When issuing MVS commands via automation (e.g., using OPS/MVS to stop collections), the task may ignore commands or fail to shut down gracefully, resulting in the following message:
OPU3092H Ignoring unrecognized keycode:) MSGCANCEL command to terminate during IPL windows.OPS/MVS Event Management & Automation, ALL RELEASES
The issue is typically caused by an MVS command syntax error in the automation setup. Specifically, missing quotation marks or delimiters (commas) in the command string prevent the subsystem from correctly parsing the intended action.
Correct the MVS command syntax in the automation member or REXX script. Ensure that all arguments are properly enclosed in single quotes and that commas are used to separate parameters correctly.
Instead of unquoted or incorrectly formatted strings, use the following syntax:
CMD1('F &JOBNAME,RUN(rexx script member)')
Note:
' encapsulate the entire modify command after CMD1., before the RUN parameter.