Hi,
I need to get the GMT date and time from the AS400 system.Is their any API available to retrive the GMT date and Time. Please suggest the way to retrive the date and time. Its very urgent.
Software/Hardware used:
ASKED:
May 3, 2010 1:05 PM
UPDATED:
May 4, 2010 7:58 PM
Hi,
In V5R3 we dont have these two API’s , so we need to install these APIs.
Please give us the steps to install these two APIs( CEEUTC & CEEDATM).
Thanks,
Amutha
In V5R3 we dont have these two API’s , so we need to install these APIs.
At V5R3, you already have those APIs. You don’t install them — they are part of the system. Documentation for all ILE CEE Date and Time APIs is in the V5R3 Information Center. Other CEE* APIs are given in surrounding topics.
The example program came from a V5R3 system.
You can’t search for them because they’re not program objects — they’re procedures. That’s why the CALLPRC command was used instead of CALL. The system will bind them into your programs automatically.
Tom
Hi Tom,
Thanks.
The code was working fine.
CEEUTC & CEEDATM, I had seen that it is Procedure, but you have mentioned it as API.
So I was searching for it in QSYS and QPARMS. So i have raised a query.
Thanks and Regards,
P.Amutha
As the link to the Information Center shows, IBM calls them “APIs”. I’m not aware that an API must be a “program”. An API is simply an interface that is made available to application programs — Application Program Interface.
For some APIs, you need to bind with a system service program. For others, the system binds automatically — these would usually be considered to be “built-ins”. For still others, you make an external program CALL.
Anyway, I hope the example and the documentation link provide what you need.
Tom