Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IUCV 2WAY SEND #1

Open
bluecmd opened this issue Aug 26, 2020 · 2 comments
Open

IUCV 2WAY SEND #1

bluecmd opened this issue Aug 26, 2020 · 2 comments

Comments

@bluecmd
Copy link
Owner

bluecmd commented Aug 26, 2020

Need a way to do 2WAY SEND as TCPIP relies on that.

The branch hack has some work that goes towards that (as does a branch with the same name in iucv-go).

Right now the initialization is rejected with BAD INIT MSG LEN however, so need to fix that.

@bluecmd
Copy link
Owner Author

bluecmd commented Aug 26, 2020

Could it be that the error is a response to some other send() that is being done, e.g in connect()?

@bluecmd
Copy link
Owner Author

bluecmd commented Aug 27, 2020

No, I changed the debugging to log any IUCV B2F0 call:

acmeserv
DASD 02CC LINKED R/O; R/W BY MAINT640
DASD 0551 LINKED R/O; R/W BY MAINT640
DASD 0891 LINKED R/W; R/O BY MAINT640
DMSACP723I P (551) R/O
DMSACP723I C (2CC) R/O
Ready; T=0.01/0.01 10:54:26
0000003 FILES PURGED
RDR FILE 0204 SENT FROM BLUECMD  PUN WAS 0204 RECS 040K CPY  001 A NOHOLD NOKEEP
RDR FILE 0205 SENT FROM BLUECMD  PUN WAS 0205 RECS 0001 CPY  001 A NOHOLD NOKEEP
RDR FILE 0206 SENT FROM BLUECMD  PUN WAS 0206 RECS 015K CPY  001 A NOHOLD NOKEEP
0000003 FILES CHANGED
0000003 FILES CHANGED
[    0.154974] iucv_call_b2f0 command=IUCV_DECLARE_BUFFER
[    0.154980] iucv_call_b2f0: 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 0f 7f 11 40  ...............@
[    0.154984] iucv_call_b2f0: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[    0.154988] iucv_call_b2f0: 00000020: 00 00 00 00 00 00 00 00                          ........
[    0.155008] iucv_call_b2f0 command=IUCV_SETMASK
[    0.155013] iucv_call_b2f0: 00000000: f8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[    0.155019] iucv_call_b2f0: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[    0.155026] iucv_call_b2f0: 00000020: 00 00 00 00 00 00 00 00                          ........
[    0.155034] iucv_call_b2f0 command=IUCV_SETCONTROLMASK
[    0.155041] iucv_call_b2f0: 00000000: f8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[    0.155049] iucv_call_b2f0: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[    0.155058] iucv_call_b2f0: 00000020: 00 00 00 00 00 00 00 00                          ........
[    0.156041] iucv_call_b2f0 command=IUCV_CONNECT
[    0.156046] iucv_call_b2f0: 00000000: 00 00 00 00 00 ff 00 00 5c d4 e2 c7 40 40 40 40  ........\...@@@@
[    0.156050] iucv_call_b2f0: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[    0.156054] iucv_call_b2f0: 00000020: 00 00 00 00 00 00 00 00                          ........
[    0.156075] IUCV IRQ: path=0, flags=64, type=2
[    0.156081] new iucv path registerd (path=0), handler=0000000000731868
2020/08/27 08:54:27 System booted
[    0.179497] iucv_call_b2f0 command=IUCV_CONNECT
[    0.179505] iucv_call_b2f0: 00000000: 00 00 80 00 ff ff 00 00 e3 c3 d7 c9 d7 40 40 40  .............@@@
[    0.179512] iucv_call_b2f0: 00000010: 40 40 40 40 40 40 40 40 f0 f0 f0 f0 f0 f0 f0 f1  @@@@@@@@........
[    0.179520] iucv_call_b2f0: 00000020: 00 00 00 00 00 00 00 00                          ........
[    0.179593] IUCV IRQ: path=1, flags=128, type=2
[    0.179602] new iucv path registerd (path=1), handler=000000000072b798
[    0.179632] send2way called: data=000000000ed40000 size=20
[    0.179676] --- iucv_message_send2way path=1
[    0.179679] send2way buffer: 00000000: c9 e4 c3 e5 c1 d7 c9 40 00 32 00 04 c9 e4 c3 e5  .......@.2......
[    0.179682] send2way buffer: 00000010: c1 d7 c9 40                                      ...@
[    0.179684] iucv_call_b2f0 command=IUCV_SEND
[    0.179686] iucv_call_b2f0: 00000000: 00 01 80 00 00 00 00 00 00 00 00 00 0e d4 00 00  ................
[    0.179689] iucv_call_b2f0: 00000010: 00 00 00 14 00 00 00 00 00 00 00 00 00 00 fb 90  ................
[    0.179691] iucv_call_b2f0: 00000020: 00 00 00 08 00 00 00 00                          ........
[    0.179718] IUCV IRQ: path=1, flags=0, type=3
[    0.179723] IUCV IRQ: path=1, flags=128, type=7
[    0.179726] --- iucv_message_send2way end, rc=0
[    0.179729] iucv_callback_connrej executing for path=1, userdata='BAD INIT MSG LEN'
[    0.179731] iucv_call_b2f0 command=IUCV_SEVER
[    0.179734] iucv_call_b2f0: 00000000: 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[    0.179737] iucv_call_b2f0: 00000010: 40 40 40 40 40 40 40 40 f0 f0 f0 f0 f0 f0 f0 f1  @@@@@@@@........
[    0.179740] iucv_call_b2f0: 00000020: 00 00 00 00 00 00 00 00                          ........
[    0.179745] iucv_message_complete dispatch, path=0000000000000000, handler=0000000000000000, cb=0000000000000000
2020/08/27 08:54:27 DEBUG: [0 0 0 0 0 0 0 0]
2020/08/27 08:54:27 VM TCPIP Hostname: ""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant