This section gives the syntax and other information of the following COBOL-UAP creation programs which are used via OpenTP1 remote procedure calls for client/server communication:
- CBLDCRPC('CALL ') - Request a remote service
- CBLDCRPC('CLOSE ') - Terminate an application program
- CBLDCRPC('CLTSEND ') - Report data to CUP unidirectionally
- CBLDCRPC('DISCARDF ') - Reject the receiving of processing results
- CBLDCRPC('DISCARDS ') - Reject acceptance of specific processing results
- CBLDCRPC('GETCLADR ') - Acquire the node address of a client UAP
- CBLDCRPC('GETERDES ') - Acquire the descriptor of an asynchronous response-type RPC request which has encountered an error
- CBLDCRPC('GETGWADR ') - Acquire the node address of a gateway
- CBLDCRPC('GETSVPRI ') - Reference the schedule priority of a service request
- CBLDCRPC('GETWATCH ') - Reference the service response waiting interval
- CBLDCRPC('OPEN ') - Start an application program
- CBLDCRPC('POLLANYR ') - Receive processing results in asynchronous mode
- CBLDCRPC('SETSVPRI ') - Set a schedule priority of a service request
- CBLDCRPC('SETWATCH ') - Update the service response waiting interval
- CBLDCRPC('SVRETRY ') - Retry a service program
- CBLDCRSV('MAINLOOP ') - Start an SPP service
The COBOL-UAP creation programs for remote procedure calls (CBLDCRPC, CBLDCRSV) can be used in UAPs of both TP1/Server Base and TP1/LiNK.
When defining DATA DIVISION of COBOL-UAP creation programs, the COBOL language templates can be used as samples. The COBOL language templates for remote procedure calls (CBLDCRPC, CBLDCRSV) are stored in DCRPC.cbl and DCRSV.cbl under the /BeTRAN/examples/COBOL/ directory.
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.