Hi,
I have a scenario. Mainframe application uploads a flat file to a FTP server(based on UNIX). Uploading is being done in BINARY mode.
Data on mainframe looks like below (Record length is 80 characters)
H004981429001015544655526 trailing spaces for every record
H004981328001019383824047
H0049813790010000455933
When we look into the file that is uploaded the data looks like below:
Èððôùøñôòùððñðñõõôôöõõõòö@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ðððððñððÈððôùøñóòøððñðñùóøóøòôðô÷@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ðððððòððÈððôùøñó÷ùððñððððôõõùóó@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ðððððóðð
I requested mainframe people to send in in ASCII format for testing purposes and the data looks similar to how it looks on mainframe and using the below File content conversion when the file was picked up it was processed properly.
But when I picked the Binary file this all what i got:
<?xml version="1.0" encoding="utf-8" ?>
Only One record was picked up. Thought formatting could be handled in Mapping. But as it is reading only one record I am unable to proceed.
When i checked in web, no CR, LF characters will be inserted while uploading in binary format.
Please help.