CPYTOIMPF .txt file shows garbage on IFS when viewing on windows
but when using wrklnk it looks fine, please help.Below is the query I am using
CPYTOIMPF FROMFILE(BIN815PA) TOSTMF(&PATHDAT) +
MBROPT(*ADD) FROMCCSID(*FILE) +
STMFCODPAG(285) RCDDLM(*CRLF) +
STRDLM(*NONE) FLDDLM(*TAB)
CPYTOIMPF FROMFILE(BIN815PB) TOSTMF(&PATHDAT) +
MBROPT(*ADD) FROMCCSID(*FILE) +
STMFCODPAG(285) RCDDLM(*CRLF) +
STRDLM(*NONE) FLDDLM(*TAB)
CCSID of the file (BIN815PA) is 285 and the file has all char fields.
but the other file (BIN815PB) has CCSID as 65535,has numeric fields as well, Both files are copied to to the IFS folder (&PATHDAT).
Issue is when viewing using WRKLNK the merged text file Look OK, but in the windows the text file has garbage values.