Guardian Application Conversion Guide

Enhanced Attribute Values Are Returned from DEFINEs
Considerations for Migrating Any Application
D–8 096047 Tandem Computers Incorporated
Enhanced Attribute
Values Returned from
DEFINEs
Some of the attribute values returned by the DEFINE support procedures
DEFINEREADATTR and DEFINEINFO on C-series systems have been enhanced for
D-series systems.
Attributes
DEFINEREADATTR
and DEFINEINFO
Attribute values returned on
C-series system
Attribute values returned on
D-series system
File and subvolume names All attributes representing file names
or subvolume names on the local
system, do not include the system
(node) name (regardless of the
current default system).
All attributes representing file names or
subvolume names are in fully qualified
external format including the system
(node) name (except the VOLUME
attribute of the CLASS DEFAULTS
DEFINE).
Zero suppression Some numeric attributes are not
returned as zero suppressed.
All numerical attributes are returned
as left-justified, zero-suppressed,
variable length strings.
To ensure that your C-series application runs successfully on a D-series system if it
depends on these attribute characteristics, modify your application to accommodate
the new characteristics.
For a Process ID of
255 it is Important to
Know the Source
System
PIN 255 is reserved on D-series systems as the PIN part of a synthetic process ID.
Synthetic process IDs are returned for high-PIN processes by some procedures and
system messages that return only C-series process IDs. However, PIN 255 is still a
valid PIN on C-series systems. Your application might need to process a process ID
with a PIN of 255 in a different way depending on whether the process it identifies is a
D-series process running in a high PIN or a C-series process.
You can determine the version of the operating system as follows:
1. Determine the node number of the system on which the process executes. In all
practical situations you will have access to a C-series process ID in the remote
form. The node number is in word 0, bits <8:15>.
2. Use the REMOTETOSVERSION procedure to determine if the remote system is
running a C-series or D-series version of the operating system.