|
I'm using the "ILE CEE Data and Time APIs" (for the first time *grin*) and getting the message CEE0502 - "Missing operational descriptor". The parameters seem to be quite adequate in the debugger. BTW why doesn't the CRTSQLRPGI command have a DFTACTGRP(*NO) parameter? Or did I just not notice it? Or are people supposed to CRTSQLRPGI *MODULE and the CRTPGM? Does anyone here have a clue which stupid error did I make? Any ideas would be appreciated... Best regards, Juris. P.S. Here's what System API Reference says: Convert Date to Lilian Format (CEEDAYS) API Required Parameter Group: 1 input_char_date Input VSTRING 2 picture_string Input VSTRING 3 output_Lilian_date Output INT4 Omissible Parameter: 4 fc Output FEEDBACK Convert Lilian Date to Character Format (CEEDATE) API Required Parameter Group: 1 input_Lilian_date Input INT4 2 picture_string Input VSTRING 3 output_char_date Output VSTRING Omissible Parameter: 4 fc Output FEEDBACK And here's my code: D* ... DCurDteA S 10A DLilDte S 9B 0 DWksAgo S 8A DPic1 S 10A DPic2 S 10A C* ... C CallB 'CEEDAYS' C Parm CurDteA C Parm Pic1 C Parm LilDte C Parm *Omit C* ... C CallB 'CEEDATE' C Parm LilDte C Parm Pic2 C Parm WksAgo C Parm *Omit C* ... * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the RPG/400 Discussion Mailing List! To submit a new * * message, send your mail to "RPG400-L@midrange.com". To unsubscribe * * from this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe RPG400-L' in the body of your message. 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-2025 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.