|
Hi Limto pass parameters 11 & 12, I believe.
Also, you have to use the entire optional parameter group, so you have
is
Vern
-------------- Original message ----------------------
From: "Lim Hock-Chai" <Lim.Hock-Chai@xxxxxxxxxxxxxxx>
Thank you all. I RTM and kind of suspected that the 10th parameter
ofwhat I needed. Most api has the length either in the front portion
(youthe parm or as an additional param that is right before/after the
char(*) parameter. I just need some confirmation. :)
"Scott Klement" <rpg400-l@xxxxxxxxxxxxxxxx> wrote in message
news:<mailman.14554.1222805741.2545.rpg400-l@xxxxxxxxxxxx>...
Hi Lim,
The required parameter list in your e-mail is difficult to read
linemust've put it in a proportional font, and added spaces to try to
that
things up -- resulting in a mess when viewed properly with afixed-width
font). So I'll assume your required parameter list is the same asIBM's...
In most case, that means that there should be another parameter
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/QMHSNDPparametercaller must use to tell this api how long this Call Stack Entry
parameter is.
Yes, there *is* another parameter providing the length. It's
#10. Here's a link to the Information center:
It's anM.htm
Note that parameter 10 is named "Length of call stack entry".
exceed
optional parameter. If it's not passed, the manual says:
Note: The actual length of the call stack entry name cannot
value4096 characters. If this parameter is not used, the
callfor
the call stack entry parameter is assumed to be 10characters
in length.
So if you don't pass the optional parameter for the length of the
so
stack entry, it assumes the length to be 10 -- that's why you see
mailing listmany examples where 10 is shown in the prototype.--
The manual is your friend :)
This is the RPG programming on the AS400 / iSeries (RPG400-L)
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.