uzaemon's BBS

Hosted by freeforums.org
It is currently Thu Dec 10, 2009 8:23 am

All times are UTC



Welcome
Welcome to <strong>uzaemon's BBS</strong>.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join our community today</a>!


Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: SPL2STMF error CPF6DF9 buffer too small
PostPosted: Mon Jun 30, 2008 5:18 pm 
Offline

Joined: Mon Jun 30, 2008 5:07 pm
Posts: 2
I am using SPL2STMF/TIFF2PDF to convert AFPDS spools in PDF. Everything works fine, but with some spools in SPL2STMF I get the message CPF6DF9 buffer too small. These spools have 2 or 3 pages and apparently are similiar to other that are converted fine, and I don't know why they gave this error. I am using SPL2STMFRP version '0-03 00-03-18'. Can you suggest me what can I do? Thanks in advance, Giuseppe


Top
 Profile  
 
 Post subject: Re: SPL2STMF error CPF6DF9 buffer too small
PostPosted: Mon Jul 07, 2008 2:23 pm 
Offline
Site Admin

Joined: Tue Jan 29, 2008 3:09 am
Posts: 47
Sorry for late reply.

According to DSPMSGD command, CPF6DF9 indicates:

Message . . . . : Transformed data buffer too small.
Cause . . . . . : The transformed data buffer of &2 bytes is too small to hold the &1 bytes of transformed data that is available. Only &2 bytes of data have been copied to the transformed data buffer. The remaining transformed data is lost.

That means you should increase buffer size (200,000) which is defined at line 57 and 233. You can try DEBUG(*YES) to determine the buffer size.

Hope this helps and waiting for your report.

uzaemon@Japan


Top
 Profile  
 
 Post subject: Re: SPL2STMF error CPF6DF9 buffer too small
PostPosted: Thu Jul 24, 2008 2:52 pm 
Offline

Joined: Mon Jun 30, 2008 5:07 pm
Posts: 2
Dear uzaemon,

thank you very much for your help.

I have increased the buffer size to 600,000 and now all work fine.

Which is the limit of the buffer size? To prevent future errors can I increase it to 1,000,000 for example?

Sorry for my late report and best regards,

Giuseppe


Top
 Profile  
 
 Post subject: Maximum buffer size.
PostPosted: Sun Aug 17, 2008 6:16 am 
Offline
Site Admin

Joined: Tue Jan 29, 2008 3:09 am
Posts: 47
Again, sorry for late reply.

> Which is the limit of the buffer size? To prevent future errors can I increase it to 1,000,000 for example?

Actually, buffer size is limited by maximum size of character field of ILE-RPG.
You may set the buffer size to 65535 at maximum.

:!: Note that this modification works on V4R5 or later.
You can specify as much as 32767 if you are using V4R4 or earlier.
See "ILE RPG for AS/400 Reference" -> "Appendix A. RPG IV Restrictions" -> "Character field length".

Hope this answers to your question.

uzaemon@Japan


Top
 Profile  
 
 Post subject: CPF6DF9 error
PostPosted: Thu Dec 04, 2008 9:09 am 
Offline

Joined: Thu Dec 04, 2008 8:50 am
Posts: 1
Hi,

I've tried to resolve the CPF6DF9 error (buffer too small), but I'm not able to find which variables into the source SPL2STMFRP I have to change in order to increase the size of buffer.
Does anyone can tell me the name of the variables that I have to change, please?

Thanks.

Daniele


Top
 Profile  
 
 Post subject: You don't need to change variable.
PostPosted: Sat Dec 13, 2008 3:24 pm 
Offline
Site Admin

Joined: Tue Jan 29, 2008 3:09 am
Posts: 47
The name of the variable is "hptxbuflen".
But... I don't know why you gonna change the variable instead of the value of the variable. :shock:

uzaemon@Japan


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 22, 2009 12:49 pm 
Offline

Joined: Fri Mar 06, 2009 12:38 pm
Posts: 5
Hi all,

this is an old thread, but we are facing the same problem Giuseppe had. Unfortunately, after compiling the RPG program, we are getting a different error:
CPF3CF2 hptopt = 20

We tried to set the buffer size lower and lower, thinking the problem could be any way related to this, but we finally tried again at 200.000 and the problem persists, so the issue must be related to a compiling problem. We did compile only the RPG (following the readme instructions) by creating the RPGMOD and with CRTPGM command. We get no compiling error, but at runtime we get the above mentioned CPF.

Has anyone else faced the same problem?
By the way, we use a V5R4 with the latest PTF cumulative.

Thanks in advance,
Monia


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 22, 2009 5:38 pm 
Offline

Joined: Fri Jun 19, 2009 12:25 pm
Posts: 3
I think this forum is dead. I posted a request last week and there is no response.

FYI, I am in the same boat as you are. In my case, I get an error for an overlay PRTF file and *AFPDS.


Top
 Profile  
 
 Post subject: General problem determination
PostPosted: Tue Jun 23, 2009 3:29 pm 
Offline
Site Admin

Joined: Tue Jan 29, 2008 3:09 am
Posts: 47
Guys,

Please read the thread, http://uzaemon.freeforums.org/problem-w ... f-t11.html to resolve your problems.

I'm not a developer in IBM Rochester...
I would like you to understand that there are things beyond my control.

uzaemon@Japan


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 24, 2009 8:46 am 
Offline

Joined: Fri Mar 06, 2009 12:38 pm
Posts: 5
Yes we understand that, but we may hope you can help us anyway :D
In any case, we solved our problem, and that was a very weird issue. After compiling the problem using REXX command, we simply had to disconnect and reconnect. By doing so, the runtime error disappeared. So, for future problems like this, after creating the HPT programs/command using REXX, just disconnect and reconnect to test them.

Thanks all.


Top
 Profile  
 
 Post subject: Thank you, Monia.
PostPosted: Wed Jun 24, 2009 4:18 pm 
Offline
Site Admin

Joined: Tue Jan 29, 2008 3:09 am
Posts: 47
It seems like you resolved your problem reported 22 Jun 2009 by yourself. :P
I suppose that "disconnect and reconnect" means close and restart 5250 session.
In HPT process, "hptopt = 20" indicated "before start transform" phase. See http://publib.boulder.ibm.com/infocente ... PZHPTR.htm for detail information.
So "disconnect and reconnect" may clear/reset unexpected error condition.

Actually, user feedback is very rare and valuable.
Thanks again and have a good day!

uzaemon@Japan


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 26, 2009 4:18 pm 
Offline

Joined: Fri Mar 06, 2009 12:38 pm
Posts: 5
I know you like partecipating people from another thread in your Forum, and i agree that having a web full of questions with no answers is quite useless.
Consider my feedback a "thank you" for your TIFFLIB :wink:

Andrea


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
cron