Can there be a local %define{ hmm I never tried it...

Andrew Borts / Webmaster
Seta Corporation
6400 East Rogers Circle
Boca Raton, FL 33499
E-mail: Andrewb@xxxxxxxxxxxxxxxxxxx 
Corporate web site http://www.setacorporation.com 
E-Commerce web site http://www.palmbeachjewelry.com
Amazon Store http://www.amazon.com/palmbeachjewelry
Voice: 561-994-2660 Ext. 2211 / Fax: 561-997-0774

 -----Original Message-----
From:   Metz, Zak [mailto:Zak_Metz@xxxxxx] 
Sent:   Friday, April 11, 2003 2:57 PM
To:     Web Enabling the AS400 / iSeries
Subject:        [WEB400] Net.Data: Table instantiation

Speaking of Net.Data...

I'm trying to write some recursive code. I'm almost there, but the last
hurdle may be a doozie. Basically the problem is that I use some tables,
and tables, at least as far as I can tell, HAVE to be declared globally.
I hate global variables.

And really, that's the question. Do they have to be declared globally or
is there a trick that will allow me to instantiate it within a
%MACRO_FUNCTION or %FUNCTION(DTW_SQL) block? I can do stuff like
@DTW_ASSIGN(new_variable,"") and create myself a string. How about a
table? Or is there some way to indicate on a function that the incoming
variable will be a table, which could somehow instantiate it if it
didn't already exist?

Regards,
Zak Metz
NOTICE: This E-mail may contain confidential information. If you are not
the addressee or the intended recipient please do not read this E-mail
and please immediately delete this e-mail message and any attachments
from your workstation or network mail system. If you are the addressee
or the intended recipient and you save or print a copy of this E-mail,
please place it in an appropriate file, depending on whether
confidential information is contained in the message.


_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.





As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.