Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
AdrielGB

New User


Joined: 24 Mar 2014
Posts: 1
Location: Brazil

PostPosted: Thu Mar 19, 2015 1:30 pm    Post subject: Rexx to verify if there is any replies in console/sdsf?
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: 2433
Location: Netherlands, Amstelveen

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

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

Senior Member


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

PostPosted: Thu Mar 19, 2015 10:17 pm    Post subject: Reply to: Rexx to verify if there is any replies in console/sdsf?
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

Senior Member


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

PostPosted: Thu Mar 19, 2015 10:32 pm    Post subject: Reply to: Rexx to verify if there is any replies in console/sdsf?
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts SDSF and SAF security danik56 TSO/ISPF 3 Wed Mar 15, 2017 12:51 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us