05-09-2015 06:18 AM
I am trying to read a mianframes file through SAS but somehow the code is only reading the alternate lines of input data, Is there something I am missing out on.
Here's the SAS Code I have been trying :
FILENAME FIXIT FTP "&FIXEDFILE" host="dipe.ipc.us.xxxx.com"
user="&mfuser." pass="&mfpass." cd='..' RECFM=F LRECL=200;
INFILE FIXIT ;
@04 R_TRANCD $EBCDIC2.
@07 USERCD $EBCDIC2.
@20 TRANSAMT $EBCDIC14.
Could you please suggest.
05-11-2015 04:58 AM
What is the organisation of the file on the mainframe (FB, VB, ...) and the record size?
The log from the data step would be helpful.
filename fixit ftp "'&fixedfile'" .....;
lets you omit the cd='..' option. Note the single quotes inside the double quotes.