I need to receive a file from Unix server in Binary format via connect direct into a Mainframe VB file. After the file transfer onto Mainframe the records are coming onto the same line.i.e say Record1 and Record 2 in Unix is coming onto Mainframe as a single record until it reaches the record length.Once the length exceeds it spills over to the next record.
The same file when transferred in text format having /n (unix new line char) via connect direct is coming properly into separate records at Mainframe end.Could you pls let me know why new lines work with Text format transfer in connect direct and does not work for Binary format transfer ? Also is there a command that needs to be specified for binary transfer in connect direct that would help having new records in Mainframe.
From Mainframe to Unix transfers I have previously used for text transfer; '0D25' and for BINARY transfer '0D0A'.Is there some data that needs to added at UNIX end that will have similar effect to the files received on Mainframe.