From a VB program I need to attach to the As/400 and retrieve a data file from a specified library. I do not need this to be fancy, I just need the data! Now for the hard part: 1) The AS/400 file has multiple members. 2) The data in the file is variable length. 3) I need to be able to control the positioning of the "CRLF". 4) I need to be able to suppress the "EOF" . 5) The file being created on the PC is a text file. If I use client access to transfer the file, the "CRLF" is placed after the last typed character in each record. The program that will read this file is expecting the "CRLF" to be in a specified position depending upon the record type. (Header, detail, footer) CA/400 also places a "EOF" character at the end of the text file. The program that reads the file will interpret this as an error. I am NOT a VB programmer, and I know just enough to be dangerous. I do know about ODBC. We have VB4.0 and are purchasing 6.0 If you can spare a minute PLEASE, I NEED CODE! Thank you for your help.

Reply With Quote