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



I am almost certain that in the REXX manuals:
http://publib.boulder.ibm.com/infocenter/iseries/v5r3/ic2924/index.htm?info/apis/hll4.htm

you will find the answer.  There is a bunch of conversion routines.


_____________________________
Bryan Dietz
Aktion Associates


midrange-l-bounces+bdietz=aktion.com@xxxxxxxxxxxx wrote on 10/03/2005
10:02:07 AM:

> I have a question regarding using REXX as a command processing program,
and
> passing date data types from a command.
>
>
>
> In a command/CL processing environment, date data types are passed in
CYMD
> format. In a command/REXX processing environment, dates appear to be
passed
> in the form they are typed, not in a standardized format.
>
>
>
> The REXX code to receive the date parameter is:
>
> Parse arg 'COSTDATE(' costdate ')'
>
>
>
> The command defines costdate as a date data type.
>
>
>
> If I run the command with costdate(090105), the data is passed as
'090105'
> to REXX; costdate('09/01/2005') is passed as '09/01/2005'. In both
instances
> a CL program would receive '1050901'.
>
>
>
> What techniques do you use when using dates passed from a command to a
REXX
> command processing program? Is there a standard API I can call to perform
> the conversion?
>
>
>
> Thanks,
>
> Loyd
>
>


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.