I'm not sure the double-quotes(") will work.
      BWLOAA = "CR"


David L. Mosley, Jr.
Systems Analyst
2000 CentreGreen Way
Suite 250
Cary, NC 27513

www.dancik.com


                                                                                
                                                      
                      Diane Nott                                                
                                                      
                      <dnott@xxxxxxxxx         To:      web400@xxxxxxxxxxxx     
                                                      
                      .edu>                    cc:                              
                                                      
                      Sent by:                 Subject: [WEB400] Re: Net.Data 
Error Question                                          
                      web400-bounces@x                                          
                                                      
                      idrange.com                                               
                                                      
                                                                                
                                                      
                                                                                
                                                      
                      07/21/2003 12:04                                          
                                                      
                      PM                                                        
                                                      
                      Please respond                                            
                                                      
                      to Web Enabling                                           
                                                      
                      the AS400 /                                               
                                                      
                      iSeries                                                   
                                                      
                                                                                
                                                      
                                                                                
                                                      




NET.DATA DTW_SQL Error: Function function1: The statement failed.
Comparison operator = operands not compatible. (SQLSTATE 42818, SQLCODE
-401)

Here is also part of the SQL function:
%FUNCTION(DTW_SQL) function1() {
  SELECT BWNMID, BWCQAA, BWCMAA,
    BWOKAX as PTFT, BWLOAA as CR, C3U2A2 as disable,
    SDIGAA as hrsenroll
  FROM XXXCMFIL.NSLTRL0
       INNER JOIN XXXCMFIL.BIOMSL0 ON (bwnmid=c3nmid)
       INNER JOIN XXXCMFIL.STMSML0 ON (bwnmid=sdnmid)
  WHERE BWNMID = '$(CGIINP03)' and BWCQAA = '$(CGIINP01)' and BWCMAA =
'$(CGIINP02)'
        and BWLOAA = "CR"
%MESSAGE {
100:{@dtw_assign(ret_cde,"1")%}:continue
%}

I hope you can help.
Diane

>date: Thu, 17 Jul 2003 15:06:27 -0400
>from: "Peter Vidal" <Peter_Vidal@xxxxxxxx>
>subject: Re: [WEB400] Net.Data Error Question
>
>
>"I am new to Net.Data. I get this error code -407. What does it mean?
>Also, I created a Net.Data group at yahoo groups for anyone interested.
>Diane"
>
>There is not enough data, nor message -407 appeared in the Net.Data Error
>Messages List.   Can you sent us the whole error message?
>
>Peter Vidal
>Pall Aeropower Corp.
>SR Programmer Analyst
>WWW.Pall.com / 727-539-8448, x2414
>


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