fhg
Volume 7, Number 33 -- September 26, 2007

Admin Alert: What Vendors Want to Know (and How to Get It)

Published: September 26, 2007

by Joe Hertvik

When purchasing i5/OS third-party software, vendors may request system control information for the partition their products will be installed in. This information is used to create unique licensing keys that must be installed with the product for piracy prevention. Unfortunately, IBM doesn't have one screen to find vendor-required system information. To remedy that fault, this week I provide a roadmap for locating common vendor information.

What Vendors Want

It's my experience that System i software vendors are generally looking for two or more of the following pieces of system control information in order to create a unique product licensing key.

  1. System serial number--The seven-digit number that uniquely identifies your machine. Many System i, iSeries, and AS/400 serial numbers start with the number 10 and it's common to see the serial number printed in the format xx-yyyyy, where xx equals the first two digits of the serial number and yyyyy equals the last five digits of the serial number. Serial numbers can be displayed in the system either with or without a connecting dash (i.e., 10B7397 or 10-B7397).
  2. Machine type--A four-digit identifier that IBM traditionally uses to identify different types of machines in each of its product line. Common System i, iSeries, and AS/400 machine types include 9402, 9404, and 9406. The same machine type is commonly used across several different types of models.
  3. Model number--The four-character value that defines the specific type of System i machine that you own. Common System i models include the models 550 and 570. Although IBM stores this value in a four-character field, many model numbers are only three characters long.
  4. Processor feature--The processor feature code level of the system, which identifies the processor used on the system.
  5. Processor group--The processor category that IBM considers your processor feature to belong to (i.e., P10, P20). Because many vendors price software by processor group, this is one of the more important values when purchasing third-party software. The higher processor group that your partition belongs to, the more expensive it may become to purchase your software.
  6. Partition ID--In a partitioned system, the individual number (starting with 1) that identifies your partition to the system.
  7. Number of processors that are allocated to this partition--This value displays how many processors out of the machine's total processor pool belong to the partition where you want to install the software.

Except for your partition ID and the number of processors allocated to your partition, the rest of these system values are the same for all partitions on the same machine. Many of these numbers are listed together in the same functions but to get all of these numbers, you may have to reference several different areas on either the green screen, in iSeries Navigator (OpsNav), or on the Hardware Management Console (HMC). Here's my cheat sheet of techniques for locating system control system values. To help you figure out where you can go to retrieve any one of these values, I have listed the system values that each technique retrieves both in the section describing the technique and in a summary table at the end of this article.

WRKSYSVAL on the Green Screen

Values retrieved: System serial number, model number, and processor feature

You can find these particular items by using the following Work with System Values command (WRKSYSVAL) to display the system control system values.

WRKSYSVAL SYSVAL(*SYSCTL)

This command displays a sub-file of many different system values dealing with system control. To view any of the three values off our list, you can put a '5'=Display in front of these entries.

QSRLNBR – System Serial Number
QMODEL – System Model Number
QPRCFEAT – System Processor Feature

OpsNav System Control System Values Screen

Values retrieved: System serial number, model number, and processor feature

You can retrieve this group of values in iSeries Navigator by expanding the Configuration and Service→System Values node under your target partition and then opening the System Control entry that appears in the right-hand OpsNav pane.

OpsNav System Properties Screen

Values retrieved: System serial number, machine type, model number

The maddening thing about hunting for system values is that IBM doesn't group all of the relevant values in one place. While the last two techniques were great for getting the serial number, model number, and processor feature, they did not retrieve the machine type or processor group. While I don't have a technique for retrieving the processor group inside OpsNav, you can easily retrieve the machine type along with the model number and serial number by right-clicking on your i5/OS system node and then selecting Properties from the pop-up menu that appears. Once your system's Properties window appears, click on the General tab and the system serial number, machine type, and model number will appear.

WRKLICINF on the Green Screen

Values retrieved: System serial number and Processor Group

You can use the Work with License Information command (WRKLICINF) to retrieve the serial number and processor group. Just type in WRKLICINF and that information will appear in the header of the WRKLICINF screen.

The Retrieve License Information API (QLZARTV)

Values retrieved: Processor group

To retrieve the processor group for a partition, you can write a program using the retrieve license information API (QLZARTV) to retrieve information in the LICR0200 format. Inside the returned LICR0200 data structure, you can find your system's processor group in a three-digit character value starting at offset 47. For more information on using QLZARTV, see IBM's Web site on the API.

Hardware Management Console (HMC)

Values retrieved: System serial number, machine type, model type, number of processors allocated to this partition, partition ID

