Midrange News for the IBM i Community


Display IBM i Operating System Version on the Command Line Published by: Bob Cozzi on 03 May 2012 view comments

DSPVER (Display IBM i Version/Release Level)

The DSPVER command retrieves information about the system name on operating system version/release level. That information is sent as a completion message to *PRV (the caller) and logged in the joblog. If the end-user running the DSPVER command is on an IBM display or Command Entry, the message is normally visible in the "subfile message record" located at the bottom of the display.

===> DSPVER             
COZ720 - IBM i V7R1M0 - COZTOOLS v7.1 Build B0.7 - 22JUN2012

The following information is listed:

  • System Name
  • IBM i version and release level
  • COZTOOLS version, build and release date (NOTE: During Beta Test, this info is more verbose.)

The DSPVER command is faster than using the DSPSYS command and may be run by any user. The DSPSYS command, which also displays the system name and version along with other information requires extra processing to retrieve the partition information and also requires additional end-user/user profile  authority.

It is recommended to use the DSPVER command to check which system you're on, and what version of the OS you are running, and to use DSPSYS when that and addition information about your system and partition are required.

The command is part of the COZTOOLS product for IBM i available for public beta testing beginning May 1st, 2012 and becoming available for general use in early August.

Requirements

  • IBM i v5r4m0 or later

Components

  • DSPVER Command Definition
  • DSPVER RPG IV program

 

 

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS