× 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: Re: last day of month
  • From: "Peter Dow" <pcdow@xxxxxxxxx>
  • Date: Mon, 18 Oct 1999 09:48:53 -0700

> 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 thread ...

Replies:

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.