search string in VSAM files
Posted: Thu Aug 23, 2007 3:03 pm
If I need to search a string in 20 vsam files...is there any command to do so
Mainframe Technical Support Forums
https://www.ibmmainframeforum.com/
I need to search a string in 20 vsam files
So the string will be in the same location in every record?kamal wrote:All the VSAM files are of same layout.
There's a field V-NAME PIC x(32).
I need to search value 'JIMI$ADAMS' in V-NAME fileds in all 20 VSAM files...
As in PS files we use SRCHFOR 'JIMI$ADAMS' ...
what will you do with this string when you find it?