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
 
reading the component through rexx and scaning for string

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

New User


Joined: 25 Jun 2008
Posts: 60
Location: chennai

PostPosted: Tue Sep 16, 2008 1:51 pm    Post subject: reading the component through rexx and scaning for string
Reply with quote

Hi ,

I need to read a member of a pds and inside that i need to search a string can you help me out doing that ............
Back to top
View user's profile Send private message

expat

Global Moderator


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

PostPosted: Tue Sep 16, 2008 2:04 pm    Post subject:
Reply with quote

You allocate the PDS through the ALLOCATE command

You can then either read the contents into a stem variable and process them one by one or use an ISPF edit macro to check to see if the required string is in the member.

Numerous examples will exist on the forum.
Back to top
View user's profile Send private message
pradeepkit
Warnings : 1

New User


Joined: 25 Jun 2008
Posts: 60
Location: chennai

PostPosted: Tue Sep 16, 2008 7:35 pm    Post subject: Reply to: reading the component through rexx and scaning for
Reply with quote

Hi,

Could you please tell me which ISPF edit macro to be used
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue Sep 16, 2008 7:40 pm    Post subject: Re: Reply to: reading the component through rexx and scaning
Reply with quote

pradeepkit wrote:
Hi,
Could you please tell me which ISPF edit macro to be used


Unfortunately not, you have not written it yet icon_lol.gif
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Tue Sep 16, 2008 9:45 pm    Post subject: Reply to: reading the component through rexx and scaning for
Reply with quote

It is probably easiest to use ALLOC command then EXECIO command. To learn EXECIO command, see "TSOE Rexx Reference" manual.
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 Looping REXX - unable to interrupt RAVISANKAR07 CLIST & REXX 3 Wed Dec 06, 2017 1:08 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
This topic is locked: you cannot edit posts or make replies. Rexx to Grab ISMF Information. upendrasri All Other Mainframe Topics 16 Sun Nov 26, 2017 12:35 am
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 12 Sun Nov 19, 2017 7:59 pm

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