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

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

book

Article ID: 49808

calendar_today

Updated On: 07-09-2024

Products

COMMON SERVICES FOR Z/OS 90S SERVICES COMMON PRODUCT SERVICES COMPONENT Common Services

Issue/Introduction

 

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.

 

 

Resolution

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