When in debugger enter eval v_pdffiles :c 1700. you should be able to
see the whole thing.
What is the prototype for DoCmd?
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Florin Todor - YYZ
Concord
Sent: Thursday, May 01, 2008 3:04 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Variable length
Okay, I got the idea...
I use this variable in a QCMDEXC command (actually DoCmd subprocedure
from MMAIL) and I show you here how I use it:
DoCmd('CONCATPDF INPDF(' + v_PDFFiles +') OUTPDF('''+
%Trim(v_PDFOut) +''')');
That means I do pass v_pdffiles as a parameter (you caught me, Lim!); I
tried, though, without "varying" keyword, but it didn't make any
difference; and the error messages listed below I assume are issued by
CONCATPDF command...
The issue is how could I see the whole value of v_pdffiles variable
right before (or right after, it doesn't matter) DoCmd...
Repeat, if I use the command (without any change) when v_pdffiles is
populated with less than 1024 characters, everything is fine...
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Adam Glauser
Sent: Thursday, May 01, 2008 2:34 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Variable length
Lim Hock-Chai wrote:
Ok. After reading a bit more on your email. Seems like you are using
value of v_pdffiles to construct a PDF command. Could it be because
the
PDF command only allow max of 1024 charater in the PDS files
parameter.
In other word, the limitation is actually on the PDF command not the
RPG
program.
I was thinking that too. Another possibility is a problem on the
QCMDEXC call, or whatever facility is being used to run this PDF
concatenation command.
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list 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.
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list 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.