I used DYNCOPY to copy a file, but output file and input file do not have the same characteristics. I used COPY with BLKSIZE/OBLKSIZE and FORMAT=U.
search cancel

I used DYNCOPY to copy a file, but output file and input file do not have the same characteristics. I used COPY with BLKSIZE/OBLKSIZE and FORMAT=U.

book

Article ID: 54599

calendar_today

Updated On:

Products

CIS COMMON SERVICES FOR Z/OS 90S SERVICES DATABASE MANAGEMENT SOLUTIONS FOR DB2 FOR Z/OS COMMON PRODUCT SERVICES COMPONENT Common Services Datacom/AD CA ECOMETER SERVER COMPONENT FOC Easytrieve Report Generator for Common Services INFOCAI MAINTENANCE IPC UNICENTER JCLCHECK COMMON COMPONENT Mainframe VM Product Manager CHORUS SOFTWARE MANAGER CA ON DEMAND PORTAL CA Service Desk Manager - Unified Self Service PAM CLIENT FOR LINUX ON MAINFRAME MAINFRAME CONNECTOR FOR LINUX ON MAINFRAME GRAPHICAL MANAGEMENT INTERFACE WEB ADMINISTRATOR FOR TOP SECRET Xpertware Dynam for VSE Dynam VSE Option Vollie

Issue/Introduction

Description:

I used DYNCOPY to copy a file using BLKSIZE/OBLKSIZE and FORMAT=U, but the resulting file have a block size of 32760, so I'm missing data's.

Solution:

When the input of a DYNCOPY is not a catalog controlled dataset, it checks the input card to see if a record length was specified. If not specified, we default block size to 32760.
For example to copy a FAVER2 output tape, the command will be:
"COPY,BLKSIZE=56664,OBLKSIZE=56664,RECFM=U

Environment

Release:
Component: DYNDVS