H-Series Application Migration Guide (H06.03+)

pTAL Migration Tasks
H-Series Application Migration Guide429855-006
7-5
Changed Functions and Procedures
1. Split the procedure into two separate procedures:
°
One that returns both a traditional function value and a condition code value
°
One that returns only the traditional function value
2. In an external declaration, use a public name clause to map the original pTAL
procedure name to a new and different linkage name.
3. Change the aliases of the C/C++ prototypes to the appropriate new pTAL
procedure. (This eliminates the need to change the calls to these prototypes.)
4. Retire the original pTAL procedure linkage name. This allows the eld utility to
identify any uses of unchanged C/C++ prototypes instead of producing an
executable program that uses the old prototypes (because eld does not produce an
executable program if there are unresolved procedure references).
For more information and examples, see the pTAL Reference Manual.
Changed Functions and Procedures
The following functions and procedures are not supported or are changed in TNS/E
pTAL. Calls to these functions and procedures must be removed or changed as
indicated:
Note. With the exception of $STACK_ALLOCATE, all of the following procedures are privileged. If
you require assistance with any of these functions,
consult the resources described in
Section 10, Where to Go for Assistance.
Function or
Procedure Notes and Required Action
$AXADR Not supported in TNS/E pTAL.Rreplace with standard interface.
$EXECUTIO Not supported by TNS/E pTAL. Replace with H-series directly-
called privileged interface.
$FREEZE Replace with the $TRIGGER function. For ease of migration,
$FREEZE is allowed as a DEFINE name. $TRIGGER is new in
TNS/E pTAL.
$HALT Replace with the $TRIGGER function. For ease of migration,
$HALT is allowed as a DEFINE name. $TRIGGER is new in TNS/E
pTAL.
$INTERROGATEIO Not supported in TNS/E pTAL. Replace with H-series directly-called
privileged interface.
$INTERROGATEHIO Not supported in TNS/E pTAL. Replace with H-series directly-called
privileged interface.
$LOCATESPTHDR Not supported in TNS/E pTAL. Replace with H-series directly-called
privileged interface
.