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



Joep:

My CALLER program (FD003R) creates dynamically an HTML page and a link to my
CALLED program (FD003R4).  The link is created as follows:

Eval      WebOut = '<a href="http://pacnet/cgi-rpg/FD003R4?'
          + %trim(Location)
          + %trim(mfitem)
          + mordno

In here, (Location) is 5 long, (mfitem) is 15 long and mordno is 7 long, all
character fields.  If this is the case, I should be sending just one field with
these three values in it, isn't that right?  If that is the case, that means
that having a data structure in the CALLED program will not help me in identify
these three parms that are coming in(Thinking out loud)

I am about to analyze the API QzhbCgiParse but, can you correct me in my
previous thoughts and if there is a logical answer about how to handle
effectively this one field into the three corresponding parameter values that
are inside?

<-------------------------------->
Peter,

What do you mean by 'sending three parameters'?  If program A calls program
B, it can either pass three parameters (in which case program B will have to
have three separate parameters defined; not in a data structure) or pass one
parameter, containing the three fields.  If program B has the parameters in
a data structure, I suspect that you are passing the data structure.  In
that case the data structure definitions in both programs have to match, or
you have a problem.

Joep Beckeringh





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.