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

Rexx to verify if there is any replies in console/sdsf?


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

New User


Joined: 24 Mar 2014
Posts: 3
Location: Brazil

PostPosted: Thu Mar 19, 2015 1:30 pm
Reply with quote

Hello guys.
I got a question, there is any command or rexx for SDSF that can return me the replies that is pending in console?

Or any other ways (dont know if is possible).

THere is a lot of replies in my console (many of them are useless) , and i want to use a batch job (cycle) to verify is there is any reply peding to be respond, and if the rexx could return which is, i will create another rexx to check-it and responds if necessary (basing on a rule of which reply could be answered.)

(Use CA-OPS or other software automation is out of question/NOT POSSIBLE).

Regards!
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Mar 19, 2015 1:56 pm
Reply with quote

Maybe you can use console command "DISPLAY R".
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Thu Mar 19, 2015 10:17 pm
Reply with quote

The TSO/E Rexx Reference manual has appendix C and D, which describe how to use the CONSOLE host command environment to issue operator commands and how to use the GETMSG() function to get the command response.

As Peter suggests, use "D R,L" to get the list of pending responses and the compare against your list of normal requests.
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Thu Mar 19, 2015 10:32 pm
Reply with quote

TSO/E System Programming Command Reference describes the details of the CONSOLE command. See also the CONSPROF command.

Not just anyone can submit console commands. See TSO/E Customization, which discusses how to grant access.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts REXX to get all Dataset names from a ... CLIST & REXX 5
No new posts Instream REXX? JCL & VSAM 13
No new posts CEMT using Rexx? Help please CLIST & REXX 3
No new posts get submitted JCL from SDSF with REXX... CLIST & REXX 2
No new posts How to Operate with Operator console ... IBM Tools 11
Search our Forums:


Back to Top