OSI/FTAM Programming Reference Manual

DDL Definitions
HP NonStop OSI/FTAM Programming Reference Manual528611-001
A-19
ZFTM Structures
ZCHARGEUNIT specifies the units used for measuring charges. The unit depends
on the implementation. If the responder returns a value for the unit of
measurement that is greater than 16, the initiator passes only the first 16
characters to the application.
ZCHARGEVALUE indicates how many of the units specified in ZCHARGEUNIT
are to be charged.
ZFTM-DDL-CNTNTS-LIST
is the contents-type-list parameter. It tells what document types are
available for negotiating presentation context. For more information about the
presentation context, refer to the OSI/AS Programming Manual.
ZCOUNT indicates how many document type names the contents type list contains.
The maximum number is 10.
ZCNTNTS-TYPE-ISPRESENT indicates whether a contents-type list is present.
ZCNTNTS-TYPE-LIST contains the following information for each element in the
contents-type list:
ZID identifies whether a document name is specified. Valid values include:
ZFTM-VAL-CNTNTSLIST-NOVALUE indicates that no value is present for the
contents-type-list element.
ZFTM-VAL-CNTNTSLIST-DOCNAME indicates that a document name is
present for the contents-type-list element. The corresponding attribute
identifies the document name.
ZFTM-VAL-CNTNTSLIST-ASNAME is reserved, and application programs
should not use it.
ZCNTNTSTYPE identifies the abstract data type of the contents of the file.
ZDOCTYPENAME contains the document type name.
DEFINITION ZFTM-DDL-CNTNTS-LIST.
02 ZCOUNT TYPE ZAPS-DDL-INT1.
02 ZCNTNTS-TYPE-ISPRESENT TYPE ZAPS-DDL-ISPRESENT.
02 ZCNTNTS-TYPE-LIST OCCURS 10 TIMES.
03 ZID TYPE ZAPS-DDL-ENUM1.
03 ZCNTNTSTYPE TYPE ZAPS-DDL-OBJ-ID.
03 ZDOCTYPENAME REDEFINES ZCNTNTSTYPE
TYPE ZAPS-DDL-OBJ-ID.
03 ZASNAME REDEFINES ZCNTNTSTYPE
TYPE ZAPS-DDL-OBJ-ID.
END
Valid values for ZID are:
CONSTANT ZFTM-VAL-CNTNTSLIST-NOVALUE VALUE 0.
CONSTANT ZFTM-VAL-CNTNTSLIST-DOCNAME VALUE 1.
CONSTANT ZFTM-VAL-CNTNTSLIST-ASNAME VALUE 2.