Using OPSREPLY and getting RC(84) - COMMAND BUFFER PARSE ERROR
book
Article ID: 131417
calendar_today
Updated On:
Products
CA OPS/MVS Event Management & Automation
Issue/Introduction
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: trace i imstask = 'x' Address TSO "OPSREPLY JOBNAME("imstask") TEXT(/XYZ FREEZE)" say 'rc='rc do while queued() <> 0 pull q say '>>' q end return
Environment
Release: Component: OPSMVS
Resolution
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: