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: 2475
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: 2214
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: 2214
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
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
No new posts Calling Assembler from REXX PL/I & Assembler 5
Search our Forums:

Back to Top