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: 2258
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 How to modify file content using REXX CLIST & REXX 3
No new posts VB file copy COBOL program gives erro... COBOL Programming 3
No new posts CNTL= Command Syntax Documentation CA Products 3
No new posts Same command as on commandline in REX... TSO/ISPF 6
No new posts process statement for SUPREC, CMPCOLM... TSO/ISPF 4
Search our Forums:

Back to Top