EasyManua.ls Logo

HP NonStop Pathway/iTS

HP NonStop Pathway/iTS
694 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SPI Programming Considerations
NonStop Pathway/iTS Management Programming Manual426749-002
3-34
Writing C Programs
2. Call SSNULL to initialize the fields in ZPWY-MAP-DEF-TELL with null
values.
3. Assign “HELLO” to the ZAREA field in ZPWY-MAP-DEF-TELL and a value
of 5 (the number of characters in HELLO) to the ZLENGTH field. Call
SSPUT.
4. Send the buffer and ZPWY-VAL-BUFLEN to PATHMON, using a
mechanism appropriate to the language you are using.
2. Queue the tell message for the TERM objects:
1. Call SSGET with ZPWY-MAP-TELLNUM. The tell number is returned in
ZNUMBER; save this value.
2. Call SSINIT, issuing ZPWY-CMD-TELL and ZPWY-OBJ-TERM.
3. Call SSNULL to initialize the fields in ZPWY-MAP-SEL-TERM with null
values.
4. Assign TERM-1 to the ZTERM field in ZPWY-MAP-SEL-TERM. Call
SSPUT.
5. Assign the value from ZNUMBER (the tell number) to the ZNUMBER field
in ZPWY-MAP-PAR-TELL-TERM. Call SSPUT.
6. Send the buffer to PATHMON.
7. Repeat Steps 2a through 2f for term-2.
3. Initiate delivery of the message:
1. Call SSINIT, issuing ZPWY-CMD-START and ZPWY-OBJ-TELL.
2. Call SSNULL to initialize the fields in ZPWY-MAP-SEL-TELL with null
values.
3. Assign the value from ZNUMBER (returned in ZPWY-MAP-TELLNUM in
Step 2a) to the ZNUMBER field in ZPWY-MAP-SEL-TELL. Call SSPUT.
4. Send the buffer to the PATHMON process.
Writing C Programs
This subsection contains special considerations for writing C programs.
Building the DDL Dictionary
The DDL command ?CFIELDALIGN_MATCHED2 allows the DDL compiler to generate
C data structures starting on byte boundaries. Always issue this command before you
start building the DDL dictionary from the ZSPIDDL, ZEMSDDL, and ZPWYDDL files.

Table of Contents

Related product manuals