OCOPY of binary PTFS from Unix filesystem to MVS datasets with CONVERT(YES) can corrupt PTF

Document ID : KB000049808
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

If downloading binary PTFs from the CA Support site into a UNIX filesystem, corruption can occur within the PTF when using OCOPY to copy the PTF to a sequential data set or PDS member if CONVERT(YES) is specified on the OCOPY.

CONVERT(YES) specifies the default conversion table BPXFX000, which is an alias that points to BPXFX111, to convert the data. BPXFX111 specifies a conversion table to convert between code pages IBM-037 and IBM-1047.

Their will be no outward symptoms of a problem. The corruption would not be easily identified. The only indication would be a problem when the bad code is executed.

Solution:

Do not specify CONVERT(YES) or any conversion values on the OCOPY command.