|
> Peter wrote:
> >>Now just allow some more descriptors and you could >>have
>
> >> C *D MOVE 01 datefield
> >> C *M MOVE 12 datefield
> >> C *Y MOVE 2001 datefield
>
> >> It's in keeping with what IBM has already done and >>seems just as
> >>understandable as the others, especially if you've >>already learned to
use
> >> MOVE for date, time & timestamp fields.
>
> I like this a lot. But what happens if datefield is *NULL and we try to
move a day into it?
>
> Ron Hawkins
I suppose the same thing that would happen with any of these suggestions -
it will cause an error. The following statement will also get an error:
C *DMY MOVE 121591 DATE_ISO
It would be nice if we could use MOVE (E) or at least an error indicator.
Peter Dow
Dow Software Services, Inc.
909 425-0194 voice/fax
>
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
david@midrange.com
> +---
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.