To answer Bob: Strictly speaking, yes, they typically should be continuation records.
To answer John: But the specs for the input that I was given indicated any line containing a '~' in any location anywhere in the record. Hence, Mike Harding's suggestion to LOCATE records the records with a tilde, then insert a new continuation character at the front. JOINCONT would then remove the leading tilde, but leave the previous one intact. That's the reason for the cascade of CHANGE stages. To be answered still: Had JOINCONT's "RANGE" permitted scanning the whole record for a single continuation character, it would have neatly solved the problem in one stage. That is why I asked if there is any reason to not make JOINCONT's "RANGE" more powerful by having it scan for any match in the full RANGE, working as Mike Harding so concisely pointed out: as "LOCATE" rather than "PICK". The current behavior is (unless I missed it) not clearly documented. Mike Walter Hewitt Associates Any opinions expressed herein are mine alone and do not necessarily represent the opinions or policies of Hewitt Associates. "Bob Cronin" <[email protected]> Sent by: "CMSTSO Pipelines Discussion List" <[email protected]> 12/15/2008 01:02 PM Please respond to "CMSTSO Pipelines Discussion List" <[email protected]> To [email protected] cc Subject Re: When JOINCONT doesn't Well, naturally, they're *continuation* records ... bc On Mon, Dec 15, 2008 at 11:53 AM, Mike Harding <[email protected]> wrote: > Except that JOINCONT LEADING looks for the continuation characters in > continuation records, not the first of a series? > > > CMSTSO Pipelines Discussion List <[email protected]> wrote on > 12/14/2008 02:24:50 AM: > >> I suggest you make it JOINCONT LEADING /~/, keep the locate for the >> tilde and drop all four CHANGE. The point is that JOINCONT removes >> the continuation indicator unless you specify KEEP. >> >> j. > The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by e-mail.
