IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Trap a CP command message in Rexx zVM


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jeffery

New User


Joined: 11 Dec 2019
Posts: 1
Location: usa

PostPosted: Wed Dec 11, 2019 10:52 pm
Reply with quote

Hi. I'm trying to trap a CP command message in a rexx program running under zVM. The command is Q U xxxx

I simply want to interrogate the result to ensure the guest machine is not logged off. In rexx under TSO I could use the OUTTRAP command, but that command isn't recognized under zVM.

Is there something equivalent that I could use under zVM? Thanks.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Fri Dec 13, 2019 12:13 pm
Reply with quote

I looked here: publibfp.dhe.ibm.com/epubs/pdf/hcse2c10.pdf

but did not find it. Try looking in the PIPE capability which, I think, can put the result into a file.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
Search our Forums:

Back to Top