Previous Topic: ParametersNext Topic: Parameters


HTONS

HTONS converts a halfword integer from host byte order to network byte order. Within CA IDMS, host and network byte order are the same. Therefore, the HTONS function does not apply to the mainframe environment; it is implemented for the application programmer's convenience.

Assembler

label    #SOCKET HTONS,
               FIELDIN=input-field,
               FIELDOUT=output-field,
               PLIST=parameter-list-area,
               RGSV=(rgsv)

List of USING Parameters

SOCKET-FUNCTION-HTONS,
input-field,
output-field