Paul Gilmartin said, >> And no DLM is safe to use with instream XMIT output. <<
True. However, for any given stream there is ahigh likelihood of finding a 2 char symbols that would work for that stream. I wrote a program to scan files to find a suitable delimiter string to use some years back. I've lost it now of course! Lennie -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Paul Gilmartin Sent: 14 April 2024 14:04 To: [email protected] Subject: Re: ./ ADD - which utility? On Sat, 13 Apr 2024 20:01:50 -0500, Mike Schwab wrote: >You can set it up for a //SYSIN DD DATA,DLM='??' and add the >'?? ' >Card at the end. > That's not enough. If the input PDS contains a member with a line beginning with "./", which is likely in JCL with instream data, IEBUPDTE will improperly treat it as a command, not data. A similar problem arises if a data line begins with "??". And no DLM is safe to use with instream XMIT output. >On Sat, Apr 13, 2024 at 6:52 PM Paul Gilmartin wrote: >> >> On Sun, 14 Apr 2024 08:34:30 +1000, Wayne Bickerdike wrote: >> >> >I have some REXX code that extracts all members of a PDS and writes >> >it to a sequential file. Each member extracted is prefixed with the >> >./ADD card with the original member name. Handy for moving a PDS to another >> >system. >> >IEBUPDTE was the utility of choice when all we had was a card punch >> >and card reader. (1975). >> > >> Have you just rediscovered IEBPTPCH? >> >> How does this work if your input PDS is a JCL library containing some >> jobs with IEBUPDTE steps with instream commands? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
