IBM Support

Message DFU0007 When Running DFU Commands

Troubleshooting


Problem

This document explains why executing a DFU command would return a message DFU0007.

Resolving The Problem

This document explains why executing a DFU command would return a message DFU0007.

DFU command line commands cannot be executed within DFU itself. If a user issues a STRDFU followed immediately by a CHGDTA, the user will receive a message DFU0007 stating that DFU is already active.

Picture showing DFU main menu and the message "DFU is already active."

This is because you cannot execute DFU commands from the command line in DFU. If a user calls a program or goes to a different menu from this menu and runs a DFU command, they will also get this message because DFU is still active in the background. To confirm that DFU is still active, you should check the callstack. It will have the programs QDZCPP and QDZMAIN listed if DFU is active.

Type  Program    Statement                Procedure  
      QCMD       QSYS                     /0517              
      QUICMENU   QSYS                     /00C1              
   1  QUIMNDRV   QSYS                     /060F              
   2  QUIMGFLW   QSYS                     /04D7              
   3  QUICMD     QSYS                     /056E              
      QDZCPP     QSYS                     /00F4              
      QDZMAIN    QSYS                     /0049              
   4  QUIMGFLW   QSYS                     /04D7              
   5  QUICMD     QSYS                     /056E              
      QUICMENU   QSYS                     /00C1              
   6  QUIMNDRV   QSYS                     /060F              
   7  QUIMGFLW   QSYS                     /04D7              
   8  QUICMD     QSYS                     /056E              

Resolution: Use the numbered options within DFU to execute DFU commands, or exit DFU using F3/F12 and then run the commands.

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m3p000000F91aAAC","label":"Programming ILE Languages-\u003EUtilities"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"and future releases;7.1.0"}]

Historical Number

571650378

Document Information

More support for:
IBM i

Component:
Programming ILE Languages->Utilities

Software version:
and future releases, 7.1.0

Operating system(s):
IBM i

Document number:
686157

Modified date:
12 May 2025

UID

nas8N1012042

Manage My Notification Subscriptions