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



You can retrieve the system date in different formats, but I don't remember any date conversion routines, nor date arithmetic in REXX. There is a CVTDAT API you can use from REXX.
_______________________________________________________________________________________________
Goodbar, Loyd (ETS - Water Valley) wrote:

Sorry, but the only date information in the manuals is for retrieving the
system date to REXX. Also, according to the programmer's guide, the command
line arguments are passed to REXX in the form typed.

There are indeed many code examples in the manuals; however, none deal with
incoming date data from a command.

I was hoping to find out where command date conversion to the CYMD format
occurs - is it in the command processor, the CL compiler, or setup for the
appropriate command environment. I'm thinking it's the difference from
specifying a program CPP versus a REXX CPP, as any program CPP receives
dates in the CYMD format. That does make data conversion and separation an
issue, as my understanding of the command processor was to provide a
consistent format for dates, regardless of the input format. (Given a valid
date, of course.)

I *could* write a CL CPP that passes the parms straight to the REXX
procedure, but that would be pretty terrible.

Thanks,
Loyd

Loyd Goodbar
Senior programmer/analyst
BorgWarner
E/TS Water Valley
662-473-5713



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.