可调用的 TP 是由另一个 TP 调用的 TP。 编写或配置可调用的 TP,以将其名称提供给 Host Integration Server,以通知它们可用于传入请求。 Host Integration Server 可调用的 TP 可以在任何 Host Integration Server 计算机或 Windows 客户端上运行。
有两种类型的可调用 TP:
操作员启动的可调用 TP
操作员启动的可调用 TP 必须先由操作员启动,然后才能调用 TP。 当操作员启动的可调用 TP 启动时,它会通过发出RECEIVE_ALLOCATE谓词通知 Host Integration Server 其可用性。 RECEIVE_ALLOCATE提供可调用的 TP 的名称。
自动启动的可调用 TP
在需要时,Host Integration Server 可以启动自动启动的可调用 TP。 必须在其本地系统上注册 TP,以便可以将其标识到 Host Integration Server。 (有关如何注册 TP 的详细信息,请参阅 Microsoft Host Integration Server APPC Applications 或 Microsoft Host Integration Server CPI-C Applications.) 已注册的信息将 TP 定义为自动启动,并且必须指定 TP 名称。 注册的信息还可以指定可调用的 TP 将使用的本地 LU 别名。
如果没有向自动启动的 TP 注册本地 LU 别名,则生成的 Host Integration Server 配置在响应调用请求方面可以更加灵活。
Host Integration Server 启动自动启动的可调用 TP 后,TP 会发出RECEIVE_ALLOCATE (就像操作员启动的 TP) 一样。 RECEIVE_ALLOCATE必须提供与注册 TP 相同的 TP 名称。
每个 Host Integration Server 维护一个列表,其中包含可调用的 TP 名称以及与 TP 名称关联的任何 LU 别名。 当请求从调用的 TP 传入时,Host Integration Server 会将请求的可调用 TP 名称和关联的 LU 别名与可用的可调用 TP 列表进行比较, (其中可能包含) 关联的 LU 别名。 有关如何执行此比较的详细信息,请参阅 Microsoft Host Integration Server APPC Applications 或 Microsoft Host Integration Server CPI-C Applications。
如果找到匹配项,Host Integration Server 会向包含请求的 TP 的系统发出信号,以连接到该 Host Integration Server 计算机。
如果未找到匹配项,Host Integration Server 将拒绝传入请求。
另请参阅
事务程序
每个 TP 的 TP 名称唯一(事务程序)
TP 名称不唯一,本地 LU 别名唯一
TP 名称不唯一,本地 LU 别名未指定
调用事务程序
调用 TP 和 Host Integration Server 配置
可调用 TP 和 Host Integration Server 配置