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
 

 

Searching in a PDS using REXX.

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

New User


Joined: 24 Feb 2008
Posts: 48
Location: Kolkata

PostPosted: Mon Aug 03, 2009 3:03 pm    Post subject: Searching in a PDS using REXX.
Reply with quote

Hi,

I was scanning a PDS using ISPF service i my REXX. But a problem I encountered is that for entering into each member the REXX tool expectes me to press "ENTER". So for say, if there are 5 members i need to press 5 times. Not getting any idea how to overcome this?

Please suggest.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Mon Aug 03, 2009 3:06 pm    Post subject: Reply to: Searching in a PDS using REXX.
Reply with quote

what would be wrong in using superc icon_question.gif icon_question.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Aug 03, 2009 3:10 pm    Post subject:
Reply with quote

What are you actually trying to achieve ?
Back to top
View user's profile Send private message
abhishek mitra

New User


Joined: 24 Feb 2008
Posts: 48
Location: Kolkata

PostPosted: Mon Aug 03, 2009 4:14 pm    Post subject: Re: Reply to: Searching in a PDS using REXX.
Reply with quote

enrico-sorichetti wrote:
what would be wrong in using superc icon_question.gif icon_question.gif


What i mentioned is a small portion of my tool which basically searches each member and creates report.
Back to top
View user's profile Send private message
abhishek mitra

New User


Joined: 24 Feb 2008
Posts: 48
Location: Kolkata

PostPosted: Mon Aug 03, 2009 4:18 pm    Post subject:
Reply with quote

expat wrote:
What are you actually trying to achieve ?


Actually I am creating a rexx tool which will scan each member in a PDS and will generate ceratin reports.

The problem I have to press ENTER multiple times to get th result of the search. This is most probably due to the fact that the rexx tool expects me to press enter before entering a new member after completing the previous one.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Aug 03, 2009 4:23 pm    Post subject:
Reply with quote

Have you tried running it using TRACE R or TRACE ?R to see exactly what happens when to locate the piece of code that is waiting for you to press enter.
Back to top
View user's profile Send private message
abhishek mitra

New User


Joined: 24 Feb 2008
Posts: 48
Location: Kolkata

PostPosted: Mon Aug 03, 2009 4:45 pm    Post subject:
Reply with quote

expat wrote:
Have you tried running it using TRACE R or TRACE ?R to see exactly what happens when to locate the piece of code that is waiting for you to press enter.


It waits just before entering a new member after traversig the current member.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1228
Location: Israel

PostPosted: Mon Aug 03, 2009 6:15 pm    Post subject:
Reply with quote

ask expat for his psychic day. (my guess is that it's not today).

or

show us some code...
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Aug 03, 2009 6:23 pm    Post subject:
Reply with quote

Yes, the crystal ball is in for repairs icon_lol.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Mon Aug 03, 2009 6:37 pm    Post subject:
Reply with quote

Quote:
Yes, the crystal ball is in for repairs
I told you loaning it to Harry Potter was not a good idea ... icon_smile.gif
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. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm


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