Besides the other options already outlined, you could also try to change the job CCSID from the SQL session before executing the SQL statement...
CALL QCMDEXC('CHGJOB CCSID(285)', 17);
CALL QCMDEXC('CHGJOB CCSID(37)', 16);
From: midrange-l-bounces@xxxxxxxxxxxx [midrange-l-bounces@xxxxxxxxxxxx] on behalf of Cyndi Bradberry [CyndiB@xxxxxxxx]
Sent: 03 May 2012 18:00
To: 'Midrange Systems Technical Discussion'
Subject: Changing CCSID
We have JDE World, 7.3 running on a 520 at V6R1. We are trying to use a PC based sql tool to extract some records from the F0911 file but we get the Hex version on the PC.
The system CCSID is set to 65535, LangID=ENU. I have tried to change the PF to CCSID = 037. I have recompiled the file, using a new source file that has a CCSID = 037.
No matter what I have tried, I can't get this to change. Any suggestions ? I would eventually like to make this system wide.....as it is silly to stay with the 65535.
At the very least, is there something I can tell my PC guy to put into his SQL statement to translate ?
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives