Would be preferable to avoid truncation of a longer new record when dealing 
with recfm=VARIABLE.
But at this point, it sounds as if there is not an elegant resource-light 
method for so doing?

--Shawn S.


-----Original Message-----
From: CMSTSO Pipelines Discussion List <CMS-PIPELINES@VM.MARIST.EDU> On Behalf 
Of Rob van der Heij
Sent: Friday, September 11, 2020 2:51 AM
To: CMS-PIPELINES@VM.MARIST.EDU
Subject: Re: [CMS-PIPELINES] Replace single record in file

On Fri, 11 Sep 2020 at 01:00, Glenn Knickerbocker <n...@bestweb.net> wrote:
> If you want to pad or truncate as needed, probably the simplest way is
> to convert V2C and then back C2V.  Assuming the input is numbered for
> DISKUPDATE:
>

Good to have another pair of eyes on it. I didn't interpret the question as 
that Shawn was willing to truncate or pad so it would fit. That's indeed a nice 
plumbing challenge for a Friday afternoon.

Rob


-----Original Message-----
From: CMSTSO Pipelines Discussion List <CMS-PIPELINES@VM.MARIST.EDU> On Behalf 
Of Rob van der Heij
Sent: Thursday, September 10, 2020 3:31 PM
To: CMS-PIPELINES@VM.MARIST.EDU
Subject: Re: [CMS-PIPELINES] Replace single record in file

Nope. As you found, that's due to CMS restrictions for RECFM V files.
Depending on the use case, it might be possible to have a separate file to list 
the replacements, and use the record from the replacements when present, and 
otherwise go to the original one.

Rob



Reply via email to