Cool. Definitely time to dig into plumbing on the 6.4 system. Thanks again for your guidance, and to you to Glenn, it is much appreciated. I'm still getting my head around "append", "hole", and even "literal"...
Kind regards, Peter Bishop System Programmer – Mainframe -----Original Message----- From: CMSTSO Pipelines Discussion List <[email protected]> On Behalf Of Rob van der Heij Sent: Thursday, March 7, 2019 08:43 To: [email protected] Subject: Re: [CMS-PIPELINES] beginner's question: how can I process an empty pipe? On Wed, 6 Mar 2019 at 22:19, Bishop, Peter <[email protected]> wrote: > We do plan to upgrade this 6.3 system soon. BTW the code works fine > on the 6.4 system that I have access to: > Would I have had egg on my face if it didn't! Since you're only expecting a single line of output, you could do something like this: ... | append literal Nothing to see | take 1 | console Now obviously if you'd call your program with "DASD" or "2" as argument, you might have many hits and the TAKE would obscure that. But that's one of the things Glenn pointed out in making it more robust. Sir Rob the Plumber DXC Technology Australia Pty Limited; Registered Office: 26 Talavera Road, Macquarie Park NSW 2113 Australia; Incorporated in Australia ACN: 008 476 944. DXC Technology Company -- This message is transmitted to you by or on behalf of DXC Technology Company or one of its affiliates. It is intended exclusively for the addressee. The substance of this message, along with any attachments, may contain proprietary, confidential or privileged information or information that is otherwise legally exempt from disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate any part of this message. If you have received this message in error, please destroy and delete all copies and notify the sender by return e-mail. Regardless of content, this e-mail shall not operate to bind DXC Technology Company or any of its affiliates to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
