IBM Support

Restoring an APAR Library

Troubleshooting


Problem

This document is intended to provide directions for support center representatives to restore an APAR library that has been sent in as a save file.

Resolving The Problem

To have a customer collect an APAR library and e-mail it in as a save file, refer them to the following Rochester Support Center knowledgebase document:

Saving APAR Data for an FFDC Problem and Sending It as an E-Mail Attachment

To restore the APAR library, do the following:

1.Detach the .savf attachment from the customer's e-mail to your PC.
2.Create a PMR library to hold the restored data:

CRTPMRLIB LIBNAM(PMRxxxxx) PMR(xxxxx) BO(yyy) CNTRY(zzz)

where xxxxx is the first five digits of the PMR number, 'yyy' is the branch, and 'zzz' is the country code.
3.Create a save file on the iSeries to hold the uploaded data:

CRTSAVF PMRxxxxx/PMRxxxxx
4.FTP the save file to the iSeries:

a. Open an MS-DOS command box.
Start -> Run -> cmd
b. Change the directory to the PC directory that the detached save file is in.
Example: cd C:\
c. Open the FTP to the iSeries.
    FTP SystemName or FTP xxx.xxx.xxx.xxx
    where SystemName is the System i name and xxx.xxx.xxx.xxx is the System i TCP/IP address. Press the Enter key.
d. Log in as you would to the iSeries.
e. Put the FTP session in binary mode.
BIN
f. Set the FTP session format to use library name format.
QUOTE SITE NAMEFMT 0
g. Change the current library on the iSeries to the PMRxxxxx library.
cd PMRxxxxx
h. Upload the detached save file to the save file on the iSeries.
put savf_name.savf_extension PMRxxxxx
i. Quit the session.
QUIT

NOTE: You may have to add cd /QSYS.LIB after the bin.
5.Check the contents of the uploaded save file, and take note of the APAR library name.

DSPSAVF PMRxxxxx/PMRxxxxx

The APAR library will have a type of *LIB and will look like 'QSCnnnnnnn'
6.Run the following Restore Library command:

RSTLIB SAVLIB(QSCnnnnnnn) DEV(*SAVF) SAVF(PMRxxxxx/PMRxxxxx) MBROPT(*ALL) ALWOBJDIF(*ALL) RSTLIB(PMRxxxxx)
7.Run the following Restore APAR Data (RSTAPARDTA) command:

RSTAPARDTA FRMAPARLIB(PMRxxxxx)
8.The documentation can then be viewed by issuing the following command:

WRKOUTQ OUTQ(PMRxxxxx/QSCAPAROQ)

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]

Historical Number

530556298

Document Information

Modified date:
18 December 2019

UID

nas8N1018567