Re: Shelling out CRTLF via QCMDEXC -- question about success/failure

Richard Schoen <richard-DiTrGpQEJGItADg8e/3/[email protected]> Tue, 9 Jun 2026 15:49:49 +0000
Newsgroups gmane.comp.hardware.ibm.midrange
Message-ID <CH0PR12MB5250002588EF7D890E7441D1B71D2@CH0PR12MB5250.namprd12.prod.outlook.com>
Not sure anyone else mentioned this but there is a "CL" pase command that can be used instead of "system".

STDOUT will return any CPF messages that get surfaced. 

Try it out. It just might work for you. 

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard-DiTrGpQEJGItADg8e/3/[email protected]
------------------------------

message: 5
date: Tue, 9 Jun 2026 10:44:53 -0500
from: David Gibbs via MIDRANGE-L <[email protected]>
subject: Re: Shelling out CRTLF via QCMDEXC -- question about
	success/failure

On Mon, Jun 8, 2026 at 4:31?PM James H. H. Lampert via MIDRANGE-L <
[email protected]> wrote:

> I've got a project in which I will be using a QCMDEXC call to shell out
> a CRTLF (from a generated source member). What is the easiest way for
> the calling program to determine whether the CRTLF was successful?
>
>
IMO, doing something like that justifies creating a dedicated CL pgm/module
so you can properly do the compile and return a good result.

david
-- 
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.