|
Hi Ed, In that case, I'd create a user source function in the "Function Utility File". The user source would be an RPG(LE) snippet that did nothing but set on LR. Generate the function with Close Down set to N. Then in the action diagram you can test for the parameter and optionally call the user source function, and *EXITPROGRAM. bill ----- Original Message ----- From: e.h.doxtator@xxxxxxxxxxxxx <mailto:e.h.doxtator@xxxxxxxxxxxxx> To: midrange-l@xxxxxxxxxxxx <mailto:midrange-l@xxxxxxxxxxxx> Sent: Friday, October 28, 2005 2:17 PM Subject: RE: Synon and LR >date: Fri, 28 Oct 2005 13:56:00 -0400 >from: Bill Meecham < BMeecham@xxxxxxxxxxxxxxxxxxxx <mailto:BMeecham@xxxxxxxxxxxxxxxxxxxx> > >subject: Re: Synon and LR >Opps, to leave LR off, set that to N. Hi Bill. OK, so you can control LR at generation time. Is it possible to control LR programmatically? So if I call the program with a parameter, it will turn LR on or off accordingly? Something like: C *ENTRY PLIST C PARM ALIVE 1 C* C* Mainline ----------------Do some stuff here------------- C* C* If ALIVE is set to 'Y', do not set on *INLR C ALIVE IFEQ 'N' C MOVE *ON *INLR C ENDIF Thanks -Ed
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.