Joined: 10 Oct 2003 Posts: 319 Topics: 51 Location: Germany
Posted: Fri Jan 20, 2006 2:04 am Post subject: Using CSKL, doubt regarding parameters
Hi,
I'm using CSKL listener.
I'm not sure about the parameters.
The IBM manual explains:
- 4 Byte transaction to be called
- 1 Byte comma
- max 35 / 40 bytes optional client in data
- 1 byte comma
- 2 Bytes optional startuptype
- 1 byte comma
- 6 optional byte time for startup by interval control.
My question: Meas optional leave missing parameter blank = hex 40 or forget missing parameters.
Sample:
ABCD,<mydata>,, is this correct or
ABCD,<my data>,'4040'X,'404040404040'x
Both methods seam to be correct (I have tested), but what is the official way? What is correct ? Any comments ? I'm not sure.
Joined: 10 Oct 2003 Posts: 319 Topics: 51 Location: Germany
Posted: Fri Jan 20, 2006 6:16 am Post subject:
kolusu,
thank you for your quick reply.
This is the way we do it at the moment. It works, but only sometimes.
The situation is:
We send command string to the listener, send then any other bytes (not containing commas !!!) to be processed by any user transaction called by the listener.
We use userwritten security exit for the listener.
In case it works, userexit is called by listener, listener calls transaction, takesoket, reading bytes in application program. No Problem.
In case it doesn't work (1%) listener calls secuexit, listener calls transaction, transaction requests for soket by takesoket command, reading bytes. 8 Bytes are missing at the beginning of the datastream. Same input data and so on as in the situation without error.
If we view in the secuexit the structure passed from listener to secuexit we find our missing bytes in the date/time datafield (not passed from client to listener).
It looks like, that the listener only sometimes captures some bytes from the data following the listener commandstring. But only sometimes. Exactly same inputdata (we did networktraces .....) results only in same cases in this errorsituation.
May be, we have link problems with the secuexit. The link parms are REUS, RENT ...... May be, this is wrong and only RENT should be set ?!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum