IBM Support

QMGTOOLS: How to check and update QMGTOOLS

Question & Answer


Question

How to check, update and schedule update for QMGTOOLS?

Answer

The document gives the methods to check and update QMGTOOLS for the latest version.
There are 3 methods listed in this document:

Method 1 - Update with the "Check IBM for update QMGTOOLS" option

Update by using the "Check IBM for update QMGTOOLS" option

This option is located in the main QMGTOOLS menu. When selected, the tool tries to FTP to the IBM public FTP site at https://public.dhe.ibm.com/services/us/igsc/has.

A) In the following screen capture, option 13 is the "Check IBM for updated QMGTOOLS" option. The equivalent command to option 13 is QMGTOOLS/CMPVER. Once selected, follow the on-screen instructions.

image-20230821085855-4

B) Take defaults on CMPVER screen. 
image-20230821084227-1
C) Current build date available is shown along with your current build date.
image-20230821084544-2
D) Take F6 to download and update.  This process will download to the save file, then will do a RSTLIB.
E) Once completed, take option 12 to verify new version.
image-20230821085614-3
* AUTOMATIC SCHEDULED UPDATE FOR QMGTOOLS 
The CMPVER command can be used in a job schedule entry to assist in keeping QMGTOOLS current.  Utilizing the "Bypass prompts" parameter (NOPROMPT), it will check for update first, and will update ONLY if the QMGTOOLS current build date is more current than the installation.  This example can be used to add to the job scheduler to run on Sundays at 23:00:00. 
ADDJOBSCDE JOB(UPDATEMG) CMD(QMGTOOLS/CMPVER NOPROMPT(Y) FRCDWNLD(N)) FRQ(*WEEKLY) SCDDATE(*NONE) SCDDAY(*SUN) SCDTIME('23:00:00') JOBQ(QSYS/QSYSNOMAX)

Method 2 - Update using iDoctor (No longer supported.  Please use method 1 or 3)

Method 3 - Manually update or install from the IBM public FTP site

Manually update or install a new build from the IBM public FTP site
Note: We are updating the QMGTOOLs version on your IBM i. QMGTOOLS library does not have to be on the system.

1) Browse to url https://public.dhe.ibm.com/services/us/igsc/has/

2) Select the save file that matches your IBM i release and download to a PC. For example, file qmgtool720.savf is for version R720. (Note: You may need to right click on the file and select "Save Link As" to download it.)

3) Pre-create the save file object on the IBM i, for example: CRTSAVF FILE(QGPL/QMGTOOL720)


4) Upload the save file to your IBM i system. The following is an upload example.

ftp testsystem (or IP address)
Connected to testsystem.
220-QTCP at TESTSYSTEM.
220 Connection will close if idle more than 5 minutes.
Name (testsystem:guest): daggitybo
331 Enter password.
Password:
230 DAGGITYBO logged on.
Remote system type is .
ftp> quote site namefmt 0
250  Now using naming format "0".
ftp> bin
200 Representation type is binary IMAGE.
ftp> put qmgtool720.savf qgpl/qmgtool720
local: qmgtool720.savf remote: qgpl/qmgtool720
229 Entering Extended Passive Mode (|||49213|).
150 Sending file to member QMGTOOL720 in file QMGTOOL720 in library QGPL.
226 File transfer completed successfully.
ftp> quit
221 QUIT subcommand received.
5)  If QMGTOOLS library exists:

       a)  CRTDUPOBJ OBJ(FTP2IBMCMD) FROMLIB(QMGTOOLS) OBJTYPE(*DTAARA) TOLIB(QGPL)

      b) if QMGTOOLS/FTP2IBMCMD *DTAARA does not exist, CLRLIB QMGTOOLS and proceed to step 6    
      c) CLRLIB QMGTOOLS
      d) CRTDUPOBJ OBJ(FTP2IBMCMD) FROMLIB(QGPL) OBJTYPE(*DTAARA) TOLIB(QMGTOOLS)
     

6) Restore the library, QMGTOOLS:

RSTLIB SAVLIB(QMGTOOLS) DEV(*SAVF) SAVF(library/savefile) 
Example: RSTLIB SAVLIB(QMGTOOLS) DEV(*SAVF) SAVF(QGPL/QMGTOOL720)

[{"Product":{"code":"SWG60","label":"IBM i"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Component":"Not Applicable","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"Version Independent","Edition":"Standard","Line of Business":{"code":"LOB68","label":"Power HW"}},{"Product":{"code":"SWG60","label":"IBM i"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB68","label":"Power HW"}}]

Document Information

Modified date:
17 September 2025

UID

nas8N1020468