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
 

 

Multi Threading in REXX

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

New User


Joined: 22 Aug 2008
Posts: 20
Location: india

PostPosted: Mon Jan 24, 2011 12:46 pm    Post subject: Multi Threading in REXX
Reply with quote

Hi,

My Requirement is to create two Threads.

Thread 1
Will check the users keyed input from A to B and 1 to 9. (Because by default only PF keys will intiate the program)

Thread 2
If the user inputs 'IDENT' in the column 8 then, a small POp window is required to be apperaed to show 'Identification Division' and so on having IDENT as prefix....

But during that time the user can also input more in the dataset. This will be taken care by the Thread 1.

I googled the same and didnt find any informativly. I am new to Thread concept in REXX. Please help anyone to know some more information about the Thread concept in REXX.
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


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

PostPosted: Mon Jan 24, 2011 2:08 pm    Post subject:
Reply with quote

Since ISPF does not provide a multi-thread environment at user Session level,
what you are dreaming about on the mainframe can not happen.

now, on the pc, yes, but you need to use an OO version REXX.
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 Jan 24, 2011 10:06 pm    Post subject:
Reply with quote

Hello,

You have a solution in search of a reuirement. There are many million rexx routines that do no have to have this. I suspect that what you actually want to accomplish can be done (has been done) otherwise also.

Why can the "user" not simply toggle between screens. . . icon_confused.gif
Back to top
View user's profile Send private message
pmvino

New User


Joined: 22 Aug 2008
Posts: 20
Location: india

PostPosted: Fri Jan 28, 2011 5:36 pm    Post subject: Reply to: Multi Threading in REXX
Reply with quote

Hi,

Actually I intended that, the pop up window should be populated automattically without pressing any PF keys....

My Req is I would like to develope some Cobol Editors like Eclipse where it helps to populates all obj names for a class or it populates all mthods in that obj... etc...


similar to that, If we press IDEN it should show IDENTIFICATION DIVISION. Also If I press Perform 1000- if that para exists then it should populate the para name. so that user can free from typing....

Please let me know if any ways are there to do this task...
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Fri Jan 28, 2011 6:52 pm    Post subject: Reply to: Multi Threading in REXX
Reply with quote

Quote:
My Req is I would like to develope some Cobol Editors like Eclipse where it helps to populates all obj names for a class or it populates all mthods in that obj... etc...

what a waste of time and resources icon_evil.gif

it would be wiser to meditate on the skills needed ( or rather the lack of them )
for such a challenging and USELESS project/requirement

Quote:
Please let me know if any ways are there to do this task...

a yes/no question deserves a yes/no answer...
yes, there are ways, as long as You have the skills needed

control display, dynamic panel areas, quite a few other alternatives
as long as the logic and presentation requirement are clear!

the net is rich of examples using pop up, dynamic areas and friends!
Back to top
View user's profile Send private message
prino

Active Member


Joined: 07 Feb 2009
Posts: 989
Location: Oostende, Belgium

PostPosted: Fri Jan 28, 2011 7:14 pm    Post subject: Re: Reply to: Multi Threading in REXX
Reply with quote

pmvino wrote:
Please let me know if any ways are there to do this task...


The product you are looking for is called Windoze.
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 642
Location: Whitby, ON, Canada

PostPosted: Sat Jan 29, 2011 12:00 am    Post subject: Re: Reply to: Multi Threading in REXX
Reply with quote

pmvino wrote:
Hi,

Actually I intended that, the pop up window should be populated automattically without pressing any PF keys....
...

An interesting idea, but will not work under TSO. Until you hit ENTER (or other AID key) the system has no idea where the cursor is. The best you could do is have the user hit a PFK which would trigger your lookup function. The function would determine the word that the cursor is on; from that it could display a popup window that is populated based on the word that the cursor is pointing to.
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Sun Jan 30, 2011 10:30 pm    Post subject: Reply to: Multi Threading in REXX
Reply with quote

I do not recall this being said recently...

The 3270 emulator that you use to connect to the mainframe is software that is pretending to be hardware for a 3270 terminal. You are limited by the hardware capabilities from the 1970's. That is why you cannot do some of the modern functions that you want to do.

But you can get products such as Rational Developer for Z that probably already do what you want. Instead of using an emulator, they have code that runs on Windows communicating through TCP/IP with a server running on z/OS.
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
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 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


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