ISPF Edit Macros in batch... ? – Vignesh Mainframe Infrastructure
-----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Elardus Engelbrecht Sent: 28 March 2019 07:52 To: [email protected] Subject: [EXTERNAL] Batch edit of large dataset Hi to all, I've got a requirement where a single line in large dataset (RECFM=VB or FB and LRECL=<larger than 2048>) needs to be edited/changed in batch. Changed dataset is then to be used in next job steps. Sounds easy? Interactively with TSO yes, but they want it to be done in a batch job. Something like c '???' '!!!' which can be easily done interactively. I have a look at the different utilities. One utility I could find useful is the EDIT and CHANGE commands running under IKJEFT. Unfortunately those IKJEFT01 commands require that the dataset lines need to be numbered. I tried it out: READY EDIT '??.TEST' OLD TEXT ASIS NONUM EDIT CHANGE 1 2000 'ONE' 'TWO' IKJ52502I DATA SET NOT LINE NUMBERED EDIT END The IKJ52502I is not what I want. Is there a batch utility where I can edit a line in large dataset? I am very sure I am overlooking something obvious. Many thanks in advance. Groete / Greetings Elardus Engelbrecht ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN MARKSANDSPENCER.COM ________________________________ Unless otherwise stated above: Marks and Spencer plc Registered Office: Waterside House 35 North Wharf Road London W2 1NW Registered No. 214436 in England and Wales. Telephone (020) 7935 4422 Facsimile (020) 7487 2670 www.marksandspencer.com Please note that electronic mail may be monitored. This e-mail is confidential. If you received it by mistake, please let us know and then delete it from your system; you should not copy, disclose, or distribute its contents to anyone nor act in reliance on this e-mail, as this is prohibited and may be unlawful. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
