ARFSET Question

Document ID : KB000106804
Last Modified Date : 16/07/2018
Show Technical Document Details
Question:
I have created a ARFSET Rule type EE, what I want to do in the Response field an AC command to Cancel an active running job. Rule works, just not getting the syntax correct for issuing a command to cancel the job. I cannot find any examples of commands other than messaging the console.
Answer:
The /MVS command can issue MVS operator commands. 
This command has the following format: 
►►─ /MVS ─ , ─┬─ M ───┬─ =(operator command) ─────────────────────────────────►◄ └─ MSG ─┘ 
MSG 
Defines the MVS system console operator command to be issued. If commas are included as part of the MVS command text, enclose the entire command text in parentheses. 
Limits: 1 to 60 alphanumeric characters

/MVS,MSG=(C &JOBNAME)