OSI/FTAM Programming Guide

NonStop FTAM Programming
HP NonStop OSI/FTAM Programming Guide528612-001
3-12
Data-Value Parameter
class 27) character string before checking the length of the string against the
negotiated maximum-string-length value. When sending data to a remote
responder, the initiator does not remove escape sequences embedded in such
character strings but does exclude them from the calculation of the character-string
length.
Some files might contain multiple character sets. The Guardian file system
provides no means of storing information on the location of character-set
transitions within a file residing in it. Because the initiator removes escape
sequences when enforcing maximum-string-length limitations, indications of
transitions between character sets are lost, and data is stored in the Guardian
native character set (7-bit ASCII). To send a file that contains multiple character
sets, the application must supply a method for indicating character-set transitions.
Data-Value Parameter
When the application reads and writes FTAM data, the data-value parameter in
either the FTM_DATA_REQ_ or FTM_DATA_IND_ procedure passes the data. This
parameter consists of a data header followed by a series of one or more data
elements, each containing a single character string. Each data element consists of a
data-element header and the actual data. Figure 3-3 shows the structure of
data-value.
The ZAPSDDL file defines ZAPS-DDL-DATA-HDR and ZAPS-DDL-DATA-
ELEMENT-HDR. The files ZAPSTAL and ZAPSC contain the TAL and C equivalents,
Figure 3-3. Structure of the Data-Value Parameter
VST0303.vsd
ZAPS-DDL-DATA-ELEMENT-HDR
Data
.
.
.
Data
Element
ZAPS-DDL-DATA-HDR
ZAPS-DDL-DATA-ELEMENT-HDR
Data
ZAPS-DDL-DATA-ELEMENT-HDR
Data