Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10327
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: 1243
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: 8165
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
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us