OpenTP1 Version 7 System Definition
Transaction service definition
Format
set format
set trn_tran_process_count=concurrent-transaction-branch-count [set trn_recovery_process_count=parallel-recovery-process-count] [set trn_expiration_time=transaction-branch-expiry-time] [set trn_expiration_time_suspend=Y|N|F] [set trn_tran_statistics=Y|N] [set trn_tran_recovery_list=Y|N] [set trn_cpu_time=transaction-branch-CPU-check-time] [set trn_statistics_item=statistical-information-item [,statistical-information-item]...] [set trn_max_subordinate_count=maximum-number-of- childtransaction-branches] [set trn_rm_open_close_scope=process|transaction] [set trn_optimum_item=transaction-optimization-item[,transaction- optimization-item]...] [set trn_processing_in_rm_error=down|retry|force] [set trn_recovery_list_remove=normal|force|no] [set trn_recovery_list_remove_level=delete-level-for-undecided- transaction-information-file] [set trn_crm_use=Y|N] [set trn_max_crm_subordinate_count=maximum-number-of-childtrans- action-branches-through-CRM] [set trn_watch_time=maximum-communication-wait-time-for- synchronization-point-processing-of-transactions] [set trn_rollback_information_put=no|self|remote|all] [set trn_limit_time=maximum-time-to-execute-transaction-branch] [set trn_rollback_response_receive=Y|N] [set trn_partial_recovery_type=type1|type2|type3] [set max_socket_descriptors=maximum-number-of-file-descriptors-for- sockets] [set trn_recovery_failmsg_interval=minimum-interval-between- issuing-messages-containing- information-about-incomplete- transactions] [set trn_wait_rm_open=continue|stop|retry continue|retry_stop] [set trn_retry_interval_rm_open=retry-interval-for-issuing-xa_open- function] [set trn_retry_count_rm_open=number-of-retries-for-issuing-xa_open- function] |
[set thread_stack_size=size-of-thread-stack -area-used-within-OpenTP1] [set polling_control_data=Y|N] [set thread_yield_interval=Interval-for-issuing-a-trigger-to-receive-a- socket-reuse-instruction] [set groups=group-identifier [,group-identifier]...] [set trn_xar_use=Y|N] [set trn_start_recovery_mode=stop|wait|continue] [set trn_start_recovery_watch_time=elapsed-retry-time] [set trn_start_recovery_interval=retry-interval] [set trn_xa_commit_error=down|force] [set trn_prf_event_trace_level=acquisition-level-of-TRN-event-trace] [set trn_prf_event_trace_condition=trace-acquisition-type[,trace- acquisition-type]] [set trn_completion_limit_time=time-limit-for-completing-transaction] [set trn_extend_function=facility-extension-level-of-the-transaction-service] [set watch_time=maximum-response-waiting-time] |
command format
trnstring -n resource-manager-name [-I resource-manager-extension[,resource-manager- extension]...] [-o "transaction-service-xa_open-function-character- string"] [-c "transaction-service-xa_close-function-character- string"] [-O "user-server-xa_open-function-character-string"] [-C "user-server-xa_close-function-character-string"][-d] [-e][-m][-r] |
putenv format
{{[putenv environment-variable-name environment-variable-value]}} |
dcputenv format
{{[dcputenv environment-variable-name environment-variable-value]}} |
Function
The transaction service definition defines the execution environment to manage transactions.
Explanation
set format
trn_tran_process_count=concurrent-transaction-branch-count ~<unsigned integer>> ((1-8192#))
Specify the number of transaction branches to be started simultaneously.
The number you specify is the sum of the number of user server processes for processing transactions, the number of recovery processes, and the number of transaction branches waiting for recovery.
Should the user server process that generated the transaction branch terminate abnormally, that transaction branch could enter a recovery-wait state while other transaction branches are being recovered. If this waiting state is prolonged, the number of transaction branches which can be started could be reduced. Accordingly, the number of transaction branches should be set taking into account the disposal of user server processes which can generate a transaction branch after an abnormal termination, and the frequency of abnormal terminations.
Thus the specification should satisfy the following condition:
(Number of user server processes executing transactions + number of recovery processes)
< Transaction branch count specification
[(Number of user server processes executing transactions x 2) + number of recovery processes]
Take note that the larger the number of transactions, the lower will be the efficiency of the memory resources.
trn_recovery_process_count=parallel-recovery-process-count~<unsigned integer> ((1-128)) <<4>>
Specify the number of transaction branches that can be recovered in parallel should they terminate abnormally.
If the transaction branch terminates abnormally, its recovery processes are carried out in parallel the specified number of times.
trn_expiration_time=transaction-branch-expiration-time~<unsigned integer> ((0-65535)) <<0>> (Unit: seconds)
Specify the maximum time to monitor processing of a transaction branch. OpenTP1 abnormally terminates and rolls back the transaction branch when processing goes beyond the specified time. Specify 0 to have no time check.
Whether the service or service group is to be shut down if a UAP terminates abnormally depends on the specification of the hold and term_watch_time operands. For details, see the descriptions of the hold and term_watch_time operands of the user service definition.
This operand can also be specified with the user service definition or RAP-processing listener service definition, and the user service default definition. The priority of the specified values in decreasing order are as follows (1.>2.>3.).
A time check can also be specified with other functions. For details of these functions, see the OpenTP1 Programming Guide.
To apply this operand in a transactional RPC executing process (clttrnd) or CUP executing process (cltcond), you must specify the trn_expiration_time operand in the client environment definition or client service definition.
trn_expiration_time_suspend=Y|N|F~<<N>>
Specify whether the next processing time is to be included in the specified time check of the processing of a transaction branch.
This operand can also be specified with the user service definition or RAP-processing listener service definition, and the user service default definition. The priority of the specified values in decreasing order are as follows (1.>2.>3.).
For details about the relationship between this operand and the timer monitoring options, see A.2 Time monitoring for transactions.
To apply this operand in a transactional RPC executing process (clttrnd) or CUP executing process (cltcond), you must specify the trn_expiration_time_suspend operand in the client environment definition or client service definition.
trn_tran_statistics=Y|N~<<N>>
Specify whether statistical information is to be collected for each transaction branch.
If Y is specified, the system collects statistics of the transaction branches executed by the user server for which other than nothing was specified in the trn_statistics_item operand of the user service definition during the time from startup to termination of the OpenTP1 system.
The trnstics command can also specify the start or termination of collecting statistics. If this command is used, the specification of this operand becomes invalid.
The more the types of statistics collected, the lower the transaction performance. It is recommended to collect statistics only during system tuning or when checking on trouble when transaction performance is not a problem.
trn_tran_recovery_list=Y|N~<<N>>
Specify whether undecided transactions information is to be recovered during full recovery of an OpenTP1 system. The OpenTP1 system creates a file under $DCDIR/spool/dctrninf and outputs this information whenever the system recovers entirely. Delete unnecessary files.
trn_cpu_time=transaction-branch-CPU-check-time~<unsigned integer> ((0-65535)) <<0>> (Unit: seconds)
Specify the CPU time that can be used by a transaction branch until synchronous point processing. If 0 is specified, no time check is performed. If the specified time is exceeded, the transaction branch process terminates abnormally and rolls back.
Whether the service or service group is to be shut down if a UAP terminates abnormally depends on the specification of the hold and term_watch_time operands. For details, see the descriptions of the hold and term_watch_time operands of the user service definition.
This operand can also be specified with the user service definition or RAP-processing listener service definition, and the user service default definition.
The priority of the specified values in decreasing order are as follows (1.>2.>3.).
To apply this operand in a transactional RPC executing process (clttrnd) or CUP executing process (cltcond), you must specify the trn_cpu_time operand in the client environment definition or client service definition.
trn_statistics_item=statistical-information-item[,statistical-information-item]...~<<executiontime>>
Specify an item that collects statistics of a transaction branch.
Only one nothing is specified. If nothing and other statistics concurrently, specifying nothing will be invalid.
When collecting statistics about transactions, use either of the following two ways:
This operand can also be specified with the user service definition or RAP-processing listener service definition, and the user service default definition.
The priority of the specified values in decreasing order are as follows (1.>2.>3.).
To apply this operand in a transactional RPC executing process (clttrnd) or CUP executing process (cltcond), you must specify the trn_statistics_item operand in the client environment definition or client service definition.
trn_max_subordinate_count=maximum-number-of-childtransaction-branches~<unsigned integer> ((0-1024)) <<32>>
Specify the maximum number of childtransaction branches that are generated from one transaction branch under OpenTP1. It is the maximum number of dc_rpc_call function (s) issued from one transaction branch (but which are updated or uj-output at the calling side).
trn_rm_open_close_scope=process|transaction~<<process>>
Specify the issuing timing of the two functions (xa_open and xa_close) which are the XA interfaces to the resource manager that other than the OpenTP1 system offers.
If process is specified, the resource for the resource manager is occupied from the issue of the dc_rpc_open function to the issue of the dc_rpc_close function. If the transaction performance is focused on, specify process.
If transaction is specified, the xa_open and xa_close functions will be issued whenever the transaction starts and terminates. Therefore, if the resource of the resource manager must be used efficiently, specify transaction.
This operand can also be specified to the user service definition, and the user service default definition.
The priority of the specified values in decreasing order are as follows (1.>2.>3.).
trn_optimum_item=transaction-optimization-item[,transaction-optimization-item]...~<<base>>
The items to be optimized are specified with the following character strings to improve the performance of the global transaction distributed to multiple user servers.
More than one transaction optimization item can be specified. When both of them are specified, the specification takes precedence according to the following priority (1.>2.):
This operand can also be specified with the user service definition or RAP-processing listener service definition, and the user service default definition.
The priority of the specified values in decreasing order are as follows (1.>2.>3.).
To apply this operand in a transactional RPC executing process (clttrnd) or CUP executing process (cltcond), you must specify the trn_optimum_item operand in the client environment definition or client service definition.
trn_processing_in_rm_error=down|retry|force~<<down>>
Specify the action of OpenTP1 if an error is returned with the code (XAER_INVAL(-5), XAER_PROTO(-6)) indicating that the XA function (xa_commit function, xa_forget function, xa_rollback function) issued to the resource manager cannot continue to be processed during the transaction recovery by the transaction recovery service.
This error occurs in the following cases. If this error occurs, there may be a resource inconsistency.
If this error occurs, messages KFCA00907-E and KFCA00908-E are output.
This operand can be changed during an online session to determine the error handling. Therefore, it is possible to specify retry at the system startup, take an appropriate action on the faulty resource manager if an error occurs, and then change the specification to force.
trn_recovery_list_remove=normal|force|no~<<no>>
Specify whether to delete undecided transaction information files at the start of OpenTP1.
trn_recovery_list_remove_level=delete-level-for-undecided-transaction-information-file~<unsigned integer> ((0-24855)) <<0>> (Unit: days)
Specify the delete level for the undecided transaction information files. This operand is valid when normal or force is specified by the trn_recovery_list_remove operand.
trn_crm_use=Y|N~<<N>>
Specify whether to use the communication resource manager (CRM).
trn_max_crm_subordinate_count=maximum-number-of-childtransaction-branches-through-CRM~<unsigned integer> ((0-1024)) <<8>>
Specify the maximum number of RPCs through the CRM that are created by a single transaction branch under OpenTP1.
trn_watch_time=maximum-communication-wait-time-for-synchronization-point-processing-of-transactions~<unsigned integer> ((1-65535)) <<120>> (Unit: seconds)
Specify the maximum waiting time for receiving the communication (such as a prepare instruction, commit instruction, rollback instruction, and response) performed between transaction branches during the synchronization point processing of transactions.
If no instruction or response is made after the specified time, the transaction branch will be rolled back if it is before completion of the first phase of two-phase commit. If the first phase is completed, the system process of the transaction service retries to terminate the transaction.
You can also specify this operand with the user service definition or RAP-processing listener service definition, and user service default definition.
Priority is given to the specified values in the following order (1.>2.>3.).
Omitting this operand in all of these definitions assumes the watch_time value of the user server involving the transaction. Note that you cannot specify 0 in trn_watch_time. If you specify 0 in the watch_time operand on the user server, 120 (seconds), which is the default value of trn_watch_time, is used.
To apply this operand in a transactional RPC executing process (clttrnd) or CUP executing process (cltcond), you must specify the trn_watch_time operand in the client environment definition or client service definition.
trn_rollback_information_put=no|self|remote|all~<<no>>
Specify whether to log information on the cause of rollback when transaction branches are rolled back.
This operand can also be specified with the user service definition or RAP-processing listener service definition, and the user service default definition.
The priority of the specified values is (1.>2.>3.).
To apply this operand in a transactional RPC executing process (clttrnd) or CUP executing process (cltcond), you must specify the trn_rollback_information_put operand in the client environment definition or client service definition.
You will be able to investigate errors more easily by using the log data acquired when this operand is specified. If no or nothing is specified for this operand, we recommend that you specify all instead.
trn_limit_time=maximum-time-to-execute-transaction-branch~<unsigned integer> ((0-65535)) <<0>> (Unit: seconds)
Specify the maximum time to execute a transaction branch. The expiration time is automatically specified for the dc_rpc_call and dc_rpc_poll_any_replies functions and for the communication during the synchronization point processing as shown below, so that the time between startup of a transaction branch and termination of the synchronization point processing does not exceed the value specified in this operand.
If processing other than above takes a long time, the transaction branch may not terminate within the specified time.
If the time specified with this operand has expired before the synchronization point processing starts, the transaction will be rolled back. Specify 0 to have no time check.
This operand can also be specified with the user service definition or RAP-processing listener service definition, and the user service default definition.
The priority of the specified values is (1.>2.>3.).
To apply this operand in a transactional RPC executing process (clttrnd) or CUP executing process (cltcond), you must specify the trn_limit_time operand in the client environment definition or client service definition.
trn_rollback_response_receive=Y|N~<<Y>>
Specify whether to receive a rollback completion report after sending a rollback instruction to the RPC destination transaction branch. Specify N to terminate the local transaction branch without receiving the rollback completion report from the RPC destination transaction branch (i.e., without waiting for the RPC destination transaction branch to complete rollback processing).
This operand can also be specified with the user service definition or RAP-processing listener service definition, and the user service default definition.
The priority of the specified values is (1.>2.>3.).
To apply this operand in a transactional RPC executing process (clttrnd) or CUP executing process (cltcond), you must specify the trn_rollback_response_receive operand in the client environment definition or client service definition.
trn_partial_recovery_type=type1|type2|type3~ <<type1>>
This specifies the method of processing transaction synchronization points when there is a UAP error.
If, because of an RPC timeout, the address of a process to which the RPC is issued fails to be settled or the UAP where a transaction is underway goes down, the communication between transaction branches will become degraded so that it may take time to settle transactions.
With this operand, the method of processing transaction synchronization points depending on different faults is selected among from the three methods shown in specified values.
In the following cases, even if this operand is given type2 or type3, the transaction may take time to settle.
It is possible to specify this operand even in the user service definition or RAP-processing listener service definition, and user service default definition.
Priority is given to the specified values in the following order (1.>2.>3.).
To apply this operand in a transactional RPC executing process (clttrnd) or CUP executing process (cltcond), you must specify the trn_partial_recovery_type operand in the client environment definition or client service definition.
max_socket_descriptors=maximum-number-of-file-descriptors-for-sockets~<unsigned integer> ((32-2032))
Specify the maximum number of file descriptors to be used for sockets by the processes under control of OpenTP1#.
The processes under control of OpenTP1# exchange the process information with the system servers or user servers through the TCP/IP communication using sockets. Therefore, you must change the maximum number of file descriptors for sockets depending on the number of UAP processes that run concurrently and the number of other nodes to communicate with.
Use the following formula for calculating the maximum number of file descriptors for sockets:
If the value specified for this operand is too small, the connection cannot be set with other processes under control of OpenTP1. The process terminates abnormally after outputting the KFCA00307-E error message.
If this operand is omitted, the system assumes the value in the system common definition.
trn_recovery_failmsg_interval=minimum-interval-between-issuing-messages-containing-information-about-the-incomplete-transaction~<unsigned integer>((0-65535))<<1800>> (unit: seconds)
Specify the interval between outputs of the KFCA00960-I message.
If the system cannot recover a transaction and the length of time specified in this operand is exceeded after the previous KFCA00960-I message was output, the same message is output again. However, the KFCA00960-I message is output immediately for the following cases:
If you specify 0 for this operand, the KFCA00960-I message will not be output.
If you are currently recovering multiple transaction branches, this operand is applied to each transaction branch. Only messages from the same transaction branch are output at the interval specified in this operand.
The KFCA00960-I message may sometimes be output twice or more for a single transaction recovery failure. This occurs when there are multiple reasons for the failure. The KFCA00960-I message may sometimes be output after the KFCA00990-I message.
trn_wait_rm_open=continue|stop|retry_continue|retry_stop~ <<continue>>
This operand specifies the action to be taken if an error occurs while a resource manager provided by other than OpenTP1 is opened (xa_open function) when OpenTP1 starts.
trn_retry_interval_rm_open=retry-interval-for-issuing-xa_open-function ~<unsigned integer>((1-3600))<<10>> (unit: seconds)
This operand specifies the retry interval for issuing the xa_open function when retry_continue or retry_stop is specified in the trn_wait_rm_open operand.
trn_retry_count_rm_open=number-of-retries-for-issuing-xa_open-function ~<unsinged integer>((1-65535))<<18>>
This operand specifies the number of retires for issuing the xa_open function when retry_continue or retry_stop is specified in the trn_wait_rm_open operand.
thread_stack_size=size-of-thread-stack -area-used-within-OpenTP1~<unsigned integer>((1024-524288))<<49152#>> (unit: bytes)
This operand specifies the thread stack area that OpenTP1 uses internally. The size of the thread stack area for the resource manager monitoring service has been expanded to 262,144 bytes. Therefore, specify this operand only when a thread stack area larger than 262,144 bytes is required for the resource manager for which you want to use XA linkage. You can use the following formula to calculate the amount of memory required when this operand is specified:
polling_control_data=Y|N~<<N>>
This operand specifies whether to regularly poll into the waiting status where the transaction recovery daemon is waiting for a transaction recovery request. Specify Y to check whether a temporary closing request has arrived.
thread_yield_interval=interval-for-issuing-a-trigger-to -receive-a-socket-reuse-instruction~<unsigned integer>((1-86400))<<90>>(unit: seconds)
Specify the interval in seconds for polling into the waiting status where the transaction recovery daemon is waiting for a transaction recovery request. This specification checks whether a temporary closing request has arrived.
If the transaction recovery requests are accepted one after another without waiting, the system checks whether a temporary closing request has arrived when the time period in which transaction recovery requests are accepted successively exceeds a predetermined time. This operand is also used as the interval. (No signal interrupt occurs for checking whether a temporary closing request has arrived, when the time period in which transaction recovery requests are accepted successively exceeds the value specified in this operand.)
Specify a smaller value than the time period in which a process issuing a temporary closing request waits for a response (180 seconds: default of ipc_socket1_watchtime operand).
The facility of checking whether a temporary closing request has arrived by polling into the transaction recovery request waiting status becomes active only when Y is specified in the polling_control_data operand. The facility of checking whether a temporary closing request has arrived when successive services are accepted becomes active regardless of the value specified in the polling_control_data.
If the maximum value is specified in this operand, the system does not check whether a temporary closing request has arrived, regardless of the value specified in the polling_control_data operand.
groups=group-identifier [,group-identifier]...]~<unsigned integer>((0-4294967294))
Sets a group access list of the service groups.
Specify group IDs cataloged in the operating system. You can specify up to 16 group IDs.
The setgid() system call automatically sets the group ID for the OpenTP1 administrator regardless of the specified value in this operand.
Since the maximum value depends on the operating system, see the documentation for your operating system.
trn_xar_use=Y|N~<<N>>
Specify whether to use the XA resource service. To use the XA resource service, you need to define the execution environment in the XA resource service definition. Note that if Y is specified for the jnl_fileless_option operand in the system common definition, the XA resource service cannot be used.
trn_start_recovery_mode=stop|wait|continue~<<stop>>
Specify the transaction recovery processing method used by the resource manager, specified in the -m option in the trnstring definition command, during its OpenTP1 startup processing. This operand can be changed or deleted at the restart.
trn_start_recovery_watch_time=elapsed-retry-time~<unsigned integer> ((0-65535))<<600>> (units: seconds)
Specify the upper retry time limit until pre-online recovery processing finishes when the -m option is specified in the trnstring definition command. When you specify 0, no retry is performed. This operand is valid when a value other than wait is specified in the trn_start_recovery_mode operand. This operand can be changed or deleted at restart.
trn_start_recovery_interval=retry-interval~<unsigned integer> ((0-65535))<<3>> (units: seconds)
Specify the retry interval before pre-online recovery processing finishes when the -m option is specified in the trnstring definition command. When you specify 0, the next retry is performed immediately. When you specify 0 for the trn_start_recovery_watch_time operand, the value specified for the trn_start_recovery_interval operand is invalid. This operand can be changed or deleted at restart.
trn_xa_commit_error=down|force~<<down>>
Specify the processing to be performed# if a resource manager becomes unable to commit a transaction that accesses multiple resources after the commitment of the transaction is determined.
If this error occurs, the resources accessed by the applicable transaction may become inconsistent.
trn_prf_event_trace_level=acquisition-level-of-TRN-event-trace~ ((00000000-00000007)) <<00000007>>
Specify the acquisition level of the TRN event trace. This operand controls the event trace acquisition feature. If you do not specify this operand, entry information, normal exit information, and error exit information are acquired as trace data. For details about the TRN event trace, see the description about the trace feature in the manual OpenTP1 Description.
To output the acquired trace data to a file or edit the trace data, use the prfget command or the prfed command. The result of file output is stored in $DCDIR/spool/dctrninf/trace/prf. For details about the prfget command or the prfed command, see the manual OpenTP1 Operation.
TP1/Extension 1 must be installed to use this operand. If TP1/Extension 1 is not installed, the operation is not guaranteed.
trn_prf_event_trace_condition=trace-acquisition-type[,trace-acquisition-type]~<<xafunc>>
Specify the type of the TRN event trace to be acquired. You can specify multiple types depending on the trace you want to acquire. If you do not specify this operand, the trace about XA functions is acquired.
TP1/Extension 1 must be installed to use this operand. If TP1/Extension 1 is not installed, the operation is not guaranteed.
trn_completion_limit_time=time-limit-for-completing-transaction~<unsigned integer> ((0-65535))<<0>>(units: seconds)
Specify the maximum time for execution of a transaction branch. If the execution time of a transaction branch reaches the maximum, the transaction branch process terminates abnormally, and the recovery process commits or rolls back the transaction branch. If 0 is specified, the execution time of the transaction branch is not monitored for this purpose.
Whether an abnormally terminated UAP is shut down depends on the specification of the hold and term_watch_time operands. For details, see the descriptions of these user service definition operands.
Monitoring of the execution time specified by this operand starts when a transaction is started by invoking the dc_trn_begin function or by starting a service function. The monitoring ends when the transaction branch terminates after acquisition of information about the synchronization point processing of the transaction (TJ). However, if the transaction is optimized, monitoring of the transaction branch on the server terminates after a response is returned to the client. For details about the section for which the execution time specified by this operand is monitored and about the relationship between this operand and timer monitoring options, see A.2 Time monitoring for transactions.
Note that this operand can also be specified in the user service definition (or RAP-processing listener service definition) and user service default definition.
The priority of the specified values is 1 > 2 > 3.
To apply this operand in a transactional RPC executing process (clttrnd) or CUP executing process (cltcond), you must specify the trn_completion_limit_time operand in the client service definition.
If the execution time of the process of a child transaction branch reaches the time specified by this operand and the process terminates abnormally, the RPC caller may wait until the time to wait for a response expires.
trn_extend_function=facility-extension-level-of-the-transaction-service~<hexadecimal number> ((00000000-00000001))<<00000000>>
Specify the facility extension level of the transaction service.
The following describes the values you can specify in this operand. To specify multiple extension levels, specify the logical sum of the values.
Function | Return value | |
---|---|---|
When trn_extend_function= 00000000 | When trn_extend_function= 00000001 | |
dc_trn_chained_commit (CBLDCTRN('C-COMMIT')) | DC_OK (00000) | DCTRNER_HAZARD (00904), DCTRNER_HAZARD_NO_BEGIN (00927) |
dc_trn_unchained_commit (CBLDCTRN('U-COMMIT')) | DC_OK (00000) | DCTRNER_HAZARD (00904) |
tx_commit (TXCOMMIT) | TX_OK (TX-OK) | TX_HAZARD (TX-HAZARD), TX_HAZARD_NO_BEGIN (TX-HAZARD-NO-BEGIN) |
dc_mcf_commit (CBLDCMCF('COMMIT')) | DCMCFRTN_00000 (00000) | DCMCFRTN_HAZARD (70908) |
watch_time=maximum-response-waiting-time~<unsigned integer> ((0-65535)) (Unit: seconds)
Specify the maximum waiting time between sending a service request and receipt of a response when communicating between processes by RPC.
OpenTP1 may suspend termination processing for the length of time specified in this operand. Therefore, if you specify a large value, the termination processing of OpenTP1 may take some time.
If no response is received within the specified time, RPC returns a transmission timeout error.
Specify 0 if the system is to wait for a response. When you specify 0, OpenTP1 may not terminate.
If this operand is omitted, the value specified with the watch_time operand of the system common definition is assumed.
Use the default of the watch_time operand of the system common definition for this operand.
We recommend that you do not change the operand unless special tuning is necessary.
If a value that is much greater or smaller than the default of the watch_time operand of the system common definition is specified, a failure may occur causing OpenTP1 to go down.
command format
Described on the following pages.
putenv format
Operand
environment-variable-name environment-variable-value~<character string>
Specify the environment variable that the transaction recovery service and resource manager monitoring service require to access the resource manager for linkage with the resource manager via the XA interface.
The name and value of the environment variable you specify depend on the resource manager.
In OpenTP1, do not use any environment variable name that begins with dc.
dcputenv format
Operand
environment-variable-name environment-variable-value~<character string>
Specify the environment variable that the transaction recovery service and resource manager monitoring service require to access the resource manager for linkage with the resource manager via the XA interface. If the name of an environment variable is specified as the environment variable value, the environment variable is replaced with its value.
The name and value of the environment variable you specify depend on the resource manager.
In OpenTP1, do not use any environment variable name that begins with dc.
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.