At my last employer, I tried every combination of conversions/copies/<whatever> on an IPDS spool file. I never could get it to work - something was always lost in the process. Even a couple of commercial products failed.
I wish you better success than I had.
Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of scourtney@xxxxxxxxxxx
Sent: Monday, December 11, 2023 10:10 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: CCSID Problem with PDF output
Hello Jimmy,
thank you .. but
I know all that ... the problem is that my spool is an *IPDS spool file and for a direct conversion it must *AFPDS. That is why I am doing it the hard way ..
That is also not really the issue ..
The Czech language is at least according to IBM covered by CCSID 1153 ( Latin-2 with Euro) ....when I change my ACS session configuration to Host CCSID 1153 I can see the special characters correctly ..
So for example the word Krňák show correctly ...the same word in CCSID 65535 shows as Kr»ák. When I generate my PDF it always shows the values incorrectly and
I am lost in finding out how to generate a PDF with CCSID 1153 that shows the special characters correctly.
Mit freundlichen Grüßen / Kind regards / Bien à vous,
Seán
________________________________
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Jimmy Sansi <jsansi@xxxxxxxxx>
Sent: Monday, December 11, 2023 09:39
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: CCSID Problem with PDF output
If you're creating the spool file and copying to a file (?) ... you can
shortcut that and just create a pdf right from a spool file using
CPYSPLF.
On 2023-12-11 03:10, Sean Courtney wrote:
Hello all,
Maybe someone has an idea what I am doing wrong ..
I have a file (PF) with the contents of a spool file which I would like to output to *PDF. The contents of the file are in the Czech language and when I alter my ACS session to CCSID(1153) I can see all of the special language chars without problem.
I created a PRTF in QTEMP with the attributes of the SPLF and copy the contents of my PF to the PRTF.
CRTPRTF FILE(QTEMP/P1401) DEVTYPE(*AFPDS) PAGESIZE(72 133) CPI(15) OVRFLW(72) RPLUNPRT(*YES) CTLCHAR(*FCFC) HOLD(*YES)
TOSTMF(&PDFOUT) WSCST(*PDF ) LVLCHK(*NO)
So far that works fine but when the PDF is generated all my special CZ language chars are no longer readable. I have played around with the CCSID's
But nothing helps.
Maybe somebody has done something similar and knows what I am doing wrong.
Thanks in advance..
Mit freundlichen Grüßen / Kind regards / Bien à vous,
Seán
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.