Thanks for your hint

> 
> You may have been caught by the magicians trick, the action is not occurring
> where you are looking.

That was also my thinking, but:

I do the concatenating with 3 different variables, two of them are exactly the 
same code:

Temp1 = ""
Temp2 = ""

TempX = rDELI: importID : @IM : CHANGE(ImportRec,  @AM,  @IM)

and I still get:
Temp1:
|2471DifferentialDE

Temp2:
|2471|2471Differential

@IM = 
rDELI= |  ,exactly it is CHAR(19)
importID = 2471

the length is in both cases right (62) and this two variables are only used 
there and in the 
CRT:
IF Temp1 # Temp2 THEN
  CRT "T1=" : LEN(Temp1) : "[" : Temp1 : "]"
  CRT "T2=" : LEN(Temp2) : "[" : Temp2 : "]"
END

I also extracted the whole part out of the main-program into SUBR and I have 
still the same 
problem.

> You are likely concatenating to a variable that is not being cleared
What do mean under clearing:
It was my first try to set every variable which I don't need anymore or which 
get's reused, first 
to "", before using it again: I can't find any free-command (the CLEAR is 
suicidal)


> You might want to also look at
> sequential reads and writes processes to do what I think you are doing.

The Read part shows no Problem: ImportRec never shows any anormality

The writepart is socketwrite(comHandle, Ergebnis, 5000,1, sSendLen)
There the Ergebnis -variable is never changed and the received result on the 
other side 
shows no Problem (this was my try: I thought my VB-program (on a different 
computer) is 
changing the socket data, or my ByteArray-gymnastics are faulty)

leaving the socketwrite out, also doesn't help.

> Hope this gives you a pointer.
Any other hints?


> 
> Regards
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
> 


-- 
MW
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to