OpenTP1 Version 7 Programming Reference C Language
The table below shows the correspondences between the OpenTP1 library functions and their facilities.
Table 1-1 Functions in OpenTP1 library and their facilities
| Facility classification | OpenTP1 function names and facilities | |
|---|---|---|
| System operation management | dc_adm_call_command | Execute an operation command. |
| dc_adm_complete | Report the completion of user server start processing. | |
| dc_adm_status | Report the status of a user server. | |
| Multinode facility | dc_adm_get_nd_status | Acquire the status of a specified OpenTP1 node. |
| dc_adm_get_nd_status_begin | Start acquiring the status of an OpenTP1 node. | |
| dc_adm_get_nd_status_done | Terminate acquiring the status of an OpenTP1 node. | |
| dc_adm_get_nd_status_next | Acquire the status of an OpenTP1 node. | |
| dc_adm_get_nodeconf_begin | Start acquiring a node identifier. | |
| dc_adm_get_nodeconf_done | Terminate acquiring a node identifier. | |
| dc_adm_get_nodeconf_next | Acquire a node identifier. | |
| dc_adm_get_node_id | Acquire the node identifier of the local node. | |
| dc_adm_get_sv_status | Acquire the status of a specified user server. | |
| dc_adm_get_sv_status_begin | Start acquiring the status of a user server. | |
| dc_adm_get_sv_status_done | Terminate acquiring the status of a user server. | |
| dc_adm_get_sv_status_next | Acquire the status of a user server. | |
| DAM file service | dc_dam_bseek | Seek a physical file block. |
| dc_dam_close | Close a logical file. | |
| dc_dam_create | Allocate a physical file. | |
| dc_dam_dget | Input directly a physical file block. | |
| dc_dam_dput | Output directly a physical file block. | |
| dc_dam_end | Terminate using an unrecoverable DAM file. | |
| dc_dam_get | Input a physical file block. | |
| dc_dam_hold | Shut down a logical file. | |
| dc_dam_iclose | Close a physical file. | |
| dc_dam_iopen | Open a physical file. | |
| dc_dam_open | Open a logical file. | |
| dc_dam_put | Output a physical file block. | |
| dc_dam_read | Input a logical file block. | |
| dc_dam_release | Release a logical file from the shutdown state. | |
| dc_dam_rewrite | Update a logical file block. | |
| dc_dam_start | Start using an unrecoverable DAM file. | |
| dc_dam_status | Reference the status of a logical file. | |
| dc_dam_write | Output a logical file block. | |
| IST service | dc_ist_close | Close an internode shared table. |
| dc_ist_open | Open an internode shared table. | |
| dc_ist_read | Input an internode shared table record. | |
| dc_ist_write | Output an internode shared table record. | |
| User journal acquisition | dc_jnl_ujput | Acquire a user journal. |
| Lock for resources | dc_lck_get | Enable locking of a resource. |
| dc_lck_release_all | Release all the resources from lock. | |
| dc_lck_release_byname | Release resource from lock specified by name. | |
| Audit log output | dc_log_audit_print | Output audit log data. |
| Message log output | dc_logprint | Output message log. |
| Message exchange processing | dc_mcf_adltap | Delete an application timer start request. |
| dc_mcf_ap_info | Report the application information. | |
| dc_mcf_ap_info_uoc | Report application information to a user exit routine. | |
| dc_mcf_close | Close the MCF environment. | |
| dc_mcf_commit | Commit an MHP. | |
| dc_mcf_contend | Terminate continuous-inquiry response processing. | |
| dc_mcf_execap | Activate an application program. | |
| dc_mcf_mainloop | Start an MHP service. | |
| dc_mcf_open | Open the MCF environment. | |
| dc_mcf_receive | Receive a message. | |
| dc_mcf_recvsync | Receive a synchronous message. | |
| dc_mcf_reply | Send a response message. | |
| dc_mcf_resend | Resend a message. | |
| dc_mcf_rollback | Enable MHP rollback. | |
| dc_mcf_send | Send a message. | |
| dc_mcf_sendrecv | Exchange a synchronous message. | |
| dc_mcf_sendsync | Send a synchronous message. | |
| dc_mcf_tactcn | Establish a connection. | |
| dc_mcf_tactle | Release a logical terminal from shutdown status. | |
| dc_mcf_tdctcn | Release connection. | |
| dc_mcf_tdctle | Shut down a logical terminal. | |
| dc_mcf_tdlqle | Delete a logical terminal's output queue. | |
| dc_mcf_tempget | Accept temporary-stored data. | |
| dc_mcf_tempput | Update temporary-stored data. | |
| dc_mcf_timer_set | Set user timer monitoring. | |
| dc_mcf_timer_cancel | Cancel user timer monitoring. | |
| dc_mcf_tlscn | Acquire a connection status. | |
| dc_mcf_tlscom | Acquire the status of MCF communication services. | |
| dc_mcf_tlsle | Acquire a logical terminal status. | |
| dc_mcf_tlsln | Acquire the acceptance status for a server-type connection establishment request. | |
| dc_mcf_tofln | Stop accepting server-type connection establishment requests. | |
| dc_mcf_tonln | Start accepting server-type connection establishment requests. | |
| Performance verification trace | dc_prf_get_trace_num | Report the sequential number for an acquired performance verification trace. |
| dc_prf_utrace_put | Acquire user-specific performance verification traces. | |
| Remote API facility | dc_rap_connect | Establish a connection with a RAP-processing listener. |
| dc_rap_disconnect | Release a connection with a RAP-processing listener. | |
| Remote procedure call |
dc_rpc_call | Request a remote service. |
| dc_rpc_call_to | Invoke a remote service with a communication destination specified. | |
| dc_rpc_close | Terminate an application program. | |
| dc_rpc_cltsend | Report data to CUP unidirectionally. | |
| dc_rpc_discard_further_replies | Reject the receiving of processing results. | |
| dc_rpc_discard_specific_reply | Reject acceptance of particular processing results. | |
| dc_rpc_get_callers_address | Acquire the node address of a client UAP. | |
| dc_rpc_get_error_descriptor | Acquire the descriptor of an asynchronous response-type RPC request which has encountered an error. | |
| dc_rpc_get_gateway_address | Acquire the node address of a gateway. | |
| dc_rpc_get_service_prio | Reference the schedule priority of a service request. | |
| dc_rpc_get_watch_time | Reference the service response waiting interval. | |
| dc_rpc_mainloop | Start an SPP service. | |
| dc_rpc_open | Start an application program. | |
| dc_rpc_poll_any_replies | Receive processing results in asynchronous mode. | |
| dc_rpc_service_retry | Retry a service function. | |
| dc_rpc_set_service_prio | Set a schedule priority of a service request. | |
| dc_rpc_set_watch_time | Update a service response waiting interval. | |
| Real-time statistical information service | dc_rts_utrace_put | Acquire real-time statistical information for arbitrary section. |
| TAM file service | dc_tam_close | Close a TAM table. |
| dc_tam_delete | Delete a TAM table record. | |
| dc_tam_get_inf | Acquire TAM table status. | |
| dc_tam_open | Open a TAM table. | |
| dc_tam_read | Input a TAM table record. | |
| dc_tam_read_cancel | Cancel the input of a TAM table record. | |
| dc_tam_rewrite | Update a TAM table record on the assumption of input. | |
| dc_tam_status | Acquire TAM table information. | |
| dc_tam_write | Update/add a TAM table record. | |
| Transaction control | dc_trn_begin | Start a transaction. |
| dc_trn_chained_commit | Enable commitment in chained mode. | |
| dc_trn_chained_rollback | Enable rollback in chained mode. | |
| dc_trn_info | Report the information about the current transaction. | |
| dc_trn_unchained_commit | Enable commitment in unchained mode. | |
| dc_trn_unchained_rollback | Enable rollback in unchained mode. | |
| Online tester management | dc_uto_test_status | Report the test status of a user server. |
The table below lists the facilities and functions which can be used with SUPs.
Table 1-2 Facilities and functions available with SUPs
| Facility available with SUP | OpenTP1 function | SUP operating conditions | ||
|---|---|---|---|---|
| Outside the transaction processing range | Inside the transaction processing range | |||
| System operation management | Execute an operation command. | dc_adm_call_command | Y | Y |
| Report the completion of user server start processing. | dc_adm_complete | Y | N | |
| Report the status of a user server. | dc_adm_status | Y | Y | |
| Multinode facility | Acquire the status of a specified OpenTP1 node. | dc_adm_get_nd_status | Y | Y |
| Start acquiring the status of an OpenTP1 node. | dc_adm_get_nd_status_begin | Y | Y | |
| Terminate acquiring the status of an OpenTP1 node. | dc_adm_get_nd_status_done | Y | Y | |
| Acquire the status of an OpenTP1 node. | dc_adm_get_nd_status_next | Y | Y | |
| Start acquiring a node identifier. | dc_adm_get_nodeconf_begin | Y | Y | |
| Terminate acquiring a node identifier. | dc_adm_get_nodeconf_done | Y | Y | |
| Acquire a node identifier. | dc_adm_get_nodeconf_next | Y | Y | |
| Acquire the node identifier of the local node. | dc_adm_get_node_id | Y | Y | |
| Acquire the status of a specified user server. | dc_adm_get_sv_status | Y | Y | |
| Start acquiring the status of a user server. | dc_adm_get_sv_status_begin | Y | Y | |
| Terminate acquiring the status of a user server. | dc_adm_get_sv_status_done | Y | Y | |
| Acquire the status of a user server. | dc_adm_get_sv_status_next | Y | Y | |
| DAM file service | Close a logical file. | dc_dam_close | Y | Y |
| Terminate using an unrecoverable DAM file. | dc_dam_end | Y | Y | |
| Shut down a logical file. | dc_dam_hold | N | Y | |
| Open a logical file. | dc_dam_open | Y | Y | |
| Input a logical file block. | dc_dam_read | Y | Y | |
| Release a logical file from the shutdown state. | dc_dam_release | N | Y | |
| Update a logical file block. | dc_dam_rewrite | (Y) | Y | |
| Start using an unrecoverable DAM file. | dc_dam_start | Y | Y | |
| Reference the status of a logical file. | dc_dam_status | Y | Y | |
| Output a logical file block. | dc_dam_write | (Y) | Y | |
| IST service | Close an internode shared table. | dc_ist_close | Y | Y |
| Open an internode shared table. | dc_ist_open | Y | Y | |
| Input an internode shared table record. | dc_ist_read | Y | Y | |
| Output an internode shared table record. | dc_ist_write | Y | Y | |
| User journal acquisition | Acquire a user journal. | dc_jnl_ujput | Y | Y |
| Lock for resources | Enable locking of a resource. | dc_lck_get | N | Y |
| Release all the resources from lock. | dc_lck_release_all | N | Y | |
| Release resource from lock specified by name. | dc_lck_release_byname | N | Y | |
| Audit log output | Output audit log data. | dc_log_audit_print | Y | Y |
| Message log output | Output message log | dc_logprint | Y | Y |
| Performance verification trace | Report the sequential number for an acquired performance verification trace. | dc_prf_get_trace_num | Y | Y |
| Acquire user-specific performance verification traces. | dc_prf_utrace_put | Y | Y | |
| Remote API facility | Establish a connection with a RAP-processing listener. | dc_rap_connect | Y | N |
| Release a connection with a RAP-processing listener. | dc_rap_disconnect | Y | N | |
| Remote procedure call | Request a remote service. | dc_rpc_call | Y | Y |
| Invoke a remote service with a communication destination specified. | dc_rpc_call_to | Y | Y | |
| Terminate an application program. | dc_rpc_close | Y | N | |
| Reject the receiving of processing results. | dc_rpc_discard_further_replies | Y | Y | |
| Reject acceptance of particular processing results. | dc_rpc_discard_specific_reply | Y | Y | |
| Acquire the descriptor of an asynchronous response-type RPC request which has encountered an error. | dc_rpc_get_error_descriptor | Y | Y | |
| Reference the schedule priority of a service request. | dc_rpc_get_service_prio | Y | Y | |
| Reference the service response waiting interval. | dc_rpc_get_watch_time | Y | Y | |
| Start an application program. | dc_rpc_open | Y | N | |
| Receive processing results in asynchronous mode. | dc_rpc_poll_any_replies | Y | Y | |
| Set a schedule priority of a service request. | dc_rpc_set_service_prio | Y | Y | |
| Change the response waiting interval of a service request. | dc_rpc_set_watch_time | Y | Y | |
| Real-time statistical information service | Acquire real-time statistical information for arbitrary section. | dc_rts_utrace_put | Y | Y |
| TAM file service | Close a TAM table. | dc_tam_close | Y | Y |
| Delete a TAM table record. | dc_tam_delete | N | Y | |
| Acquire TAM table status. | dc_tam_get_inf | Y | Y | |
| Open a TAM table. | dc_tam_open | Y | Y | |
| Input a TAM table record. | dc_tam_read | N | Y | |
| Cancel the input of a TAM table record. | dc_tam_read_cancel | N | Y | |
| Update a TAM table record on the assumption of input. | dc_tam_rewrite | N | Y | |
| Acquire TAM table information. | dc_tam_status | Y | Y | |
| Update/add a TAM table record. | dc_tam_write | N | Y | |
| Transaction control | Start a transaction. | dc_trn_begin | Y | N |
| Enable commitment in chained mode. | dc_trn_chained_commit | N | Y | |
| Enable rollback in chained mode. | dc_trn_chained_rollback | N | Y | |
| Report the information about the current transaction. | dc_trn_info | Y | Y | |
| Enable commitment in unchained mode. | dc_trn_unchained_commit | N | Y | |
| Enable rollback in unchained mode. | dc_trn_unchained_rollback | N | Y | |
| Online tester management | Report the test status of a user server. | dc_uto_test_status | Y | Y |
The table below lists the facilities and functions which can be used with SPPs.
Table 1-3 Facilities and functions available with SPPs
| Facility available with SPP | OpenTP1 function | SPP operating conditions | |||
|---|---|---|---|---|---|
| Outside the transaction processing range | Inside the transaction processing range | ||||
| Root | Not root | ||||
| System operation management | Execute an operation command. | dc_adm_call_command | Y | Y | Y |
| Report the status of a user server. | dc_adm_status | Y | Y | Y | |
| Multinode facility | Acquire the status of a specified OpenTP1 node. | dc_adm_get_nd_status | Y | Y | Y |
| Start acquiring the status of an OpenTP1 node. | dc_adm_get_nd_status_begin | Y | Y | Y | |
| Terminate acquiring the status of an OpenTP1 node. | dc_adm_get_nd_status_done | Y | Y | Y | |
| Acquire the status of an OpenTP1 node. | dc_adm_get_nd_status_next | Y | Y | Y | |
| Start acquiring a node identifier. | dc_adm_get_nodeconf_begin | Y | Y | Y | |
| Terminate acquiring a node identifier. | dc_adm_get_nodeconf_done | Y | Y | Y | |
| Acquire a node identifier. | dc_adm_get_nodeconf_next | Y | Y | Y | |
| Acquire the node identifier of the local node. | dc_adm_get_node_id | Y | Y | Y | |
| Acquire the status of a specified user server. | dc_adm_get_sv_status | Y | Y | Y | |
| Start acquiring the status of a user server. | dc_adm_get_sv_status_begin | Y | Y | Y | |
| Terminate acquiring the status of a user server. | dc_adm_get_sv_status_done | Y | Y | Y | |
| Acquire the status of a user server. | dc_adm_get_sv_status_next | Y | Y | Y | |
| DAM file service | Close a logical file. | dc_dam_close | Y | Y | Y |
| Terminate using an unrecoverable DAM file. | dc_dam_end | Y | Y | Y | |
| Shut down a logical file. | dc_dam_hold | N | Y | Y | |
| Open a logical file. | dc_dam_open | Y | Y | Y | |
| Input a logical file block. | dc_dam_read | N | Y | Y | |
| Release a logical file from the shutdown state. | dc_dam_release | N | Y | Y | |
| Update a logical fileblock. | dc_dam_rewrite | (Y) | Y | Y | |
| Start using an unrecoverable DAM file. | dc_dam_start | Y | Y | Y | |
| Reference the status of a logical file. | dc_dam_status | Y | Y | Y | |
| Output a logical file block. | dc_dam_write | (Y) | Y | Y | |
| IST service | Close an internode shared table. | dc_ist_close | Y | Y | Y |
| Open an internode shared table. | dc_ist_open | Y | Y | Y | |
| Input an internode shared table record. | dc_ist_read | Y | Y | Y | |
| Output an internode shared table record. | dc_ist_write | Y | Y | Y | |
| User journal acquisition | Acquire a user journal. | dc_jnl_ujput | Y | Y | Y |
| Lock for resources | Enable locking of a resource. | dc_lck_get | N | Y | Y |
| Release all the resources from lock. | dc_lck_release_all | N | Y | Y | |
| Release resource from lock specified by name. | dc_lck_release_byname | N | Y | Y | |
| Audit log output | Output audit log data. | dc_log_audit_print | Y | Y | Y |
| Message log output | Output message log. | dc_logprint | Y | Y | Y |
| Message exchange processing | Delete an application timer start request. | dc_mcf_adltap | Y | Y | Y |
| Close the MCF environment. | dc_mcf_close | O | N | N | |
| Activate an application program. | dc_mcf_execap | N | Y | Y | |
| Open the MCF environment. | dc_mcf_open | O | N | N | |
| Receive a synchronous message. | dc_mcf_recvsync | Y | Y | Y | |
| Resend a message. | dc_mcf_resend | N | Y | Y | |
| Send a message. | dc_mcf_send | N | Y | Y | |
| Exchange a synchronous message. | dc_mcf_sendrecv | Y | Y | Y | |
| Send a synchronous message. | dc_mcf_sendsync | Y | Y | Y | |
| Establish a connection. | dc_mcf_tactcn | Y | Y | Y | |
| Release a logical terminal from shutdown status. | dc_mcf_tactle | Y | Y | Y | |
| Release connection. | dc_mcf_tdctcn | Y | Y | Y | |
| Shut down a logical terminal. | dc_mcf_tdctle | Y | Y | Y | |
| Delete a logical terminal's output queue. | dc_mcf_tdlqle | Y | Y | Y | |
| Set user timer monitoring. | dc_mcf_timer_set | Y | Y | Y | |
| Cancel user timer monitoring. | dc_mcf_timer_cancel | Y | Y | Y | |
| Acquire a connection status. | dc_mcf_tlscn | Y | Y | Y | |
| Acquire the status of MCF communication services. | dc_mcf_tlscom | Y | Y | Y | |
| Acquire a logical terminal status. | dc_mcf_tlsle | Y | Y | Y | |
| Acquire the acceptance status for a server-type connection establishment request. | dc_mcf_tlsln | Y | Y | Y | |
| Stop accepting server-type connection establishment requests. | dc_mcf_tofln | Y | Y | Y | |
| Start accepting server-type connection establishment requests. | dc_mcf_tonln | Y | Y | Y | |
| Performance verification trace | Report the sequential number for an acquired performance verification trace. | dc_prf_get_trace_num | Y | Y | Y |
| Acquire user-specific performance verification traces. | dc_prf_utrace_put | Y | Y | Y | |
| Remote API facility | Establish a connection with a RAP-processing listener. | dc_rap_connect | Y | N | N |
| Release a connection with a RAP-processing listener. | dc_rap_disconnect | Y | N | N | |
| Remote procedure call | Request a remote service. | dc_rpc_call | Y | Y | Y |
| Invoke a remote service with a communication destination specified. | dc_rpc_call_to | Y | Y | Y | |
| Terminate an application program. | dc_rpc_close | O | N | N | |
| Report data to CUP unidirectionally. | dc_rpc_cltsend | Y | Y | Y | |
| Reject the receiving of processing results. | dc_rpc_discard_further_replies | Y | Y | Y | |
| Reject acceptance of particular processing results. | dc_rpc_discard_specific_reply | Y | Y | Y | |
| Acquire the node address of a client UAP. | dc_rpc_get_callers_address | Y | Y | Y | |
| Acquire the descriptor of an asynchronous response-type RPC request which has encountered an error. | dc_rpc_get_error_descriptor | Y | Y | Y | |
| Acquire the node address of a gateway. | dc_rpc_get_gateway_address | Y | Y | Y | |
| Reference the schedule priority of a service request. | dc_rpc_get_service_prio | Y | Y | Y | |
| Reference the service response waiting interval. | dc_rpc_get_watch_time | Y | Y | Y | |
| Start an SPP service. | dc_rpc_mainloop | O | N | N | |
| Start an application program. | dc_rpc_open | O | N | N | |
| Receive processing results in asynchronous mode. | dc_rpc_poll_any_replies | Y | Y | Y | |
| Retry a service function. | dc_rpc_service_retry | Y | N | N | |
| Set a schedule priority of a service request. | dc_rpc_set_service_prio | Y | Y | Y | |
| Update the response waiting interval of a service request. | dc_rpc_set_watch_time | Y | Y | Y | |
| Real-time statistical information service | Acquire real-time statistical information for arbitrary section. | dc_rts_utrace_put | Y | Y | Y |
| TAM file service | Close a TAM table. | dc_tam_close | Y | Y | Y |
| Delete a TAM table record. | dc_tam_delete | N | Y | Y | |
| Acquire TAM table status. | dc_tam_get_inf | Y | Y | Y | |
| Open a TAM table. | dc_tam_open | Y | Y | Y | |
| Input a TAM table record. | dc_tam_read | N | Y | Y | |
| Cancel the input of a TAM table record. | dc_tam_read_cancel | N | Y | Y | |
| Update a TAM table record on the assumption of input. | dc_tam_rewrite | N | Y | Y | |
| Acquire TAM table information. | dc_tam_status | Y | Y | Y | |
| Update/add a TAM table record. | dc_tam_write | N | Y | Y | |
| Transaction control | Start a transaction. | dc_trn_begin | Y | N | N |
| Enable commitment in chained mode. | dc_trn_chained_commit | N | Y | N | |
| Enable rollback in chained mode. | dc_trn_chained_rollback | N | Y | N | |
| Report the information about the current transaction. | dc_trn_info | Y | Y | Y | |
| Enable commitment in unchained mode. | dc_trn_unchained_commit | N | Y | N | |
| Enable rollback in unchained mode. | dc_trn_unchained_rollback | N | Y | Y | |
| Online tester management | Report the test status of a user server. | dc_uto_test_status | Y | Y | Y |
The table below lists the facilities and functions which can be used with MHPs.
Table 1-4 Facilities and functions available with MHPs
| Facility available with MHP | OpenTP1 function | MHP operating conditions | ||
|---|---|---|---|---|
| Outside the transaction processing range | Inside the transaction processing range | |||
| System operation management | Execute an operation command. | dc_adm_call_command | Y | Y |
| Report the status of a user server. | dc_adm_status | Y | Y | |
| Multinode facility | Acquire the status of a specified OpenTP1 node. | dc_adm_get_nd_status | Y | Y |
| Start acquiring the status of an OpenTP1 node. | dc_adm_get_nd_status_begin | Y | Y | |
| Terminate acquiring the status of an OpenTP1 node. | dc_adm_get_nd_status_done | Y | Y | |
| Acquire the status of an OpenTP1 node. | dc_adm_get_nd_status_next | Y | Y | |
| Start acquiring a node identifier. | dc_adm_get_nodeconf_begin | Y | Y | |
| Terminate acquiring a node identifier. | dc_adm_get_nodeconf_done | Y | Y | |
| Acquire a node identifier. | dc_adm_get_nodeconf_next | Y | Y | |
| Acquire the node identifier of the local node. | dc_adm_get_node_id | Y | Y | |
| Acquire the status of a specified user server. | dc_adm_get_sv_status | Y | Y | |
| Start acquiring the status of a user server. | dc_adm_get_sv_status_begin | Y | Y | |
| Terminate acquiring the status of a user server. | dc_adm_get_sv_status_done | Y | Y | |
| Acquire the status of a user server. | dc_adm_get_sv_status_next | Y | Y | |
| DAM file service | Close a logical file. | dc_dam_close | Y | Y |
| Terminate using an unrecoverable DAM file. | dc_dam_end | Y | Y | |
| Shut down a logical file. | dc_dam_hold | N | Y | |
| Open a logical file. | dc_dam_open | Y | Y | |
| Input a logical file block. | dc_dam_read | Y | Y | |
| Release a logical file from the shutdown state. | dc_dam_release | N | Y | |
| Update a logical file block. | dc_dam_rewrite | (Y) | Y | |
| Start using an unrecoverable DAM file. | dc_dam_start | Y | Y | |
| Reference the status of a logical file. | dc_dam_status | Y | Y | |
| Output a logical file block. | dc_dam_write | (Y) | Y | |
| IST service | Close an internode shared table. | dc_ist_close | Y | Y |
| Open an internode shared table. | dc_ist_open | Y | Y | |
| Input an internode shared table record. | dc_ist_read | Y | Y | |
| Output an internode shared table record. | dc_ist_write | Y | Y | |
| User journal acquisition | Acquire a user journal. | dc_jnl_ujput | Y | Y |
| Lock for resources | Enable locking of a resource. | dc_lck_get | N | Y |
| Release all the resources from lock. | dc_lck_release_all | N | Y | |
| Release resource from lock specified by name. | dc_lck_release_byname | N | Y | |
| Audit log output | Output audit log data. | dc_log_audit_print | Y | Y |
| Message log output | Output message log. | dc_logprint | Y | Y |
| Message exchange processing | Delete an application timer start request. | dc_mcf_adltap | Y | Y |
| Report the application information. | dc_mcf_ap_info | NO | Y | |
| Close the MCF environment. | dc_mcf_close | O | O | |
| Commit an MHP. | dc_mcf_commit | N | Y | |
| Terminate continuous-inquiry response processing. | dc_mcf_contend | NO | Y | |
| Activate an application program. | dc_mcf_execap | NO | Y | |
| Start an MHP service. | dc_mcf_mainloop | O | N | |
| Open the MCF environment. | dc_mcf_open | O | O | |
| Receive a message. | dc_mcf_receive | NO | Y | |
| Receive a synchronous message. | dc_mcf_recvsync | Y | Y | |
| Send a response message. | dc_mcf_reply | NO | Y | |
| Resend a message | dc_mcf_resend | N | Y | |
| Enable MHP rollback. | dc_mcf_rollback | N | Y | |
| Send a message. | dc_mcf_send | NO | Y | |
| Exchange a synchronous message. | dc_mcf_sendrecv | Y | Y | |
| Send a synchronous message. | dc_mcf_sendsync | Y | Y | |
| Establish a connection. | dc_mcf_tactcn | Y | Y | |
| Release a logical terminal from shutdown status. | dc_mcf_tactle | Y | Y | |
| Release connection | dc_mcf_tdctcn | Y | Y | |
| Shut down a logical terminal. | dc_mcf_tdctle | Y | Y | |
| Delete the output queue of a logical terminal. | dc_mcf_tdlqle | Y | Y | |
| Accept temporary-stored data. | dc_mcf_tempget | NO | Y | |
| Update temporary-stored data. | dc_mcf_tempput | NO | Y | |
| Set user timer monitoring. | dc_mcf_timer_set | Y | Y | |
| Cancel user timer monitoring. | dc_mcf_timer_cancel | Y | Y | |
| Acquire the connection status. | dc_mcf_tlscn | Y | Y | |
| Acquire the MCF communication service status. | dc_mcf_tlscom | Y | Y | |
| Acquire the logical terminal status. | dc_mcf_tlsle | Y | Y | |
| Acquire the acceptance status for a server-type connection establishment request. | dc_mcf_tlsln | Y | Y | |
| Stop accepting server-type connection establishment requests. | dc_mcf_tofln | Y | Y | |
| Start accepting server-type connection establishment requests. | dc_mcf_tonln | Y | Y | |
| Performance verification trace | Report the sequential number for an acquired performance verification trace. | dc_prf_get_trace_num | Y | Y |
| Acquire user-specific performance verification traces. | dc_prf_utrace_put | Y | Y | |
| Remote API facility | Establish a connection with a RAP-processing listener. | dc_rap_connect | Y | N |
| Release a connection with a RAP-processing listener. | dc_rap_disconnect | Y | N | |
| Remote procedure call | Request a remote service | dc_rpc_call | Y | Y |
| Invoke a remote service with a communication destination specified. | dc_rpc_call_to | Y | Y | |
| Terminate an application program. | dc_rpc_close | O | N | |
| Report data to CUP unidirectionally. | dc_rpc_cltsend | Y | Y | |
| Reject the receiving of processing results. | dc_rpc_discard_further_replies | Y | Y | |
| Reject acceptance of particular processing results. | dc_rpc_discard_specific_reply | Y | Y | |
| Acquire the descriptor of an asynchronous response-type RPC request which has encountered an error. | dc_rpc_get_error_descriptor | Y | Y | |
| Reference the schedule priority of a service request. | dc_rpc_get_service_prio | Y | Y | |
| Reference the service response waiting interval. | dc_rpc_get_watch_time | Y | Y | |
| Start an application program. | dc_rpc_open | O | N | |
| Receive processing results in asynchronous mode. | dc_rpc_poll_any_replies | Y | Y | |
| Set a schedule priority of a service request. | dc_rpc_set_service_prio | Y | Y | |
| Update the response waiting interval of a service request. | dc_rpc_set_watch_time | Y | Y | |
| Real-time statistical information service | Acquire real-time statistical information for arbitrary section. | dc_rts_utrace_put | Y | Y |
| TAM file service | Close a TAM table. | dc_tam_close | Y | Y |
| Delete a TAM table record. | dc_tam_delete | N | Y | |
| Acquire TAM table status. | dc_tam_get_inf | Y | Y | |
| Open a TAM table. | dc_tam_open | Y | Y | |
| Input a TAM table record. | dc_tam_read | N | Y | |
| Cancel the input of a TAM table record. | dc_tam_read_cancel | N | Y | |
| Update a TAM table record on the assumption of input. | dc_tam_rewrite | N | Y | |
| Acquire TAM table information. | dc_tam_status | Y | Y | |
| Update/add a TAM table record. | dc_tam_write | N | Y | |
| Transaction control | Start a transaction. | dc_trn_begin | O | N |
| Report the information about the current transaction. | dc_trn_info | Y | Y | |
| Enable commitment in unchained mode. | dc_trn_unchained_commit | N | O | |
| Enable rollback in unchained mode. | dc_trn_unchained_rollback | N | O | |
| Online tester management | Report the test status of a user server. | dc_uto_test_status | Y | Y |
The table below lists the facilities and functions which can be used with UAPs that handles offline work.
Table 1-5 Facilities and functions available with UAPs that handles offline work
| Facility available with UAP that handles offline work | OpenTP1 function | |
|---|---|---|
| DAM file service | Seek a physical file block. | dc_dam_bseek |
| Allocate a physical file. | dc_dam_create | |
| Input directly a physical file block. | dc_dam_dget | |
| Output directly a physical file block. | dc_dam_dput | |
| Input a physical file block. | dc_dam_get | |
| Close a physical file. | dc_dam_iclose | |
| Open a physical file. | dc_dam_iopen | |
| Output a physical file block. | dc_dam_put | |
| Performance verification trace | Report the sequential number for an acquired performance verification trace. | dc_prf_get_trace_num |
| Acquire user-specific performance verification traces. | dc_prf_utrace_put | |
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.