IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

WTOR in REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Mon Aug 20, 2012 3:33 am
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
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
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

Moderator Emeritus


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

PostPosted: Mon Aug 20, 2012 4:15 am
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
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

Moderator Emeritus


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

PostPosted: Mon Aug 20, 2012 4:36 am
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Aug 20, 2012 2:52 pm
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

Superior Member


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

PostPosted: Mon Aug 20, 2012 5:17 pm
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

Global Moderator


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

PostPosted: Mon Aug 20, 2012 10:33 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top