Question & Answer
Question
How to check and update 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 2 - Update or install QMGTOOLS using iDoctor (No longer supported)
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.
B) Take defaults on CMPVER screen.
C) Current build date available is shown along with your current build date.
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.
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: 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 the IBM i. The following is an upload example.
ftp testsystem
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":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Not Applicable","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"Version Independent","Edition":"Standard","Line of Business":{"code":"LOB57","label":"Power"}},{"Product":{"code":"SWG60","label":"IBM i"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]
Was this topic helpful?
Document Information
Modified date:
21 August 2023
UID
nas8N1020468