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: 2214
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 Command line placement in DB2I panels TSO/ISPF 1
No new posts Any examples of calling FTP from REXX? CLIST & REXX 1
No new posts SummeRx: a new framework for REXX z/OS CLIST & REXX 6
No new posts A command to change LRECL of an exist... JCL & VSAM 7
No new posts Using REXX to access SDSF; What am I ... CLIST & REXX 38
Search our Forums:

Back to Top