Cómo usar conjuntos de registros de longitud variable con el Integrador de transacciones

Cuando los datos de longitud variable con el tipo de campo del conjunto de registros se envían al host a través del Integrador de transacciones COM (COMTI), COMTI envía el campo final al host rellenado con caracteres NULL (0x00) hasta el tamaño máximo definido del campo.

Cuando el último parámetro de la biblioteca de tipos es un conjunto de registros que hace referencia a un valor OCCURS ON, los valores NULL se pasarán al sistema central a menos que la opción Campo final del host tenga un tamaño variable (valor devuelto).

El campo Final del host tiene un tamaño variable (valor devuelto) se encuentra en las propiedades del método en la pestaña Opciones avanzadas.

El siguiente fragmento de código de seguimiento de una unidad lógica de servidor SNA (LU) 6.2 muestra el problema cuando el campo Final del host tiene un tamaño variable (valor devuelto) no está seleccionado:

PVI ----------------------------------------------- 14:08:18.0343

PVI 0A1F0001-0102FEB1> LU 6.2

PVI MSGID:SWAT MSGTYP:NTEOD Sense1:2E00

PVI Sense2:0100

PVI

Encabezado de ---- PVI en 01196054 de dirección, 14 elementos ----

PVI 0B012E00 01000400 000E0000 01007E01 <....................~.>

PVI

PVI ---- Element at address 01B89574, start 13, end 268 ----

PVI 2B0502FF 0003D100 0004C3E2 D4C9001A <+..... J... CSMI..>

PVI 11C5C3C9 C2D4C8C8 F14BE3F2 F2F1F5F8 <. ECIBMHH1KT22158>

PVI C4C407D0 0B100E08 00010090 0012F20D <DD............ 2.>

PVI 85020201 02000004 C3E2D4C9 12430E02 <e....... CSMI.C..>

PVI 000006E4 00070000 0104D4E2 E3E7000B <... U...... MSTX..>

PVI 02C3D3D3 D3C9E2C3 D3000504 14AE14B1 <. CLLLISCL.......>

PVI 06D4C5D5 C1404040 40404040 40404040 <. MENA@@@@@@@@@@@>

40404040 40404040 40404040 40404040 PVI <@@@@@@@@@@@@@@@@>

40404040 40404040 40404040 40404040 PVI <@@@@@@@@@@@@@@@@>

40404040 40404040 40404040 40404040 PVI <@@@@@@@@@@@@@@@@>

40404040 40404040 40404040 40404040 PVI <@@@@@@@@@@@@@@@@>

40404040 40404040 40404040 40404040 PVI <@@@@@@@@@@@@@@@@>

40404040 40404040 40404040 40404040 PVI <@@@@@@@@@@@@@@@@>

40404040 40404040 40404040 40404040 PVI <@@@@@@@@@@@@@@@@>

40404040 40404040 40404040 40404040 PVI <@@@@@@@@@@@@@@@@>

40404040 40404040 40404040 40404040 PVI <@@@@@@@@@@@@@@@@>

PVI

PVI ---- Element at address 01B89B28, start 13, end 268 ----

PVI 400000000 00000000 00000000 00000000 <@............>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 0000F0F0 F0000000 000000000 00000000 <.. 000...........>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI

PVI ---- Element at address 01B88E9C, start 13, end 268 ----

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI

PVI ---- Element at address 01B815B4, start 13, end 268 ----

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>

PVI 00000000 00000000 000000000 0000000 <................>