If your system is set up with an HMC, you can retrieve the current number of processors and the partition ID by going into the Hardware Management Console and opening the Server and Partition→Server Management node in the left-hand pane. On the right-hand side of the HMC, you will see all the logical partition profiles that are defined for the system you are controlling. Right-click on the logical partition name you want to examine and select Properties from the pop-up menu that appears. This will bring up the Partition Properties window for your target partition.

In the Properties window, you can click on the General tab and the HMC will show you the serial number, the machine type, the model type, and the partition ID for the partition. If you are looking for the current number of processors, click on the Hardware tab in the Properties window and select the Processors and Memory sub-tab that appears on the screen. In this window, you'll be able to find the current number of processors that are allocated to your partition.

Service Agent Registration Information on the Green Screen

Values retrieved: Machine type, system serial number, partition ID

Outside of the Hardware Management Console, the only other place where I found the partition ID is in the Display service registration information option on the Electronic Service Agent menu. To get to this display, open the Electronic Service Agent menu by typing the following Go to Menu command (GO) inside a PC5250 session.

GO SERVICE

Select option 6, Display service registration information and the machine type, serial number, and the partition ID will appear.

OpsNav System Status Screen

Values retrieved: Number of processors allocated to this partition

Also outside of the HMC, you can find the number of processors currently allocated to a partition in the Processors area of the OpsNav System Status screen. To get to this screen, right-click on your target system node in OpsNav and select System Status from the pop-up menu that appears. This brings up the OpsNav System Status display. Click on the Processors tab on that display and this screen will show you the number of processors that are currently allocated to the partition.

One Goal, Many Roads

As you can see, it's fairly easy to retrieve vendor requested system information if you just know where to look. The frustrating thing is that IBM doesn't put all this information together in one place for easy retrieval. In future releases, Big Blue will hopefully make this information easier to find for its users.

About Our Testing Environment

Configurations described in this article were tested on an i5 550 box running i5/OS V5R3. Many of the commands may also be available in earlier versions of the operating system running on iSeries or AS/400 machines. iSeries Navigator (OpsNav) features were tested with the OpsNav version that is shipped with iSeries Access for Windows V5R3M0. If a command is present in earlier versions of the i5/OS or OS/400 operating systems, you may notice some variations in the pre-V5R3 copies of these commands. These differences may be due to command improvements that have occurred from release to release.

i5/OS Methods For Retrieving System Control Information


System Control System Value

Method for retrieving this value

System Serial Number

  • WRKSYSVAL SYSVAL(*SYSCTL)
  • OpsNav System Control System Values screen
  • OpsNav System Properties screen
  • WRKLICINF
  • Service agent registration information screen
  • Hardware Management Console (HMC)

Machine Type

  • OpsNav System Properties screen
  • Service agent registration information screen
  • Hardware Management Console

Model Number

  • WRKSYSVAL SYSVAL(*SYSCTL)
  • OpsNav System Control System Values screen
  • OpsNav System Properties screen
  • Hardware Management Console

Processor Feature

  • WRKSYSVAL SYSVAL(*SYSCTL)
  • OpsNav System Control System Values screen

Processor Group

  • WRKLICINF
  • Retrieve License Information API (QLZARTV)

Partition ID

  • Service agent registration information screen
  • Hardware Management Console (HMC)

Number of Processors Allocated to Partition

  • OpsNav System Status screen
  • Hardware Management Console (HMC)



RELATED STORY

Retrieve License Information (QLZARTV) API, IBM



                     Post this story to del.icio.us
               Post this story to Digg
    Post this story to Slashdot


Sponsored By
COMMON

COMMON Focus 2007 will be our first annual workshop conference event, featuring three days of intense, focused education. It will be a smaller, more intimate event than a traditional COMMON conference with a limited number of attendees - allowing attendees for more one-on-one interaction with the speakers and each other.

There will be 15 in-depth, all-day educational workshops offered - both in lab and lecture-style formats - in a wide range of topic areas. Attendees can attend only one workshop per day, providing attendees the opportunity to focus their educational needs on a specific topic each day.

                                Workshops offered at COMMON Focus 2007 include:

                                Monday
                                · Disaster Recovery Primer - Ready, Set, Plan
                                · Modernizing RPG Applications
                                · Implementing i5/OS Security
                                · (LAB): PHP Essentials
                                · (LAB): WDS and WDSc Guided Tour

                                Tuesday
                                · Disaster Recovery Workshop: Be Well Prepared
                                · All You Need to Know about SQL in Six Hours
                                · System i Access for Web
                                · (LAB): IBM System i Navigator Workshop
                                · (LAB): Hands on VB.net and ASP.net for System i Developers

                                Wednesday
                                · Systems Management Workshop
                                · Beyond the Basics with SQL
                                · RPG Meets the Web
                                · (LAB): Optimize Your System i with IBM Performance Management Tools
                                · (LAB): Using Java to Build System i Web Applications

