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
 

 

WTOR in REXX

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

New User


Joined: 02 Aug 2012
Posts: 3
Location: India

PostPosted: Mon Aug 20, 2012 1:38 am    Post subject: WTOR in REXX
Reply with quote

Dear All,

Is there any way we can issue a WTOR or Just an Information message with hilite message to console from a REXX Program on certain condition.


Thanks,
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Aug 20, 2012 3:33 am    Post subject:
Reply with quote

Hello and welcome to the forum,

Why does someone believe it is appropriate to write messages to the console?

Most organizaton s no longer permit this. . .
Back to top
View user's profile Send private message
Aby Varghese

New User


Joined: 02 Aug 2012
Posts: 3
Location: India

PostPosted: Mon Aug 20, 2012 3:54 am    Post subject: Reply to: WTOR in REXX
Reply with quote

Hello dick scherrer,

I am doing this on a test system only.And it will help me to complete a task assign to me.

Thanks,
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Aug 20, 2012 4:12 am    Post subject:
Reply with quote

then why not utilize sysout (within your job) written with a simple SAY?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Aug 20, 2012 4:15 am    Post subject:
Reply with quote

Hello,

Quote:
And it will help me to complete a task assign to me.
I do not believe having this clutter on the console will be any help to you. Possibly you do not realize how quickly lines scroll off the concole and then you would have to search for them - tedious at best.

Suggest you do as DBZ recommended and write these to SYSOUT where all of your messages will be together.
Back to top
View user's profile Send private message
Aby Varghese

New User


Joined: 02 Aug 2012
Posts: 3
Location: India

PostPosted: Mon Aug 20, 2012 4:34 am    Post subject: Reply to: WTOR in REXX
Reply with quote

I think I am not confusing you all.My requirement is to post a message on the console (Hilite / WTOR ). Just to notify the Operator ;)
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Aug 20, 2012 4:36 am    Post subject:
Reply with quote

Hello,

There is NO need to post a message to the computer operator for test jobs. . .

WHY does someone believe this is necessary or even acceptable?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Aug 20, 2012 6:20 am    Post subject:
Reply with quote

Using the SAY command will not emulate a WTOR,
sorry about that.

What REPLY are you expecting?

this is a mainframe environment not a PC.
there could be a 1000 tasks running,
and if you expect an operator to intervene for some test BS
you have not interpreted your requirements properly.

why don't you start over and explain exactly what you are trying to accomplish.

otherwise,
look at the manuals how
to have REXX invoke a GCS Macro like WTOR.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Mon Aug 20, 2012 2:52 pm    Post subject: Reply to: WTOR in REXX
Reply with quote

posting misleading/false info will lower Your chances of getting help ...

Quote:
I am doing this on a test system only.And it will help me to complete a task assign to me


but when somebody showed that what You are trying to do is improper
You put the blame on the infamous ... that' s the requirement.

Quote:
My requirement is to post a message on the console (Hilite / WTOR ). Just to notify the Operator


which one is a lie icon_question.gif icon_evil.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Aug 20, 2012 5:17 pm    Post subject:
Reply with quote

Does ALXRWTOR from BILL SWEENEY help you? Have a look.

PS.: Needless to say, I hope you've considered what Dick, Dick and Enrico have said.
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Mon Aug 20, 2012 10:33 pm    Post subject: Reply to: WTOR in REXX
Reply with quote

I am not sure what ALXRWTOR does, but it should be frowned upon to use such a product (as I envision it).

If you (actually, not you, but someone with malicious intent) can issue console messages that simulate legitimate system messages, it may be feasible to trick the operator to responding inappropriately.
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 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
This topic is locked: you cannot edit posts or make replies. Need to code a Rexx PGM sundaram.naveen CLIST & REXX 18 Thu Oct 06, 2016 6:45 pm
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm


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