When do you need to convert between code pages?

If you are using code page IBM-037 in MVS™ and the shell is using code page IBM-1047, you need to convert from one code page to another when:
  • Transferring files between a workstation and the file system.
  • Copying data between MVS data sets and the file system.
  • Passing JCL pathname data to z/OS UNIX programs—unless you restrict yourself to characters in the POSIX portable file name character set.
  • Passing JCL parameters and pathnames to a shell invoked from a batch program—unless you restrict yourself to characters in the POSIX portable file name character set.
  • Converting between ASCII and EBCDIC when using the pax utility.