Discussion:
LU 6.2 / CPI-C Trouble
(too old to reply)
Luis
2010-03-15 19:06:01 UTC
Permalink
Hello all,

I'm using CPIC/LU6.2 example, and I'm having problems to receive messages
from cics.

The conversation starts successfully, but after sending a message,
specifically in the receipt of the host response (CMRCV Function), the return
code is changed to 17 (CM_DEALLOCATE_ABEND). The data received are three null
characters, blank.

After that, the conversation get stucked in status (CM_RECEIVE_STATE).

I am using the following parameters in the program:

Partner TP Name: CSMI -> CICS transaction Mirroring (IS CORRECT?)
Partner LU -> (My CICS NAME)
Mode name -> INDMODE

Text to send: RED6MyData (Is in correct format?)

Where "RED6" is the name of my transaction in CICS.

In the CICS, the transaction CSMI failed with abend AXFQK.

Thanks..

Luis

-----------------------------------------------
The following is an excerpt from the HIS trace at the moment:

PVI ---- Element at address 044F4230, start 13, end 24 ----
PVI 000C12FF 72656436 64617461 <....red6data >
PVI
--------------------------------------------------------------------------------
PVI 0302FDB1->1C000001 LU 6.2
PVI MSGID:CRED MSGTYP:SFLSH Sense1:0001
PVI Sense2:1D00
PVI
PVI ---- Header at address 03B0403C, 0 elements ----
PVI 26080001 1D002F00 02030100 0100400F <&...../***@.>
PVI
--------------------------------------------------------------------------------
PVI 0302FDB1->1C000001 LU 6.2
PVI MSGID:RDAT MSGTYP:FMH7
PVI
PVI ---- Header at address 03B0437C, 1 elements ----
PVI 01070000 00001E00 00000000 0100400F <***@.>
PVI
PVI ---- Element at address 044F0928, start 13, end 19 ----
PVI 07070864 000080 <...d... >
PVI
--------------------------------------------------------------------------------
PVI 0302FDB1->1C000001 LU 6.2
PVI MSGID:RDAT MSGTYP:DALFL
PVI
PVI ---- Header at address 03B0403C, 1 elements ----
PVI 01040000 00002E00 02030000 0100400F <***@.>
PVI
PVI ---- Element at address 044F4230, start 20, end 183 ----
PVI 00A412E1 00260310 F3151104 120041F5 <.u...&..3.....A5>
PVI F6F5F5D4 F1F54040 40D7C1E2 E4400603 <655M15@@@***@..>
PVI F0F6F5F0 060FC3C9 C3E2007A C4C6C8C1 <0650..CICS.zDFHA>
PVI C3F2F2F0 F640F1F4 7AF3F67A F2F040C3 <***@14z36z20@C>
PVI C9E2F1D7 C1E2E440 E3998195 A28183A3 <***@Transact>
PVI 89969540 C3E2D4C9 40868189 93858440 <***@CSMI@failed@>
PVI A689A388 40818285 958440C1 E7C6D84B <***@abend@AXFQK>
PVI 40E49784 81A385A2 40A39640 93968381 <@***@to@loca>
PVI 93409985 8396A585 99818293 85409985 <***@recoverable@re>
PVI A296A499 8385A240 82818392 85844096 <***@backed@o>
PVI A4A34B40 <utK@ >
PVI
--------------------------------------------------------------------------------
PVI 0302FDB1->1C000001 LU 6.2
PVI MSGID:RCBD MSGTYP:????? Sense1:B006
PVI Sense2:0000
PVI
PVI ---- Header at address 03B041DC, 0 elements ----
PVI 2800B006 00002E00 03028036 0100400F <(***@.>
Stephen Jackson [MSFT]
2010-03-22 20:42:04 UTC
Permalink
The following is the error being sent back to the application from the
mainframe side:

PVI 0302FDB1->1C000001 LU 6.2
PVI MSGID:RDAT MSGTYP:FMH7
PVI
PVI ---- Header at address 03B0437C, 1 elements ----
PVI 01070000 00001E00 00000000 0100400F <***@.>
PVI
PVI ---- Element at address 044F0928, start 13, end 19 ----
PVI 07070864 000080 <...d... >
PVI


The IBM Sense Code is 0864 0000 which is defined as follows:

0864 Function Abort: The conversation was terminated abnormally. Other
terminations may occur
after repeated reexecutions; the request sender is responsible to detect
such a loop.

Bytes 2 and 3 following the sense code contain sense code specific
information. Settings
allowed are:

0000 For LU 6.2, Premature Conversation Termination: The conversation is
terminated abnormally;
for example, the transaction program may have issued a DEALLOCATE_ABEND
verb, or the program may have terminated (normally or abnormally) without
explicitly terminating
the conversation.
For LU 6.2 half-duplex conversations, this sense data is sent only in FMH-7
or UNBIND.
For LU 6.2 full-duplex conversations, this sense data is sent also in the
negative
response that precedes an FMH-7 when there is a chain to respond to. The
sense data
in the negative response results in advance notice to the transaction
program (in the
form of an error return code) that an ERP message is forthcoming. For this
error, the
ERP message will contain the same sense data value used in the negative
response.

It looks like the host application is not liking something that you have
sent prior to the error being returned.

It may be that is does not like the data that you are sending.

Any further help is difficult with the amount of information provided.

We don't know what the host application is expecting to receive or what was
actually sent (per the traces).
--
Stephen Jackson
Microsoft® HIS Support

Please do not send e-mail directly to this alias. This alias is for
newsgroup purposes only. This posting is provided "AS IS"
with no warranties, and confers no rights.
Post by Luis
Hello all,
I'm using CPIC/LU6.2 example, and I'm having problems to receive messages
from cics.
The conversation starts successfully, but after sending a message,
specifically in the receipt of the host response (CMRCV Function), the return
code is changed to 17 (CM_DEALLOCATE_ABEND). The data received are three null
characters, blank.
After that, the conversation get stucked in status (CM_RECEIVE_STATE).
Partner TP Name: CSMI -> CICS transaction Mirroring (IS CORRECT?)
Partner LU -> (My CICS NAME)
Mode name -> INDMODE
Text to send: RED6MyData (Is in correct format?)
Where "RED6" is the name of my transaction in CICS.
In the CICS, the transaction CSMI failed with abend AXFQK.
Thanks..
Luis
-----------------------------------------------
PVI ---- Element at address 044F4230, start 13, end 24 ----
PVI 000C12FF 72656436 64617461 <....red6data >
PVI
--------------------------------------------------------------------------------
PVI 0302FDB1->1C000001 LU 6.2
PVI MSGID:CRED MSGTYP:SFLSH Sense1:0001
PVI Sense2:1D00
PVI
PVI ---- Header at address 03B0403C, 0 elements ----
PVI
--------------------------------------------------------------------------------
PVI 0302FDB1->1C000001 LU 6.2
PVI MSGID:RDAT MSGTYP:FMH7
PVI
PVI ---- Header at address 03B0437C, 1 elements ----
PVI
PVI ---- Element at address 044F0928, start 13, end 19 ----
PVI 07070864 000080 <...d... >
PVI
--------------------------------------------------------------------------------
PVI 0302FDB1->1C000001 LU 6.2
PVI MSGID:RDAT MSGTYP:DALFL
PVI
PVI ---- Header at address 03B0403C, 1 elements ----
PVI
PVI ---- Element at address 044F4230, start 20, end 183 ----
PVI 00A412E1 00260310 F3151104 120041F5 <.u...&..3.....A5>
PVI F0F6F5F0 060FC3C9 C3E2007A C4C6C8C1 <0650..CICS.zDFHA>
PVI
--------------------------------------------------------------------------------
PVI 0302FDB1->1C000001 LU 6.2
PVI MSGID:RCBD MSGTYP:????? Sense1:B006
PVI Sense2:0000
PVI
PVI ---- Header at address 03B041DC, 0 elements ----
Loading...