mainframe_96
New User
Joined: 18 Dec 2006 Posts: 13 Location: usa
|
|
|
|
You can search a string in more than one datsets,but they need to be same record length and type to be concatenated. I do not think you can have diff record lengths.
create different steps search1, search 2 by record length and execute the job
Code: |
//SEARCH EXEC PGM=ISRSUPC,
// PARM=(SRCHCMP,
// 'ANYC')
//NEWDD DD DSN=pds.dsn1,
// DISP=SHR
// DD DSN=pds.dsn2,
// DISP=SHR
//OUTDD DD SYSOUT=(A)
//SYSIN DD *
SRCHFOR 'STRING'
/* |
The search results will show where the serch matches came from (conact 01 , concat02)
|
|