Why is PDSMAN FastCopy being invoked when I am running IEBCOPY of a PDSE?
search cancel

Why is PDSMAN FastCopy being invoked when I am running IEBCOPY of a PDSE?

book

Article ID: 11218

calendar_today

Updated On:

Products

PDSMAN

Issue/Introduction

Why is PDSMAN FastCopy being invoked when I am running IEBCOPY of a PDSE?

Environment

Release: 7.7

Resolution

Description

The copy is to a PDSE, and there is a $UPDATE control statement for the output dataset.

FastCopy is being invoked even with //FCOPYOFF DD DUMMY and FASTCOPY=N specified on a $IEBCOPY statement.

Solution

For a PDSE, whether IEBCOPY or FastCopy is used depends on whether or not there is CA PDSMAN interest in the output library.

If there is NO PDSMAN interest, then IEBCOPY will be used. If there IS PDSMAN interest, FastCopy MUST be used.

PDSMAN cannot establish what updates IEBCOPY has done to a PDSE, therefore FastCopy is forced so that PDSMAN can see the updates.

For a PDS however, PDSMAN can establish what has been updated by IEBCOPY, so it does not matter if FastCopy or IEBCOPY does the work.

This means that //FCOPYOFF DD DUMMY will be effective in either case.