Skip to main content

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.

This section covers the following topics:

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.