IBM Power Systems

IBM Power Systems

About This Blog

Warm wishes and welcome to all AS400 Administrators and Operators.



This is exclusive blog for iSeries system Administrators working anywhere in the world. Also a place for guys and gals who want to share knowledge pertaining to iSeries. This blog has been designed for exchanging knowledge on AS400 or iSeries server administration and operations.



Friday, March 12, 2010

Adding a License Key for IBM OS/400 or IBM i5/OS

Starting with Version 4 of IBM® OS/400®, a license authorization code (also referred to as a key) must be installed on your system. Each system is assigned a unique license authorization code for every Version/Release/Modification of OS/400 or IBM® i5/OS®. To ensure continuous operation of your system, this code must be installed within 70 days after installing the Version/Release/Modification of OS/400 or i5/OS.

Name. . . . . . . . . . . . . : OS/400 Operating System
Product ID. . . . . . . . . . : 5722SS1
Version Release Modification. : V5R2M0
Code ID/Install Feature Number: 5050
Hardware Serial Number. . . . : 10-abcde
Processor Group . . . . . . . : *ANY
Usage . . . . . . . . . . . . : *NOMAX
License key . . . . . . . . . : 2EA13D 10C6D1 DCA901
CL installation command:
ADDLICKEY PRDID(5722SS1)
LICTRM(V5R2M0)
FEATURE(5050)
SERIAL(*LOCAL)
PRCGRP(*ANY)
LICKEY(2EA13D 10C6D1 DCA901)
USGLMT(*NOMAX)
EXPDATE(*NONE)
VNDDTA(*NONE)
Valid values for the characters in the LICKEY are A-F and 0-9 (no Ls and no Os).
To install the license key, run the CL command shown above. The ADDLICKEY command is shipped with public *EXCLUDE authority which requires *ALLOBJ authority to use the command. Normally, the security officer of the system has this authority.
Note: There are two other ways to add the license key:
1. Use Work with License Information (WRKLICINF) with Option 1. This will fill in the first several parameters and creates less chance for possible typing errors.
2. Go to the Entitled Software Support URL, find the appropriate license key, and then select the Install option.

How to Find a PTF Downloaded by ESA

When a WRKPRB entry is reported to IBM using the Electronic Service Agent application, a comparison is made in the APAR database to the symptom string found in the WRKPRB entry. This comparison process can result in ordering and downloading PTFs for the system.
To see what PTFs have been downloaded, issue the WRKPRB command and select option 5 beside the problem log entry to be reviewed. Press F9 to see the PTF list.

PTFs downloaded in this scenario are downloaded as save files to library QGPL. To view the PTFs, issue the WRKOBJ command.

Command examples are as follows:

WRKOBJ OBJ(QGPL/QSI*) OBJTYPE(*FILE)
WRKOBJ OBJ(QGPL/QSF*) OBJTYPE(*FILE)
WRKOBJ OBJ(QGPL/QMF*) OBJTYPE(*FILE)

 There are PTF download size limits for Electronic Customer Service (ECS); this is dependent upon how your ECS is configured.

Installing PTFs from an Image File Ordered through the SNDPTFORD FTP Option

If the default directory was used in SNDPTFORD on the Image Directory parameter, the PTF image(s) will be found in /QIBM/UserData/OS/Service/ECS.

Steps to create another directory, if the default is not wanted (needs to be noted in the SNDPTFORD command, once created).
Steps to create another directory, if the default is not wanted (needs to be noted in the SNDPTFORD command, once created). Steps to create another directory, if the default is not wanted (needs to be noted in the SNDPTFORD command, once created.)
However, if another directory is wanted, the following can be used to create one:
a Open iSeries Navigator.
b Expand My Connections.
c Expand the system.
d Expand File Systems.
e Expand Integrated File System.
f Right-click on the Root and create a new folder called Fixes.
g Right-click on Fixes and select Sharing > New share.
h Select Read/Write Access and click OK.
2 Create a virtual optical device. On the operating system command line, type the following:
CRTDEVOPT DEVD(OPTVRT01) RSRCNAME(*VRT) ONLINE(*YES) TEXT('text-description')
Press the Enter key.
3 Ensure that only one virtual optical device, type 632B, is active. On the operating system command line, type the following:
WRKDEVD DEVD(*OPT)
Press the Enter key and press F14.
4 Create an image catalog. On the operating system command line, type the following:
CRTIMGCLG IMGCLG(ptfcatalog) DIR(/QIBM/UserData/OS/Service/ECS) CRTDIR(*YES) TEXT('text-description')
Press the Enter key.
Notes:
a) A directory can be associated with only one image catalog.
b) ptfcatalog is the example image catalog used in this document. This name can be changed.
5 Add an image catalog entry for fixes that you downloaded from Fix Central into an Integrated File System directory. Add the directory into an image catalog by using one of the following methods:
Method 1: From the same directory that is associated with the image catalog directory, type the following commands:
ADDIMGCLGE IMGCLG(PTFCATALOG) FROMFILE(SI#####_1.bin) TOFILE(*FROMFILE)
ADDIMGCLGE IMGCLG(PTFCATALOG) FROMFILE(SI#####_2.bin) TOFILE(*FROMFILE)
and repeat the commands until all image files are added.
Method 2: From a different directory, type the following commands:
ADDIMGCLGE IMGCLG(PTFCATALOG) FROMFILE('/differentdirectory/SI#####_1.bin') TOFILE(*FROMFILE)
ADDIMGCLGE IMGCLG(PTFCATALOG) FROMFILE('/differentdirectory/SI#####_2.bin') TOFILE(*FROMFILE)   and repeat until all image files are added.
6 Make the virtual device OPTVRT01 available for use. On the operating system command line, type the following:
WRKCFGSTS CFGTYPE(*DEV)
Press the Enter key. Then select Option 1, Make Available, for OPTVRT01.
7 Load the image catalog. On the operating system command line, type the following:
LODIMGCLG IMGCLG(ptfcatalog) DEV(OPTVRT01) OPTION(*LOAD)
Press the Enter key.
8 Verify the images are in the correct order. On the operating system command line, type the following:
VFYIMGCLG IMGCLG(ptfcatalog) TYPE(*PTF) SORT(*YES)
Press the Enter key.
9 Install the PTFs from the image catalog as you would if you were using a physical CD-ROM. The only difference is that the device you will be applying the PTFs from is OPTVRT01 rather than OPT01.
Note: Use GO PTF Option 1 and 2 or GO PTF Option 8 to install PTFs from this image catalog.
10 Unload the image catalog. On the operating system command line type the following:
LODIMGCLG IMGCLG(ptfcatalog) DEV(OPTVRT01) OPTION(*UNLOAD)
Press the Enter key.
11 Delete the images from the image catalog. On the operating system command line, type the following:
WRKIMGCLGE IMGCLG(ptfcatalog)
Press the Enter key. Select Option 9 to unload the image catalog entry. Then select Option 4 to remove the image catalog entry.
Note: This option will also remove the bin file from the Fixes directory. If you want to keep the files, use the RMVIMGCLGE command.