TAPE unit used in RC/Migrator models
search cancel

TAPE unit used in RC/Migrator models

book

Article ID: 74263

calendar_today

Updated On:

Products

RC/Migrator for DB2 for z/OS RC Compare for DB2 for z/OS

Issue/Introduction

RC/Migrator for Db2 for z/OS (RCM) models contain symbolic variables that are used to generate utility code. Many of these symbolic variables come
with pre-set values that my not be valid at the particular use site. RC/Migrator allows for users to edit these values as they see fit in order to comply with the local standards.

When a strategy is analyzed that uses tape it plugs in CART for the image copy allocation. The value has to be edited to TAPE or the job will fail.
This happens on unload/load as well as image copy.

How can this edit be avoided?

Cause

The model being used for the strategy, in the COPY utility, had the symbolic variable TAPE resolving to the word CART.

UTILITY   OBJ DESCRIPTION                SIZE
COPY      TS  IMAGE COPY                 RPI

CMD SYMBOL    ERR  REPLACEMENT VALUE
 _  COPYDSN        %DSN..COPY______________________________________________
 _  COPYDUNT       %DISK___________________________________________________
 _  COPYDVOL       ________________________________________________________
 _  COPYSP1        %CALC(%REORGP*050/100+1)________________________________
 _  COPYSP2        %CALC(%REORGP*030/100+1)________________________________
 _  COPYSP3        BLK(4096)_______________________________________________
 _  COPYTUNT       %TAPE___________________________________________________
 _  DATACLAS       ________________________________________________________
 _  DISK           SYSDA___________________________________________________
 _  DSN            %USERID..%DSNQUAL2..%DSNQUAL3___________________________
 _  LABEL          SL______________________________________________________
 _  LARGE          50000___________________________________________________
 _  MGMTCLAS       ________________________________________________________
 _  PARTDSN        %DSN..P%PARTNO4..COPY___________________________________
 _  STORCLAS       ________________________________________________________
 _  SYSCOPY        SYSC%PARTNO4____________________________________________
 _  TAPE           CART____________________________________________________

Resolution

This can be changed to be the word TAPE in the model being used. The model being used can be TEMPLATED(make a copy) and saved with a new model name
and that one changed unless the original model cannot be changed.

Update the model and use the "S" line command (Model Symbols screen) on the COPY utility. This will display the symbolic variables set to be used for this model member.

In the COPY utility model .....


UTILITY   OBJ DESCRIPTION                SIZE
COPY      TS  IMAGE COPY                 RPI

CMD SYMBOL    ERR  REPLACEMENT VALUE
    COPYDSN        %DSN..COPY
    COPYDUNT       %DISK
    COPYDVOL
    COPYSP1        %CALC(%REORGP*050/100+1)
    COPYSP2        %CALC(%REORGP*030/100+1)
    COPYSP3        BLK(4096)
    COPYTUNT       %TAPE
    DATACLAS
    DISK           SYSDA
    DSN            %USERID..%DSNQUAL2..%DSNQUAL3
    LABEL          SL
    LARGE          50000
    MGMTCLAS
    PARTDSN        %DSN..P%PARTNO4..COPY
    STORCLAS
    SYSCOPY        SYSC%PARTNO4
    TAPE           CART                      <-------change the word CART to TAPE


Save the model or make a copy and use that. When this is used in the analysis the correct unit will be generated in the utility JCL for an IMAGE COPY. Do the same for any other utilities such as UNLOAD for example.

Additional Information

Model Symbols Screen