Hi Kolusu,
1) You could use IPOUPDTE also.
2) Does File manager do "intelligent changes" like ISPF Edit? (If Source String and Target String are different lengths, does the "line" beyond the change get shifted, or, if there multiple blanks, not necessarily)

Regards,
David

On 2023-04-21 12:23, Sri h Kolusu wrote:
Is there a way to do this Edit stuff without a separate macro?
Billy,

If you have access to FILE Manger tool then you can pass the parms as variables 
to job and it will update the file. Here is a simple example

// EXPORT SYMLIST=*
// SET SRCSTRNG='BILLY '
// SET TGTSTRNG='ASHTON'
/*
//STEP0100 EXEC PGM=FILEMGR
//SYSPRINT DD SYSOUT=*
//DDIN     DD DISP=SHR,DSN=Your.input.seq.file.or.pds
//SYSIN    DD *,SYMBOLS=JCLONLY
$$FILEM FCH
C '&SRCSTRNG' '&TGTSTRNG'
/*

Thanks,
Kolusu


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to