rikdeb New User Joined: 19 Jan 2009 Posts: 63 Location: hyderabad
In cobol we have the functions like NATIONAL-OF, DISPLAY-OF which can be used to override the character code page settings. Can this be done through PL1?. My requirement is to override the code page 277 with default code page 037, so that some characters like Å, ø take the hexcode as defined in US page versions.
dick scherrer Site Director Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
Yes, code page(s) can be overridden/changed.
You should talk with your system support people to make sure of what is being done and that your implementation is acceptable for the environment where this will be run.
prino Senior Member Joined: 07 Feb 2009 Posts: 1114 Location: Oostende, Belgium
The CODEPAGE option specifies the code page used for:
The supported CCSID's are:
conversions between CHARACTER and WIDECHAR
the default code page used by the PLISAX built-in subroutines
01047, 01140, 01141, 01142, 01143, 01144, 01025, 01145, 01146, 01147, 01148, 01149, 00037, 01155, 00273, 00277, 00278, 00280, 00284, 00285, 00297, 00500, 00871, 00819, 00813, 00920
The default CCSID 1140 is an equivalent of CCSID 37 (EBCDIC Latin-1, USA) but includes the Euro symbol.
All times are GMT + 6 Hours