Try 
%Define {
DTW_EDIT_CODES="YYY"
%}

I always set them up in the beginning of the macro.

Craig

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Don Cavaiani
Sent: Wednesday, February 21, 2007 10:00 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Net.Data edit codes error

I thought that was what the * meant.  I should not need it if I am only
selecting the 3 numeric fields in the SQL statement, right? 

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Craig Jacobsen
Sent: Wednesday, February 21, 2007 8:53 AM
To: 'Web Enabling the AS400 / iSeries'
Subject: Re: [WEB400] Net.Data edit codes error

Do you have a place holder for the other output fields (*)???

Craig

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Don Cavaiani
Sent: Wednesday, February 21, 2007 9:44 AM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Net.Data edit codes error


I have JUST SQL read in a record with 3 numeric (date) fields, and am
trying to edit the fields to display as 2007/02/21  format.

I am using this:  @DTW_assign(DTW_EDIT_CODES "YYY")

However, I get this error:   NET.DATA Error: An incorrect symbol (") was
encountered at line 47 of file
Is there a better way to EDIT fields?

Don F. Cavaiani
IT Manager
Amerequip Corp.
920-894-7063
 
'Treat every person with kindness and respect, even those who are rude
to you. Remember that you show compassion to others not because of who
they are but because of who you are.'--Andrew T. Somers 

"When faced with the choice of being 'right' or being 'kind', choose the
kind option every time."


--
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 ...

Replies:

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.