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: 2422
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: 2019
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: 2019
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 PDSFAST VERIFY - What does it really ... shetttigarvivek JCL & VSAM 1 Tue Nov 29, 2016 9:21 am
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
No new posts Replace repeated JCL with looping REXX prino CLIST & REXX 3 Thu Oct 13, 2016 5:30 am
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm


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