COMMON Focus 2007 will kickoff on the evening of Sunday, October 14th
with a Welcome Reception, where attendees and workshop instructors can meet and network.
A continental breakfast and lunch will be provided each day, along with several breaks,
giving attendees time to interact with each other.

COMMON Focus 2007 will also have a tabletop-style exhibition area, featuring
a limited number of exhibitors. Attendees will be able to view and get
hands-on demonstration on the latest System i-related solutions available to them.

This innovative educational conference promises to be three days of intense learning -
it is an educational opportunity that you don't want to miss.

Learn more at www.common.org/focus.


Senior Technical Editor: Ted Holt
Technical Editors: Howard Arner, Joe Hertvik, Shannon O'Donnell, Kevin Vandever
Contributing Technical Editors: Joel Cochran, Wayne O. Evans, Raymond Everhart,
Bruce Guetzkow, Brian Kelly, Marc Logemann, David Morris
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.

Sponsored Links

COMMON:  Join us at the annual 2008 conference, March 30 - April 3, in Nashville, Tennessee
looksoftware:  Stop recoding with end-to-end modernization solutions
NowWhatJobs.net:  NowWhatJobs.net is the resource for job transitions after age 40


 

IT Jungle Store Top Book Picks

The System i Pocket RPG & RPG IV Guide: List Price, $69.95
The iSeries Pocket Database Guide: List Price, $59.00
The iSeries Pocket Developers' Guide: List Price, $59.00
The iSeries Pocket SQL Guide: List Price, $59.00
The iSeries Pocket Query Guide: List Price, $49.00
The iSeries Pocket WebFacing Primer: List Price, $39.00
Migrating to WebSphere Express for iSeries: List Price, $49.00
iSeries Express Web Implementer's Guide: List Price, $59.00
Getting Started with WebSphere Development Studio for iSeries: List Price, $79.95
Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
Getting Started with WebSphere Express for iSeries: List Price, $49.00
WebFacing Application Design and Development Guide: List Price, $55.00
Can the AS/400 Survive IBM?: List Price, $49.00
The All-Everything Machine: List Price, $29.95
Chip Wars: List Price, $29.95


 
The Four Hundred
SAP Plants Its Flag in Mid-Market Territory with SaaS Apps

A1S Is to Applications What AS/400 Was to Systems

EGL: At Least It's Not Java, But It Ain't RPG, Either

As I See It: Shocking

The Linux Beacon
Canonical, VMware Create Skinny Linux for Virtual Appliances

HP Engineers New Blade Server Box for SMB Shops

SCO Files for Bankruptcy Protection

Transitive Rejiggers Emulation Software, Adds Partners

Four Hundred Stuff
Windows Vista Poses Challenges to Emulation Vendors

NetCustomer Capitalizes on Dissatisfaction with Oracle

Infor Provides Details on SOA Roadmap

Microsoft Ships BizTalk Server R2

Big Iron
Leverage

Top Mainframe Stories From Around the Web

Chats, Webinars, Seminars, Shows, and Other Happenings

System i PTF Guide
September 15, 2007: Volume 9, Number 37

September 8, 2007: Volume 9, Number 36

September 1, 2007: Volume 9, Number 35

August 25, 2007: Volume 9, Number 34

August 18, 2007: Volume 9, Number 33

August 11, 2007: Volume 9, Number 32

The Windows Observer
Microsoft Loses Antitrust Appeal in European Court

In Search Of a More Secure Internet

Sun and Microsoft Go All the Way with Windows

HP Engineers New Blade Server Box for SMB Shops

The Unix Guardian
SCO Files for Bankruptcy Protection

Sun and Microsoft Go All the Way with Windows

SAP Plants Its Flag in Mid-Market Territory with SaaS Apps

As I See It: The Dons of Dialogue

Four Hundred Monitor
Four Hundred Monitor's
Full iSeries Events Calendar

THIS ISSUE SPONSORED BY:

Help/Systems
WorksRight Software
COMMON


Printer Friendly Version


TABLE OF CONTENTS
Weird SQL UNION Results

A Snippet Above the Rest

Admin Alert: What Vendors Want to Know (and How to Get It)

Four Hundred Guru

BACK ISSUES

From the IT Jungle Forums
What's coalesce good for?

Duplicated printer files

Urgent Help Needed--Limit the result set in SQL stored procedure

Problem with "cpyfrmimpf"

FNDSTRPDM Output Member Name to *OUTFILE





 
Subscription Information:
You can unsubscribe, change your email address, or sign up for any of IT Jungle's free e-newsletters through our Web site at http://www.itjungle.com/sub/subscribe.html.

Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034

Privacy Statement