z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


VERSION—Set or Query Version Number

z/OS ISPF Edit and Edit Macros
SC19-3621-00

The VERSION macro command allows you to change the version number assigned to a member of an ISPF library.

The VERSION assignment statement either sets the version number, or retrieves the version number and places it in a variable.

For more information about version numbers, see Version and modification level numbers.

Syntax

Read syntax diagramSkip visual syntax diagram
Macro command syntax

>>-ISREDIT--VERSION--num---------------------------------------><

num
The version number. It can be any number from 1 to 99.
Read syntax diagramSkip visual syntax diagram
Assignment statement syntax

>>-ISREDIT--(varname)-- = --VERSION----------------------------><

Read syntax diagramSkip visual syntax diagram
>>-ISREDIT--VERSION-- = --num----------------------------------><

varname
The name of a variable to contain the version number. The version number is a 2-digit value that is left-padded with zeros.
num
Same as macro command syntax.

Return codes

0
Normal completion
4
Stats mode is off, the command is ignored
12
Invalid value specified (the version must be 1 to 99)
20
Severe error

Examples

To save the version number in variable &VERS:
ISREDIT (VERS) = VERSION
To set the version number to 1:
ISREDIT VERSION 1
To set the version number from variable &VERS:
ISREDIT VERSION = &VERS

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014