Detailed System Requirements
Abstract
This document shows multiple ways to retrieve data from an IBM i in order to send to IBM support.
Content
If you are unable to use QMGTOOLS to send data to IBM, then you need to retrieve the data from the IBM i to a PC or another system and upload to IBM manually.
| Retrieving Data From an IBM i |
When data is collected using a QMGTOOLS function, a message should have been displayed on where the data was stored. In this example screen capture, a data collection function completed and the file where data was stored is shown to the user.

Listed in this section will be several examples of how to retrieve a file from the IBM i to a PC.
Retrieving a file using IBM i Access Client Solutions
Note: This same technique can be used for an MSD file.
If installed on your PC, you can use IBM i Access Client Solutions to copy over the file. Additional information about IBM i Access Client Solutions can be found here:
Select the system where the data is stored and click Integrated File System like in the following example.

Once the Integrated File System link is selected, navigate to where the file resides. In our example, the file generated was /tmp/MGTOOL73_SYSSNAP0001.zip, so we navigate to /tmp and find file MGTOOL73_SYSSNAP0001.zip. When the file is found, right-click it and choose download.

If the file is a save file, navigate to the library and find the file. For example, a save file DAGGITY was saved in library QTILIB. The path for libraries will be /QSYS.LIB/<name of library>.LIB/, so for library QTILIB, the IFS path is /QSYS.LIB/QTILIB.LIB/. The save file will have a .FILE extension. If our save file is DAGGITY, then the file name is DAGGITY.FILE. Using the same technique as the previous example, once the save file is found, right-click and select download.
Note: Since the save file will be downloaded with an extension of .FILE, change the extension to .SAVF to avoid confusion as to what file is being uploaded to IBM support.

Retrieving a file using standard FTP
Note: This same technique can be used for an MSD file.
From your PC, see if you have the FTP command (depending on the OS, FTP may or may not be included). If the command exists, type FTP <hostname of IBM i> and hopefully you should be able to connect to the IBM i. When connected, enter your credentials and retrieve the file that was created. In the above example, a zip file was created with a path of /tmp/MGTOOL73_SYSSNAP0001.zip use the following command to retrieve the file:
bin <ENTER>
get <path of file> <ENTER>
Below is an example.
ftp wintest |
If downloading a save file, the location of the file will be <library>/<name of save file>. If a save file called DAGGITY was stored in library QTILIB, use command:
bin <ENTER>get <name of library where save file exist>/<name of save file> <name of file to be used on the local PC> <ENTER>
Below is an example a retrieving a save file called DAGGITY in library QTILIB and having it named PMRDATA.savf on the local PC.
ftp> bin |
Note: The reason why command BIN is first used before the file transfer is we are indicating that the file is a binary file such as a .ZIP or save file. If we do not do that, the file may not be usable.
Retrieving a file using SFTP
If you do not have an FTP client, check if SFTP exist on your PC. SFTP is secure FTP which functions like SSH. If the command exists, start up the SSH server (if not already started) on the IBM i by issuing command: STRTCPSVR *SSHD. Once started on the IBM i, run the SFTP command to connect using an example like this: sftp <user ID on IBM i>@<hostname of IBM i>. Once signed on, grab the file using this command example:
get <path of file> <ENTER>
Below is an example.
sftp admin@wintest |
If the file is a save file, use this format for the path:
/QSYS.LIB/<library where save file resides>.LIB/<name of save file>.FILE
So if a save file called DAGGITY was saved to library QTILIB, the command would be:
get /QSYS.LIB/QTILIB.LIB/DAGGITY.FILE <ENTER>
Below is an example.
sftp admin@wintest |
Since the save file will be downloaded with an extension of .FILE, change the extension to .SAVF to avoid confusion as to what file is being uploaded to IBM support.
| Uploading Data To IBM |
Refer to this URL to upload data to IBM
If the above link does not work, try an Internet search using the search string "IBM and ecurep". There are several options listed to assist you in uploading the data.
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CKnAAM","label":"Performance->Tools"}],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
01 September 2021
UID
ibm10869926