View previous topic :: View next topic
|
Author |
Message |
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
pradeepkit Warnings : 1 New User
Joined: 25 Jun 2008 Posts: 60 Location: chennai
|
|
|
|
Hi,
Could you please tell me which ISPF edit macro to be used |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
pradeepkit wrote: |
Hi,
Could you please tell me which ISPF edit macro to be used |
Unfortunately not, you have not written it yet |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
It is probably easiest to use ALLOC command then EXECIO command. To learn EXECIO command, see "TSOE Rexx Reference" manual. |
|
Back to top |
|
|
|