Author:
AJAYREDDY
Subject: FTP data transfer from PC to Mainframe why different format.
Posted: Wed Aug 23, 2017 9:59 pm (GMT 5.5)
Hi, I have 2 text files that are doing FTP from PC to Mainframe. Both the text files are in tabular column format (Heading and Detail rows). But 1 of the text file (see MYFILE.TEST.CODE1) is coming as data in only 1 line continuous. Whereas the other file (see MYFILE.TEST.CODE2) is coming as in tabular column. I need the MYFILE.TEST.CODE1 also to be in tabular column. Please let me know what could be the reason behind it. I tried putting spaces manually in text file after heading, deleting some chars in first line etc etc but still it is not working.
Both the files after FTP are generating as 256 VB.
Here are FTP parms and data in each file.
Code: |
IP address
userid
password
cd myfolder\Invoices
get CODE1.txt 'MYFILE.TEST.CODE1' (REPLACE
quit
BROWSE MYFILE.TEST.CODE1 Line 0000000000 Col 001 080 Command ===> Scroll ===> CSR
********************************* Top of Data *********************************
Line #.Source.Org #.Company Vendor Name.Company Vendor Site.Invoice Number.Invoice
******************************** Bottom of Data *******************************
IP address
userid
password
cd myfolder\Invoices
get CODE2.txt 'MYFILE.TEST.CODE2' (REPLACE
quit
BROWSE MYFILE.TEST.CODE2 Line 0000000000 Col 001 080 Command ===> Scroll ===> CSR
********************************* Top of Data **********************************
Line.Source.Org.Vendor.Site.Inv #.Date.Inv Sign.Inv Amt.Line Sign.Line Amt.Tax.P
1.BR.222.EXPRESS SOMETHING ABC818299323.ISDO322815.20150320.+.139.85.+.13
2.MR.333.EXPRESS SOMETHING DEF818299323.ISDO322815.20150320.+.139.85.+.13
3.VR.444.EXPRESS SOMETHING GHI818299323.ISDO322815.20150320.+.139.85.+.13
4.UR.555.EXPRESS SOMETHING MNO818299323.ISDO322815.20150320.+.139.85.+.13 |
Coded..which after ten years the user should know to do himself
_________________
Ajay