|
Do you have any sample code in particular the DS stuff for RPG or the WS stuff for COBOL or a CL to look at? ---------- From: midrange-l-owner To: MIDRANGE-L Cc: Glenn-Ericson Subject: Re: CEEDAYS -- Where is it? Date: Tuesday, December 02, 1997 10:31PM At 09:41 AM 12/2/1997 -0500, you wrote: >At 02:55 AM 12/2/97 +0000, you wrote: >>Don >> >>At 03:56 PM 12/1/1997 -0400, you wrote: >>>All -- >>> >>>My client has OS/400 V3R2. >>> >>>Writing in ILE RPG/400, I attempted to call the CEEDAYS API. >>> >>>I get the error, "Cannot resolve to object CEEDAYS blah blah". >>> >>>So I did an "DSPOBJD *ALL/CEEDAYS *ALL", but got nothing. >>> >>>Do they need to install the CEE API's ?? >>> >>>Peace, >>> >>>-- Don Schenck >> >>I think CEEDAYS is a module in a service program. The CEE APIs are ILE, not >>OPM. There's somewhere in the System API Reference (or Programming) that >>tells where they are. Otherwise, WRKSRVPGM Q* and then take option 5 to see >>the modules. The service programs usually have fairly short names. >> >>HTH >> >>Vernon Hamberg >>+--- >Other option if you are stuck: > >1. I believe someone on this list has written or is writing/testing > some date routines that are free<?>. CEEDAYS has incredible date conversion functions and is part of the OS (system API). It is, in fact, what is used when you specify the DATE opcodes in RPG IV. If you DSPPGM on an RPG IV program that has DATE routines, you'll find some service programs listed that have names like QCEAW or some such. You'll also see the CEEDAYS procedure listed there. The date range for CEEDAYS goes back at least, I think, to 1560-something (start of Gregorian calendar) and forward to some ridiculous time (9999, I think). There are formatting options, the likes of which you have to see to believe. All easily called from any ILE program/module, including CLLE. Cheers Vernon Hamberg Systems Software Programmer Old Republic National Title Insurance Company 400 Second Avenue South Minneapolis, MN 55401-2499 (612) 371-1111 x480 +--- | 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 MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | 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 MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.