How to correct the RC(84) - COMMAND BUFFER PARSE ERROR when using OPSREPLY
Customer is trying to use the OPSREPLY function to reply to an outstanding message when shutting down started tasks prior to system shutdown (e.g. OPSREPLY JOBNAME(nnnnnnnn) TEXT(STOP)).
When the OPSREPLY executes, a RC(84) is returned.
Sample REXX code used:
imstask = 'x'
Address TSO "OPSREPLY JOBNAME("imstask") TEXT(/XYZ FREEZE)"
do while queued() <> 0
say '>>' q
The RC(84) indicates a syntax error. Examine the code for errors.
In this particular example above the customer needed to add a quote mark around the actual text as follows:
ADDRESS TSO "OPSREPLY JOBNAME("IMSTASK") TEXT('/XYZ FREEZE')"
The text needs to be within quotes because the OPSREPLY "TEXT" keyword contains a blank.
For more information on the OPSREPLY, please refer to the OPSREPLY Command Processor section for the release that you are running. For r13.5: