IBM Support

PI09650: FLASHCOPY ABENDS WITH REASON X'0C4' WHEN USER NOT AUTHORIZED TO USE FCTOPPRCPRIMARY KEYWORD

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Customer is running the COPY utility with the following parms :
    COPY LIST COPYLIST FULL YES PARALLEL FLASHCOPY YES
    FCCOPYDDN(COPYFCIC)
    
    DFSMSdss shows expected ADR707E (NOT AUTHORIZED TO USE
    FCTOPPRCPRIMARY KEYWORD) and ended with RC8 because of missing
    user authorization. However, the COPY utility job ends with
    RC=0. Output from inhouse recreate:
    DSNU050I    248 20:23:47.47 DSNUGUTC -  COPY LIST DB2FLSH
    FLASHCOPY YES FCCOPYDDN(COPYFCIC)
    DSNU1033I   248 20:23:47.48 DSNUGULM - PROCESSING LIST ITEM:
    TABLESPACE DSN8DA1A.DSN8SA1D
    DSNU421I    248 20:23:47.62 DSNUGFUM - START OF DFSMS MESSAGES
    
    PAGE 0001     5695-DF175  DFSMSDSS V1R11.0 DATA SET SERVICES
    2013.248 20:23
    ADR030I (SCH)-PRIME(01), DCB VALUES HAVE BEEN MODIFIED FOR
    SYSPRINT
     COPY DATASET(INCLUDE( -
     DSNC000.DSNDBC.DSN8DA1A.DSN8SA1D.I0001.A001 )) -
     RENAMEU( -
     (DSNC000.DSNDBC.DSN8DA1A.DSN8SA1D.I0001.A001 , -
     WANGNAN.DSN8DA1A.DSN8SA1D.P00001.EFTMOEPC )) -
     REPUNC ALLDATA(*) ALLEXCP CANCELERROR SHARE -
     VOLCOUNT(ANY) TGTALLOC(SRC)              -
     WRITECHECK TOLERATE(ENQF) DYNALLOC FCTOPPRCP(PMR)
    ADR101I (R/I)-RI01 (01), TASKID 001 HAS BEEN ASSIGNED TO COMMAND
    'COPY '
    ADR109I (R/I)-RI01 (01), 2013.248 20:23:47 INITIAL SCAN OF USER
    CONTROL STATEMENTS COMPLETED
    ADR707E (R/I)-RI03 (14), NOT AUTHORIZED TO USE FCTOPPRCPRIMARY
    KEYWORD
    ADR017E (001)-CLTSK(01), 2013.248 20:23:47 TASK NOT SCHEDULED
    DUE TO ERROR. TASK RETURN CODE 0008
    ADR012I (SCH)-DSSU (01), 2013.248 20:23:47 DFSMSDSS PROCESSING
    COMPLETE. HIGHEST RETURN CODE IS 0008 FROM:
                             SYNTAX
                             TASK    001
    
    DSNU422I    248 20:23:47.62 DSNUGFCD - END OF DFSMS MESSAGE
    DSNU010I    248 20:23:47.63 DSNUGBAC - UTILITY EXECUTION
    COMPLETE, HIGHEST RETURN CODE=0
    
    
    Additionally, if 'COPYDDN(COPYS)' is added to the COPY utility
    statement then the job failed with 0C4 abend for unable
    allocating flashcopy data set. Joblog output from inhouse
    recreate:
    DSNU050I    248 20:23:47.96 DSNUGUTC -  COPY LIST DB2FLSH
    FLASHCOPY YES FCCOPYDDN(COPYFCIC) COPYDDN(COPYS)
    DSNU1033I   248 20:23:47.97 DSNUGULM - PROCESSING LIST ITEM:
    TABLESPACE DSN8DA1A.DSN8SA1D
    DSNU421I    248 20:23:48.09 DSNUGFUM - START OF DFSMS MESSAGES
    
    PAGE 0001     5695-DF175  DFSMSDSS V1R11.0 DATA SET SERVICES
    2013.248 20:23
    ADR030I (SCH)-PRIME(01), DCB VALUES HAVE BEEN MODIFIED FOR
    SYSPRINT
     COPY DATASET(INCLUDE( -
     DSNC000.DSNDBC.DSN8DA1A.DSN8SA1D.I0001.A001 )) -
     RENAMEU( -
     (DSNC000.DSNDBC.DSN8DA1A.DSN8SA1D.I0001.A001 , -
     WANGNAN.DSN8DA1A.DSN8SA1D.P00001.EFTMOE2Z )) -
     REPUNC ALLDATA(*) ALLEXCP CANCELERROR SHARE -
     VOLCOUNT(ANY) TGTALLOC(SRC)              -
     WRITECHECK TOLERATE(ENQF) DYNALLOC FCTOPPRCP(PMR)
    ADR101I (R/I)-RI01 (01), TASKID 001 HAS BEEN ASSIGNED TO COMMAND
    'COPY '
    ADR109I (R/I)-RI01 (01), 2013.248 20:23:48 INITIAL SCAN OF USER
    CONTROL STATEMENTS COMPLETED
    ADR707E (R/I)-RI03 (14), NOT AUTHORIZED TO USE FCTOPPRCPRIMARY
    KEYWORD
    ADR017E (001)-CLTSK(01), 2013.248 20:23:48 TASK NOT SCHEDULED
    DUE TO ERROR. TASK RETURN CODE 0008
    ADR012I (SCH)-DSSU (01), 2013.248 20:23:48 DFSMSDSS PROCESSING
    COMPLETE. HIGHEST RETURN CODE IS 0008 FROM:
                             SYNTAX
                             TASK    001
    
    DSNU422I    248 20:23:48.09 DSNUGFCD - END OF DFSMS MESSAGE
    DSNU030I    248 20:23:48.10 DSNUBCDV - UNABLE TO ALLOCATE
    WANGNAN.DSN8DA1A.DSN8SA1D.P00001.EFTMOE2Z, RC=4,
    CODE=X'17080002'
    DSNU016I    248 20:24:01.92 DSNUGSAT - UTILITY BATCH MEMORY
    EXECUTION ABENDED, REASON=X'00C4'
    DSNU016I    248 20:24:02.93 DSNUGBAC - UTILITY BATCH MEMORY
    EXECUTION ABENDED, REASON=X'00E40347'
    

Local fix

  • N.A.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All DB2 10 for z/OS and DB2 11 for z/OS      *
    *                 users of COPY, REORG, LOAD, REBUILD INDEX    *
    *                 utility with FCCOPYDDN specified or RECOVER  *
    *                 from a FlashCopy image copy.                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: FlashCopy failed with DFSMSdss message  *
    *                      ADR707E when user did not have the      *
    *                      correct RACF authority, but the utility *
    *                      job ended with RC0 instead of RC8 and a *
    *                      record was inserted into SYSIBM.SYSCOPY *
    *                      indicating a successful FlashCopy had   *
    *                      been made when it had not.              *
    ****************************************************************
    * RECOMMENDATION: Apply corrective PTF when available.         *
    ****************************************************************
    User ran a COPY, REORG, LOAD, REBUILD INDEX utility with
    FCCOPYDDN specified or RECOVER from a FlashCopy image copy when
    user did not have the correct RACF authority. The utility job
    ended with RC0 instead of RC8 and a record was inserted into
    SYSIBM.SYSCOPY indicating a successful FlashCopy had been made,
    however the FlashCopy data set was not created.
    
    In the case of COPY utility with COPYDDN and FCCOPYDDN
    specified, ABEND04E RC00E40347 was received because no
    FlashCopy data set was available from which to make a
    sequential copy.
    
    The problem occurred because the utility failed to handle the
    error message MSGADR707E from DFSMSdss when the user did not
    have the correct RACF authority.
    

Problem conclusion

  • DB2 code has been modified to handle message ADR707E and RC8
    from DFDSS when FlashCopy is requested for COPY, REORG, LOAD
    , REBUILD INDEX or RECOVER utilities.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI09650

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-01-16

  • Closed date

    2014-05-05

  • Last modified date

    2014-06-03

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UI17694 UI17695

Modules/Macros

  • DSNUGFUM
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RA10 PSY UI17694

       UP14/05/21 P F405

  • RB10 PSY UI17695

       UP14/05/21 P F405

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 June 2014