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



I created a NOMAIN module to try out an example Barbara Morris had in an article called 'Write or Call RPG procedures with Ease' and when I try to use the API CEEDOD am getting a CEE0502 error 'Missing operational descriptor'.


D Pr_SrchRepl     PR                  opdesc
D  String                    65535a   varying Options(*VarSize)
D  Srch                        500a   Const varying
D  Repl                        500a   Const varying

D CEEDOD          PR
D  ParmNum                      10i 0 CONST
D  DescType                     10i 0
D  DataType                     10i 0
D  DescInfo1                    10i 0
D  DescInfo2                    10i 0
D  ParmLen                      10i 0
D  FeedBack                     12a   OPTIONS(*OMIT)

D CEEDOD_Parms    DS                  Qualified
D                                     Based(Type_Def_Dummy)
D  ParmNum                      10i 0
D  DescType                     10i 0
D  DataType                     10i 0
D  DescInfo1                    10i 0
D  DescInfo2                    10i 0
D  ParmLen                      10i 0
D  FeedBack                     12a



P Pr_SrchRepl     B                   export
D Pr_SrchRepl     PI                  Opdesc
D  String                    65535a   varying Options(*VarSize)
D  Srch                        500a   Const varying
D  Repl                        500a   Const varying

D MaxLen          S             10i 0
D Od              DS                  Likeds(CEEDOD_Parms)



CEEDOD(1 : Od.DescType : Od.DataType
    : Od.DescInfo1 : Od.DescInfo2 : MaxLen : *Omit);

What have I done wrong?

Thanks
Andy


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.