Conversion Utilities
Toolkit for Conversion from Thoroughbred® | |
This section outlines the steps required to convert an existing Thoroughbred® application to PxPlus. The toolkit described herein is located in the *conv.tbd directory and consists of a number of programs, which convert the programs and data files.
Note:
The *conv.tbd directory will be found in the lib directory where PxPlus was installed along with the various other system utilities, the system will replace the asterisks ( * ) with underscores ( _ ). For the purposes of this documentation, it is assumed that PxPlus has been installed in /pxplus thus *conv.tbd will be in /pxplus/lib/_conv.tbd.
This section covers the following topics:
Contents of *conv.tbd Directory
Step-by-Step Conversion Process
Prepass Conversion Files
Converting Data Files
Converting the Data Dictionary
IPLINPUT and TERMINAL File Conversion
FINPUT Emulation
The following system parameters setting should be reviewed when running converted programs:
- System parameter '47' that emulates the error 47 suppression logic found in Thoroughbred®
- Options to have CLOSE (0) close all files when the system parameter 'FF' (FID Format) is set to Thoroughbred® emulation
- System parameter '+5' forces line numbers to be output as five digits for compatibility
A few additional PxPlus specific features can also help:
- The DROP directive allows either the original program name (as supplied on the
ADDR directive) or absolute pathname as given in the PUB function
- The INPUT directive allows for the inclusion of both simple string variables in a validation list for an input
Example:
INPUT @(5,5),X$:(YES$ =1000, NO$ =2000)
Thoroughbred® is a registered trademark of Thoroughbred Software International, Inc.