Re: MI400 Digest, Vol 8, Issue 37

Erik Olsson <[email protected]> Thu, 16 Sep 2010 18:41:43 +0200
Newsgroups gmane.comp.lang.as400.mi
Message-ID <[email protected]>
Rory, 

That's right. There must be a way of doing what RPG's write does here but a MI? Or so I thought. An even more ideal solution would be if it could behave like SQL's "default" keyword on an insert, that is if it would honor the specified default value. 

Thanks. 

On 16 sep 2010, at 18:24, Rory Hewitt <[email protected]> wrote:

> Erik,
> 
> So you're looking for a C (or MI) solution rather than an RPG solution -
> correct? Will this be from a C program?
> 
> If so, what happens if you simply use _Rwrite over a logical file which
> doesn't have those columns?
> 
> Rory
> _______________________________________________
> 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.
> 
_______________________________________________
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.