Hi Dave,

Try PERFORM, or convert subsequent actions to DATA statements prior to your
first EXECUTE.

Check the Universe Basic Reference Manual for the differences between
PERFORM and EXECUTE.

hth,

Dave

Dave Taylor
CEO
Sysmark Information Systems, Inc.
49 Aspen Way
Rolling Hills Estates, CA 90274
800-SYSMARK (800-797-6275)
(O) 310-544-1974
(C) 310-561-5200
(F) 310-377-3550
www.sysmarkinfo.com
Your Source for Integrated EDI Translation, DataSync Integration and
Software Migration
Authorized IBM Business Partner
----- Original Message ----- 
From: "Dave Greer" <[EMAIL PROTECTED]>
To: "U2-Users (E-mail)" <[email protected]>
Sent: Friday, August 03, 2007 5:40 AM
Subject: [U2] EXECUTE environment in Universe


> Is there a configuration setting or $OPTIONS routine, other than $OPTIONS
> PIOPEN.EXECUTE, that keeps select lists active when an Execute command is
run?
> Our software package uses basic programs with execute statements rather
than
> procs to run reports. An example might be something like the following:
>
> EXECUTE 'SSELECT ORDER WITH B/O.FLAG "Y" BY CUSTOMER BY DUE.DATE'
CAPTURING
> REPLY RETURNING MSG
> IF SYSTEM(11) = 1 THEN
> EXECUTE 'PRINT BACKORDER.REPORT'
> END
>
> I'm afraid of the unintended consequences of using PIOPEN.EXECUTE because
> EXECUTES are used throughout hundreds of programs and many include named
> common variables.
>   _____
>
> Dave Greer
> Director of Information Systems
>
>  NewAge Industries AdvantaPure
> <http://www.newageindustries.com/images/nalogo.jpg>
>
> NewAge Industries, Inc.
> [EMAIL PROTECTED]
> www.newageindustries.com <http://www.newageindustries.com/>
> 215.526.2300 PHONE
> 215.526.2191 FAX
>
>
>
>  <http://www.newageindustries.com/>
> Notice: If you are not the named recipient of this transmission, please
notify
> us immediately, by telephone, and delete or destroy any copy of this
message.
> You should not disclose or use this information in any way. Disclosure or
use
> of this information may expose you to criminal or civil liabilities. We
> apologize for the inconvenience and thank you for your attention to this
> notice.
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to