TNS/R Native Application Migration Guide

TNS/R Native Application Migration Guide523745-001
12-1
12 Pathway/TS Migration Tasks
This section describes migration tasks related to the Pathway/Transaction Services
(Pathway/TS) product.
The Pathway/TS Terminal Control Program (Pathway/TS TCP) user conversion
procedures enable you to make your own validation checks or conversions of data
passed between a SCREEN COBOL (SCOBOL) program and a terminal screen or
intelligent device.
In D40 and subsequent Pathway/TS product versions, the user conversion procedures
are in a native user library. You must convert user-written conversion procedures from
TAL to pTAL. Unlike the other migration tasks described in this manual, which only
need to be performed to migrate a program to native mode, the user conversion
procedures must be converted to pTAL to run on D40 and subsequent operating
system RVUs.
Converting user conversion procedures from TAL to pTAL seldom requires source
code changes. In most cases, you simply use the pTAL compiler and the nld utility to
compile and link the procedures to the TCP user library file PATHTCPL. Similar to the
PATHAXCL macro which compiles, binds, and accelerates user conversion
procedures, the MAKEUL macro compiles and links user conversion procedures to
generate the PATHTCPL file.
Additionally, the definition of the FILL^CHAR parameter has changed in the following
four user conversion procedures:
USER^NUMERIC^INPUT^MSG^CONV
USER^ALPHA^INPUT^MSG^CONV
USER^NUMERIC^OUTPUT^MSG^CONV
USER^ALPHA^OUTPUT^MSG^CONV
If you customize any of these user conversion procedures, you must change the
FILL^CHAR parameter from STRING FILL^CHAR to STRING.FILL^CHAR.
For more information, see the Pathway/iTS TCP and Terminal Programming Guide.