How to force FastCopy to end with a RC=04 when it cannot copy/move a member.
search cancel

How to force FastCopy to end with a RC=04 when it cannot copy/move a member.

book

Article ID: 39048

calendar_today

Updated On:

Products

PDSMAN

Issue/Introduction

Summary:

FastCopy issues a warning message FCO211W when a module is not copied/moved from the source data set to the target data set because REPLACE was not specified ending with a RC=00.

As per manual CA PDSMan - FastCopy and Space Reuse User Guide states:

FastCopy processing may generate the following return codes:
0 Normal completion.
4 Completion with one or more error or warning messages being issued.

What can we do to change FastCopy's RC value to 04?.

 

Instructions:

FastCopy sets the RC=00 because IEBCOPY does, that is, FastCopy is doing what IEBCOPY does.

Coding PARM=RC4NOREP on the EXEC PGM=IEBCOPY can force a RC=04 when a module is not copied/moved, this works for both IEBCOPY and FastCopy.
This is a standard IEBCOPY feature, hence not documented explicitly in the PDSMAN documentation.


Additional Information:

More information about RC4NOREP can be found in the following IBM manual:
 
- DFSMSdfp Utilities
 - Chapter 3. IEBCOPY (Library Copy) Program
  - Control
   - Job Control Statements

Environment

Release: PDSMA100200-7.7-PDSMAN-PDS Library Management-ONE COMPONENT
Component: