z/OS Communications Server: IP CICS Sockets Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Bit string processing

z/OS Communications Server: IP CICS Sockets Guide
SC27-3649-00

In C-language, bit strings are often used to convey flags, switch settings, and so on; TCP/IP stacks makes frequent uses of bit strings. However, because bit strings are difficult to decode in COBOL, TCP/IP includes:
EZACIC06
Translates bit-masks into character arrays and character arrays into bit-masks.
EZACIC08
Interprets the variable length address list in the HOSTENT structure returned by GETHOSTBYNAME or GETHOSTBYADDR.
EZACIC09
Interprets the ADDRINFO structure returned by GETADDRINFO.
It is not necessary to define these programs to CICS®. If your application dynamically links these programs, then you must define them to CICS as follows:
DEFINE PROGRAM(EZACIC06) 
DESCRIPTION(TRANSLATE EBCDIC-8 BIT TO ASCII-8 BIT) 
GROUP(SOCKETS) 
CEDF(YES) DATALOCATION(ANY) EXECKEY(USER) 
RELOAD(NO) RESIDENT(NO) USELPACOPY(NO) 
LANGUAGE(ASSEMBLER) STATUS(ENABLED) USAGE(NORMAL) 
CONCURRENCY(THREADSAFE)

DEFINE PROGRAM(EZACIC08) 
DESCRIPTION(INTERPRET HOSTENT) 
GROUP(SOCKETS) 
CEDF(YES) DATALOCATION(ANY) EXECKEY(USER) 
RELOAD(NO) RESIDENT(NO) USELPACOPY(NO) 
LANGUAGE(ASSEMBLER) STATUS(ENABLED) USAGE(NORMAL) 
CONCURRENCY(THREADSAFE)

DEFINE PROGRAM(EZACIC09) 
DESCRIPTION(INTERPRET ADDRINFO) 
GROUP(SOCKETS) 
CEDF(YES) DATALOCATION(ANY) EXECKEY(USER) 
RELOAD(NO) RESIDENT(NO) USELPACOPY(NO) 
LANGUAGE(ASSEMBLER) STATUS(ENABLED) USAGE(NORMAL) 
CONCURRENCY(THREADSAFE)

For more information about specifying the key that CICS uses to give control to the program, visit this website: http://www-01.ibm.com/software/htp/cics/library/

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014