Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 2441
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: 2083
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: 2083
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
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 9 Tue Sep 05, 2017 4:24 pm
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us