CA OPS/MVS Event Management & Automation
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.