|
> We have NS router to connect to AS/400. I am facing with a problem. I >have a file in which the last field is character field. Some records >contain blanks in the last field. When I am downloading the data to DOS as >text file, I am not getting the last field if it is blank. For example, >suppose there are two records with > >123 aaa 15 asdf >100 as 11 > > The fourth field in the second record is blank. When I am downloading >this to DOS as text file and checking, I am getting carriage return for the >first record after 'asdf' and for the second record immediately after 11. >Instead I shoudl get carriage return after 11 <blanks> > > I tried to do FTP. EVen this also gave me same result. I suspect there >is some problem while transferring data from AS to DOS or to any other >platform. When I am downloading data to DOS using NS Transfer utility, it >has 7 Disk Output Options > >ASCII Text >DOS Random >Basic Sequential >Basic Random >DIF >No Conversion >DOS Random type 2 > > I am specifying ASCII Text. Is there any solution for this problem? >Any help is grately appreciated. Thanx in advance for the help / >suggestions. You need to have an output file type that allows for fixed length text where the trailing blanks are not truncated. Synapse (free demo at www.synapse.com) has such a feature in their file transfer. Netsoft took their display and printer software but wrote their own file xfer so this is a place where there is product differentiation. Synapse also supports dBase download so that the data dictionary is extracted from the DDS specs and comes down with the data. Tech support is free and upgrades are free. Regards, Jerry * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. Questions * * should be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.