HPlogo MPE/iX System Utilities Reference Manual > Chapter 31 VERSION

VERSION Operation

MPE documents

Complete PDF
Table of Contents
Index

To invoke VERSION enter:

  VERSION
  VERSION file(s)
  VERSION "file(s),search string"

Parameters
file(s)

The name of a program file or a wildcarded fileset.

search string

The name of a particular $version string in a system object module SOM. (Not applicable for CM program files.) Quotes are required if a search string is specified. Spaces within the search string are significant and the search string is not case sensitive.

Example

To find out the version of the file P01P346A.PUB.SYS, enter:

  VERSION P01P346A.PUB.SYS

Or, using a file set and a search string, you would enter:

  VERSION "P@.@.MFGACCT,HEADER"

If a file(s) or "file(s),search string" is not entered the version prompt VERSION> appears and you may enter data then.

To terminate VERSION enter:

  EXIT or :

If the input to VERSION is a file set, every file in the set will be processed even if an error occurs processing a previous file. If there is an error opening a file, the file system error will be displayed in addition to the VERSION error message.

VERSION displays the following information.
CM program file

Number of segments, stack size, maximum data segment size, total data reference base (DB), data segment limit (DL), and capabilities.

NM executable file

Unsatisfied procedure name, library search list, capabilities, maximum stack size, maximum heap size, entry name, and all $version strings found in the SOMs.

NM object file

All $version strings found in the SOMs.

NM nonexecutable library file

All $version strings found in the SOMs.

Additional Discussion


For more information on the $version strings found in the SOM, refer to the HP Pascal/iX Migration Guide.




Chapter 31 VERSION


Index