Communicator 3000 MPE/iX Release 6.0 (Platform Software Release C.60.00) (30216-90269)

Chapter 10 181
Technical Articles
Year 2000 and Other Enhancements in VPLUS
Year 2000 and Other Enhancements in
VPLUS
by Kumar KN and Rajesh Channabasavaiah
Commercial Systems Division
Introduction
This article provides information on the following VPLUS
enhancements available in version B.06.07.
Turn-of-century enhancement
Ability to define default Field Type and Data Type for a Form
Ability to define more than 52 single character fields per Form
New intrinsics to get and set Save Field values programmatically
Ability to Renumber a Form with Interactive FORMSPEC
A description of these features follows.
Turn-of-Century Enhancement
VPLUS version B.06.07 contains enhancements to handle Year 2000
and beyond in applications. These enhancements can be grouped into
three segments as follows:
Intrinsic enhancements
FORMSPEC enhancements
Processing enhancements
Intrinsic Enhancements
Two new intrinsics have been added to VPLUS to handle dates in the
next century. These are VGETYYYYMMDD and VPUTYYYYMMDD. These
intrinsics are similar in structure and function to the existing intrinsics
VGETYYMMDD and VPUTYYMMDD respectively. The difference is that the
date values handled by the new intrinsics contain 4-digit year
components.
Intrinsic VGETYYYYMMDD
Converts data in the data buffer to a eight-byte character value and
copies it to an application.
Syntax
VGETYYYYMMDD {comarea,fieldnum,variable}