I 'm receiving a file from the Front end(java script) which has a symbol of '^' defined as a string variable.
we need to accept the above symbol and send the same back to front end.
but when it is received to mainframes the symbol changes to 'not' symbol.
and while trying to send the symbol back it shows up a blank space like
'vinay kumar', please let me know any method, could solve my issue.
On the PC, data is in ASCII format. On the mainframe, it is in EBCDIC.
When a file is transferred from one platform to the other, the data is
translated from one format to the other.
All (well behaved) applications use a translation table, this allows for
On the PC, the character "^" is '5E' in hexa (or 94 in decimal).
When it reaches the mainframe, it has been translated into (maybe) another hexa value,
which you have to find out and use instead of the character "^".
When transferred back to the PC, it is translated again, and the result
may be different from the original (usualy there are separate tables and they may not be synchronized).
Now, you have to find which value you have received (EDIT the dataset, view in hexa)
and you have to know which character to send that will show as a "^" (it's called a "caret" if I remember well) on the PC.
If it shows as a space on the PC after receiving the file, maybe the table translate all "unknown" characters to space ?