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

Searching in a PDS using REXX.


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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Aug 03, 2009 3:06 pm
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: 8797
Location: Welsh Wales

PostPosted: Mon Aug 03, 2009 3:10 pm
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
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
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: 8797
Location: Welsh Wales

PostPosted: Mon Aug 03, 2009 4:23 pm
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
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: 1353
Location: Israel

PostPosted: Mon Aug 03, 2009 6:15 pm
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: 8797
Location: Welsh Wales

PostPosted: Mon Aug 03, 2009 6:23 pm
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Mon Aug 03, 2009 6:37 pm
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 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