What release of CA Calendar Routines do I have installed on my system?

Document ID : KB000053370
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

This document describes two ways of identifying your current release level of CA Calendar Routines.

Solution:

There are two ways to determine what release of CA Calendar Routines you are using.

The first is with CA's source code. The product is delivered as COBOL source code that the customer modifies, compiles, and links at his/her site. If you can find your source code, the release number is in the comments at the beginning of the source code.

Otherwise, you can modify any of your applications that call CA Calendar Routines to show you the release that is being called. When the Calendar Routines program is called, it returns its release level along with the requested date. You can insert a display into an application to show you that release level. It will look something like this:

 PERFORM  TRC-CALENDAR-ROUTINES 
 IF  TRC-CONVR-RETURN-GOOD 
   MOVE TRC-CONVR-OUT-NUMERIC-PARM 
   TO NUMERIC-DUE-DATE 
   DISPLAY 'VERSION ' TRC-CONVR-VERSION-ID   <===  This is the code that you add.
 ELSE 
   DISPLAY 'ERROR' 

That will show you something like:
VERSION 6.00

NOTE:
This feature was introduced in release 4.0. If you get a compiler error saying that TRC-CONVR-VERSION-ID is an undefined variable, then you are on release 3.1 or earlier.