¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: COBOL getting system time and/or date


 

I don't think MVS3.8J is ILE compatible, it's far older then LE Libraries

---
¦Ó¦Ò³¾

On Wednesday, 3 April 2024 at 19:04, Rahim Azizarab via groups.io <rahimazizarab@...> wrote:






regards;

Rahim???



??



On Wednesday, April 3, 2024 at 10:42:41 AM CDT, Alejandro olivan Alvarez <alejandro.olivan.alvarez@...> wrote:


Hi guys.

I'm missing something again regarding our beloved MVT COBOL F compiler.. this time, I'm trying to get the system date and or time, but I'm missing miserably.
I've looked for the right syntax in my collection of vintage bitsavers cobol books but I do not find anythin in the 64' and 68/ OS/360 books I have.
As always, the 72' OS VS COBOL book seems the most plausible? to me... but i barely mentions the matter on page 401 for ACCEPT.

So, I'm trying this:

ACCEPT CD-CURRENT-DATE FROM DATE.

To which the compiler complains:
?
IKF3001I-E DATE NOT DEFINED. SYSTEM UNIT ASUMED.?

So I guess I maybe missing something on the JCL, or something on the syntax is different... does anyone knows how to get data and or time?

Thanks.
Cheers.
Alejandro.

Join [email protected] to automatically receive all group messages.