Re: Write to db containing values defined by DB2

"M. Lazarus" <[email protected]> Thu, 16 Sep 2010 17:38:55 -0400
Newsgroups gmane.comp.lang.as400.mi
Message-ID <[email protected]>
Barbara,

  I was hoping that it wouldn't work that way, but thinking about the 
way RPG handles initializations, that behavior makes sense.  I wonder 
if an additional keyword value would be in order, e.g. INZ(*CURRENT) 
or INZ(*CURRENTADD).

  -mark

At 9/16/2010 05:19 PM, you wrote:
>On 9/16/2010 11:08 AM, M. Lazarus wrote:
> >
> > In RPG you should be able to use the INZ(*EXTDFT) keyword on the field.
>
>Using INZ, if you had a timestamp field, you'd get the same timestamp
>for every record, rather than the exact timestamp when you wrote the record.

_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.