return buffer size limit
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
return buffer size limit

 
Post new topic   Reply to topic    Windows Server Forum Index -> Host Integration Server
Author Message
Paul Kilbourne
Guest





Posted: Fri Jul 15, 2005 8:52 pm    Post subject: return buffer size limit Reply with quote

Hi all:

I have a successfull application using HIS2004 and IMS Connect and a .NET
client library and the Host Definition Import wizard., however I have been
trying to setup the application with a 10000 byte return buffer.

My input buffer is 10010 bytes in length which is propagated to the IMS
transaction program without issue, however when I try to return my results
in a 10000 byte buffer, I receive the following exception:

(1508) The input buffer has been exhausted while attempting to convert
parameter Return Value in method APGMEN01.
The end of the input buffer has been reached and Transaction Integrator is
expecting to perform data conversions on one or more parameters. Check the
server program. If it is correct verify, that the correct Transaction
Integrator-created component library is deployed.

Upon inspection of the Host Data Definition generated by the wizard, I
noticed that my LL and ZZ fields were reset to PIC s9(4) where my cobol code
defines them as s9(6). I have tried using other values but the wizard
always resets the value to 4 as seen in the Host Data Definition view.

Is this a fixed limit of the wizard or is there a way to go beyond this 9999
byte limit?

Thanks
Paul Kilbourne
Back to top
Terry Bullington [MSFT]
Guest





Posted: Mon Jul 18, 2005 8:52 pm    Post subject: RE: return buffer size limit Reply with quote

The error message indicates that fewer bytes were received by TI than
expected. As far as I am aware the LL and ZZ fields are limited to two
bytes each in COBOL. In COBOL a compiler option (I think it is
NOTRUNC(BIN)) can be set so that it will not truncate the digits of PIC
S9(4) COMP data item to four digits but will allow a value up to 32767 (the
maximum positive value that can be stored in a two byte binary number). A
PIC S9(6) COMP data declaration would result in a four byte (fullword) data
item being defined. If you have a newer COBOL compiler you can change your
definition to COMP-5 rather than COMP and have the same affect as the
NOTRUNC compiler option.
--------------------
From: "Paul Kilbourne" <dpkilbourne@rogers.com>
Subject: return buffer size limit
Date: Fri, 15 Jul 2005 15:44:11 -0400
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
Message-ID: <e0r0eWXiFHA.1244@TK2MSFTNGP14.phx.gbl>
Newsgroups: microsoft.public.hiserver.general
NNTP-Posting-Host: 142.106.96.197
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.hiserver.general:1820
X-Tomcat-NG: microsoft.public.hiserver.general

Hi all:

I have a successfull application using HIS2004 and IMS Connect and a .NET
client library and the Host Definition Import wizard., however I have been
trying to setup the application with a 10000 byte return buffer.

My input buffer is 10010 bytes in length which is propagated to the IMS
transaction program without issue, however when I try to return my results
in a 10000 byte buffer, I receive the following exception:

(1508) The input buffer has been exhausted while attempting to convert
parameter Return Value in method APGMEN01.
The end of the input buffer has been reached and Transaction Integrator is
expecting to perform data conversions on one or more parameters. Check the
server program. If it is correct verify, that the correct Transaction
Integrator-created component library is deployed.

Upon inspection of the Host Data Definition generated by the wizard, I
noticed that my LL and ZZ fields were reset to PIC s9(4) where my cobol code
defines them as s9(6). I have tried using other values but the wizard
always resets the value to 4 as seen in the Host Data Definition view.

Is this a fixed limit of the wizard or is there a way to go beyond this 9999
byte limit?

Thanks
Paul Kilbourne
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Host Integration Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB