How to assign the Reporting Server release to a variable when running WebFOCUS requests


Technique

Product: Reporting Server
Release: 8205
Primary OS: z/OS
Solution Date:

Problem

How to assign the Reporting Server release to a variable when running WebFOCUS requests.

Solution

The &FOCREL system variable contains the Reporting Server release. Using the following code in a focexec:

-TYPE  THE RELEASE IS: &FOCREL

Will display the following:

THE RELEASE IS: M728200B

Use a DEFINE statement to translate the release if desired.