07-20-2011 07:25 AM
I need to replace a string in the PDS member ,string which i need to change in each pds member are present in the seperate PS.
member names are:
Below are the dat present int hePS file
Membername String which want to replace in member
I want to read the SRGM2001 from the PS file and need to search in the PDS file if found i want to open that member
and need to search 2005 if present i need to replace with 2001 similarly for remaining members .
Could you please help me to achieve this
07-24-2011 11:58 PM
I didn't get any reply for my above requirement for three days which helped me to found the solution by my own.
Filevar statement and TRANWRD statement satisifed my requirement.
Please find the code as below
input store $;
length ftrw $50;
infile dummy filevar=ftrw sharebuffers end=done;
FILE DUMMY FILEVAR=FTRW;
input @1 sss $80.;
%INCLUDE YY; //Which contains TRANWRD stements