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: 2249
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 REXX SDSF filtering CLIST & REXX 8
No new posts Trying to reference a javascript glob... CLIST & REXX 7
No new posts REXX - Adding variables CLIST & REXX 8
No new posts Help this REXX Rookie-Bad arithmetic ... CLIST & REXX 7
This topic is locked: you cannot edit posts or make replies. REXX to find /* Define and write the ... CLIST & REXX 5
Search our Forums:

Back to Top