I beg to differ.

On May 16, 2006, at 1:09 PM, Greg Woodhouse wrote:

--- Kevin Toppenberg <[EMAIL PROTECTED]> wrote:

Are you saying that it does not matter what value I put into the .01
field, and that it will be overwritten such that it stores the newly
added records' IEN?

Kevin


I don't believe so. There is no need for the .01 field to be overwritten. If the value used for the .01 is accepted by the input transform, that value is also used to create the IEN.

In fact, it's just the opposite. As long as you have the "E" in the first parameter in your UPDATE^DIE (your call does), the value that comes out the input transform will be the new record's IEN. If you seed the IEN array before the call (to try to specify the new record's IEN), it's ignored. For example, if you set:
TMGFDA(50.67,"+1,",.01)=9999
TMGIEN(1)=600

when you make that call (successfully), TNGIEN(1) will come back as 9999.



Yes, except that I'm not sure that DINUM applies to DBS calls. An input
transform works by setting X to the value that should be used (or
killing it to reject the value entirely). However, you need to be
careful and not supply input as an internal value, because then the
input transform will not be applied.

I've been kind of busy (working on a Java project) so I haven't had
time to check the documentation for a more elegant solution, but you
can also use a a "dummy" value and then make a second call to set it to
the IEN. But you shouldn't need to do that,

===
Gregory Woodhouse  <[EMAIL PROTECTED]>

Metaphors be with you.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to