× 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: CEEDOD problem
  • From: "David Morris" <dmorris@xxxxxxxxxxxxx>
  • Date: Fri, 16 Jun 2000 14:31:56 -0600

Dennis,

We had a similar problem crop up in December after loading one of the more 
recent 
RPG PTFs.  We ended up backing that PTF off of our system.  I have included a 
list 
of the PTFs we have loaded.  What were getting was the maximum length of the 
parameter.  
Hans posted a reply that they were aware of this problem and working on a PTF.  
I am 
not sure if it has been fixed at this point.

SF61918
SF61140
SF60932
SF60803
SF60599
SF60428
SF59774
SF58950
SF58563
SF58336
SF58334
SF58161
SF57674
SF56921
SF56679
SF56641
SF56549
SF54594
SF54170

David Morris

>>> DRobitaille@cascades.com 06/16/00 01:49PM >>>
Hello all,

I am writing some service program to isolate other programmer of some 
complexities. To make my programs as flexible as possible, I am using 
parameters of variable size and then I use the operator descriptor to find out 
the actual length. 

Here is an example that works

p SndKDtaQ       b                 export
d                         pi                opdesc
d QName                       10a  const
d QData                     1000a  const options(*varsize)
...
In this case, the CEEDOD API returns the actual lenght of the second parameters.

Here is my problem

p RcvKDtaQ      b                  export
d                        pi                  opdesc
d QName                        10a  const
d QData                      1000a  options(*varsize)
...
In this case, I get an error at run time (CEE0502). It seems I can not retreive 
the operator descriptor of a parameter with the option(*varsize) that does not 
have the const option.

Is this normal? Maybe I am doing something wrong. Any suggestion?

Denis Robitaille
Directeur services techniques
Cascades Inc
819 363 5187
fax 819 363 5177


+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-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.