In a JES2 environment, DLM= can be up to and including 8 characters (JES3 is limited to 2, not sure of JES3+).

In that case, what odds are there of coming up with a safe string?

Just asking.

Steve Thompson

On 4/14/2024 9:04 AM, Paul Gilmartin wrote:
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?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to