OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/W, TP1/Client/P
CALL 'CBLDCCLS' USING identifier-1
01 identifier-1. 02 data-name-A PIC X(8) VALUE 'O-NOTIFY'. 02 data-name-B PIC X(5). 02 FILLER PIC X(3). 02 data-name-C PIC S9(9) COMP VALUE ZERO. 02 data-name-D PIC 9(4) COMP. 02 FILLER PIC X(2). 02 FILLER PIC 9(4) COMP. 02 FILLER PIC X(2). 02 data-name-F PIC 9(9) COMP. 02 data-name-G PIC X(256).
CALL 'CBLDCCLT' USING identifier-1
01 identifier-1. 02 data-name-A PIC X(8) VALUE 'O-NOTIFY'. 02 data-name-B PIC X(5). 02 FILLER PIC X(3). 02 data-name-C PIC S9(9) COMP VALUE ZERO. 02 data-name-D PIC 9(4) COMP. 02 FILLER PIC X(2).
CBLDCCLS('O-NOTIFY') creates an environment for using the facility for receiving one-way messages from the server.
CBLDCCLS('O-NOTIFY') and CBLDCCLS('C-NOTIFY') are used in a pair.
Status code | Meaning |
---|---|
00000 | The program normally terminated. |
02501 | The value specified in the data area is incorrect. |
02502 | CBLDCCLT('O-NOTIFY') has already been executed. This status code is not returned if CBLDCCLS('O-NOTIFY') is executed. |
02503 | Initialization failed. Alternatively, the client environment definition is specified incorrectly. |
02504 | A necessary amount of buffer could not be allocated. |
02547 | The specified port number has already been used. |
All Rights Reserved. Copyright (C) 2006, 2009, Hitachi, Ltd.