OpenTP1 Version 7 User's Guide

[Contents][Index][Back][Next]

njsmkdll (creates a transaction control DLL)

Format

njsmkdll -d transaction-control-object-name
        [-R OpenTP1-provided-RM-name[,OpenTP1-provided-RM-name]...]
        [-r RM-name-that-is-not-provided-by-OpenTP1[,RM-name-that-is-not-provided-by-OpenTP1]...]
        [-o RM-related-object-name[[Figure]RM-related-object-name]...]

Function

If you use TP1/Extension for .NET Framework to link resource managers and the XA interface, you must use this command to create a DLL for controlling transactions. A manifest file is embedded in the created DLL.

Options

-d transaction-control-object-name ~<1 to 12 alphanumeric characters>

Specifies a name for the transaction control DLL. When you execute this command, a file named transaction-control-DLL-name.dll is created under the %DCDIR%\spool\trnrmcmd\userdll folder.

-R OpenTP1-provided-RM-name ~<1 to 32 alphanumeric characters>

Specifies the name of an OpenTP1-provided resource manager that is accessed from the UAP. A resource manager that has not been registered in OpenTP1 cannot be specified. The following OpenTP1-provided resource manager names can be specified:

[Figure] OpenTP1_TAM: Resource manager name of TP1/FS/Table Access

[Figure] OpenTP1_MCF: Resource manager name of TP1/Message Control

If you specify multiple resource manager names, delimit them with a comma (,).

-r RM-name-that-is-not-provided-by-OpenTP1 ~<1 to 32 alphanumeric characters>

Specifies the name of a resource manager that is accessed from the UAP and that is not provided by OpenTP1. A resource manager that has not been registered in OpenTP1 cannot be specified. If you specify multiple resource manager names, delimit them with a comma (,).

-o RM-related-object-name ~<absolute path name>

Specifies the absolute path (MS-DOS format file containing no spaces) of an object file (object file for the XA interface) that is related to a resource manager. If you specify multiple resource manager-related object names, delimit them with a space.

Output messages

Message ID Description Output destination
KFCA32298-I Help message Standard output

Notes

The trnmkobj command is executed within this command. For details about the trnmkobj command, see trnmkobj (createsa transaction control object file).