× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: DEDS updates to an AS/400 table
  • From: Scott Johnson <sjohnson@xxxxxxxxxxxxx>
  • Date: Tue, 26 Sep 2000 07:10:39 -0500
  • Organization: Highsmith Inc


I have a form created that uses a DECS connection back to a table on an
AS/400. The connection seems to be working.  The problem I have is that
when I update the data in Notes and DECS pushes it back to the AS/400 DB,
empty fields are being set wrong.  In other words, text fields that were
blank in Notes are not being set properly in the AS/400 table.

When I look at a record in the table on the AS/400, the hex representation
of the fields shows that it is filled with x'00' when it should be filled 
with x'40'.  I am not sure if this is a null issue.  The fields in the 
table are set up to not allow nulls.  When I use SQL on that field it is 
not null.  I am not sure what value is in the field. The field starts on 
the AS/400 being filled with x'40'. When it comes back to the AS/400 after
being maintained in Notes, it is filled with x'00'.  I do nothing to that 
field in Notes. I change a totally different field.

Why is Notes/DECS changing the field?  How do I get Notes/DECS to set the
field to blanks(x'40')?  Is there a solution to this problem?

--  THANKS
------------------------------------------------------
Scott P. Johnson
Microcomputer Development Specialist
IBM Certified Specialist - AS/400 RPG Programmer
Highsmith Inc.
W5527 Hwy 106, PO BOX 800
Fort Atkinson, WI 53538-0800
TEL:  920-563-9571                FAX:  920-563-7395
sjohnson@highsmith.com
www.highsmith.com
------------------------------------------------------
+---
| This is the Domino/400 Mailing List!
| To submit a new message, send your mail to DOMINO400@midrange.com.
| To subscribe to this list send email to DOMINO400-SUB@midrange.com.
| To unsubscribe from this list send email to DOMINO400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: meechamw@ptd.net
+---


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.