|
from: Stephen Landess <steve_landess@xxxxxxxxxxx>
subject: RE: Change SRCPF CCSID
Justin wrote:
I have about 15 source files (~4000 members) that have CCSID 65535.
What's the least painful way to change to CCSID 37?
I tried both CHGPF and CHGSRCPF.
Both commands completed without error but didn't change the CCSID.
Justin -
You'll need to create new source physical files having CCSID(37) in
another library and use the following command to populate them:
Note that if you ever had used SEU to create/edit source with a 5250
session defined using a CCSID other than 37,
that any variant characters (for example the pipe symbol ( | ) when
created from a CCSID(500) session)
will translate to a different character in CCSID(37) unless you do the
CPYSRCF command from a CCSID(500) 5250 session.
I know this from experience...
CPYSRCF FROMFILE(OLDLIB/SRCF) TOFILE(NEWLIB/SRCF) FROMMBR(*ALL)
TOMBR(*FROMMBR)
Check the job log to ensure that the copy had no errors.
Then rename the old source files (and keep them around just in case...),
then move the newly created source files back to the original library.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.