OpenTP1 Version 7 Tester and UAP Trace User's Guide
Add the following user service definition for running the offline tester. Definition and coding are the same as for the OpenTP1 user service definition. See the manual OpenTP1 System Definition for details.
- Organization of this subsection
- (1) Syntax
- (2) Function
- (3) Operands
- (4) Definition example
(1) Syntax
(a) set format
set service = "service-name = entry-point-name"
[,"service-name = entry-point-name"]
... [set server_type = betran|xatmi]
|
(b) putenv format
{{[putenv environment-var-name environment-var-value]}}
|
(2) Function
Enables execution of the offline tester according to the user service definition.
(3) Operands
(a) set format
- service = "service-name = entry-point-name"
For all the services in the service group, specify the service name paired with the entry point name.
The entry point name is a function name in C or a program name or entry name in COBOL. Specify the same name as in the RPC (or XATMI) interface definition.
See the manual OpenTP1 Programming Guide for details on the RPC and XATMI interface definitions and on service functions for the RPC (or XATMI) interface.
- server_type = betran|xatmi ~<<betran>>
Specify whether to use OpenTP1 (RPC) or XATMI functions, as follows:
- betran
- Use OpenTP1 (RPC) functions.
- xatmi
- Use XATMI functions.
(b) putenv format
- environment-var-name
Set the value of the specified environment variable for the processes in the service group.
Use this format to set the COBOL environment when OpenTP1 activates a COBOL operating environment. The user can choose an environment variable for each UAP execution format program. Reference putenv in the standard C library.
(4) Definition example
(a) set format
set service = "service = xwsvkd0100"
set server_type = betran
|
(b) putenv format
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.