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


  • Subject: RE: CEEDATE...
  • From: "Weatherly, Howard" <hweatherly@xxxxxxxxxxxx>
  • Date: Wed, 14 Oct 1998 11:53:02 -0400

Regarding CCEDATE, has anyone gotten this to work in ILE Cobol?

______________________________________________________________________
___
Howard Weatherly

hweatherly@dlis.dla.mil
howard.weatherly@ctg.com
hweath@ibm.net

X4324

 <<Re: CEEDATE...>> 


Kevin,

I have used it in a procedure.    I think you may be missing the (D)
operational extender on the CALLB.  I don't have access to my AS/400
from this machine at this time, so the code samples are hand typed.

D ToCharDate         PR                   255
D  LilianDate                                      10I 0  Value
D  DatPicIn                                      255       Value
D  FBCode                                        12

P ToCharDate           B

D ToCharDate         PR                   255
D  LilianDate                                      10I 0  Value
D  DatPicIn                                      255       Value
D  FBCode                                        12

D CharDate                S                   255
D Lilian                       S
Like(LilianDate)
D DatPicture               S
Like(DatPicIn)

C                                  CallB (D)    'CEEDATE'
C                                  Parm           LilianDate
Lilian
C                                  Parm           DatPicIn
DatPicture
C
Parm                                     CharDate
C
Parm                                     FBCode

C                                  Return         CharDate

P ToCharDate             E

You will need similar code if you are using the CEEDAYS to convert to
Lilian dates.  Hope this helps.

Dave Murvin
davem@drme.com


Kevin M. Kirbey wrote:

> Is it possible to call this API from ILERPG ??? If so, could anyone
> show
> the parm declaration ???  I am having diffculty and keep receiving
the
>
> CEE0502 error code.
>



+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@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 thread ...


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.