OASIS Previous/Next Term Utility

Many programs need to fetch more than one term. The SI0900E utility may only be invoked once in a program. This utility expands on the functionality by determining a previous or next term, if such needs to be determined.

In addition, the utility is semester aware, so no program changes will need to be made to accommodate Auburn's change to the semester system.

Usage

There is a copy member called LIB0900H which contains the parameter format. The utility requires an 11 byte parameter field, constructed as follows:

Invoke the routine as follows:

SI0900H yyyy

where yyyy is the passed parameter variable.

SI0900H Example

A sample program might look as follows:


MACRO
FILE FILE01
   ...
   ...
   ...
  %LIB0900H

JOB INPUT NULL
  HPARM1 = '2001S'
  HPARM3 = 'P'
  %SI0900H HPARM
  DISPLAY HPARM
  STOP

This is a very simplistic example of use of the SI0900H routine. It will determine the previous term to be 2000F.

No JCL changes are required to use this utility.


OIT--Applications Support


Last Modified: Tuesday, 28-Nov-2000 10:35:58 CST

©2000 All Rights Reserved