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



Hi Kurt, I think you should call IBM. Usually they can fix the problem in
days and give you a specific fix for the problem. In the past there was
some problems (but fixed in V6.0) with the keyword const. I think the
problem is with the underlying code to translate to QZRUCLSP. Can't help
since I don't use it.

Marco

So, I think I found something interesting. VARPG appears to be
misinterpreting the array parameter when it goes to use QZRUCLSP in the
background. When I scratched calling the prototype like this and
instead directly called QZRUCLSP, the call works.

D $FmtItemDesc PR Linkage(*Server)
D ExtPgm( 'ITMSPROC' )
D ExtProc('$FMTITEMDESC')
D DescIn 350a Const Varying
D DescOutArray 35a Dim( 20 )
D NumOfElem 3u 0

Note the array parameter. From my testing, it looks like instead of a
35a Dim(20) = 700a, it's treating it as 20a.

Kurt Anderson
Application Developer
Highsmith Inc

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On Behalf Of Glenn Gundermann
Sent: Friday, September 14, 2007 2:52 PM
To: Websphere Development Studio Client for iSeries
Subject: Re: [WDSCI-L] VARPG Linkage(*Server) service program debugging

Hi Kurt,

Glad to hear Marco's suggestion worked for you.

I was going to suggest using a Service Entry Point. That will catch
everything all the time.

Cheers,

Glenn Gundermann
ggundermann@xxxxxx
(647) 272-3295

Marco,

Thank you very much, that worked.

Kurt Anderson
Application Developer
Highsmith Inc

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx
[mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On Behalf Of i5@xxxxxxxxx
Sent: Friday, September 14, 2007 2:44 PM
To: Websphere Development Studio Client for iSeries
Subject: Re: [WDSCI-L] VARPG Linkage(*Server) service program
debugging

Hi Kurt, VARPG opens two connections, one for files (DDM I think) and
the other one is for remorte calls. You need to service/debug the
second one.

HTH
Marco
--
This is the Websphere Development Studio Client for iSeries (WDSCI-L)
mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.

--
This is the Websphere Development Studio Client for iSeries (WDSCI-L)
mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.