× 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: RPGLE question
  • From: "Art Tostaine, Jr." <atostain@xxxxxxxxxxxxx>
  • Date: Thu, 03 Jul 1997 06:34:08 -0400

Venu Gopal wrote:

> Hi All,
>
>      I want to know is there any built in function (BIF) in ROG IV
> that
> does the same function as the DIGITS function will do in SQL. My
> requirement is I have a L type date field in *ISO format. The dates
> are
> coming in ccyy-mm-dd format. I want to return only ccyymmdd without
> the
> separators. Is there any BIF that returns ccyymmdd as a character
> field?
>

I think you can just move the date into an 8 digit numeric field, and
that will remove the dashes.  You could then move it back to an 8 digit
alpha field.

--
Art Tostaine, Jr.
Creative Computer Associates, Inc.
Parlin, NJ 08859
732-525-9414 732-603-1456


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the Midrange System Mailing List!  To submit a new message,   *
* send your mail to "MIDRANGE-L@midrange.com".  To unsubscribe from     *
* this list send email to MAJORDOMO@midrange.com and specify            *
* 'unsubscribe MIDRANGE-L' in the body of your message.  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.