riskassure
Programmer
Hi, I have the following code that works on my PC SAS software:
filename indat FTP 'data.txt' debug
HOST = 'abc.efg.org'
USER = 'username'
PASS = 'mypassword'
RECFM = f
LRECL = 9;
data tempdata;
infile indat;
input MyVar $8.;
run;
Basically, it's reading a sequential data file, with one variable of length 8. There is also a carriage return between every two consecutive records.
It gave me about 50,000 records. When I copied the exact same code onto the mainframe (TSO) and ran it, it gave me the same number of record without any error. However, when I opened the datafile to view the data, all I saw was blank.
Does anyone know what is going on?
Thanks in advance!
Chi
~~CW~~
filename indat FTP 'data.txt' debug
HOST = 'abc.efg.org'
USER = 'username'
PASS = 'mypassword'
RECFM = f
LRECL = 9;
data tempdata;
infile indat;
input MyVar $8.;
run;
Basically, it's reading a sequential data file, with one variable of length 8. There is also a carriage return between every two consecutive records.
It gave me about 50,000 records. When I copied the exact same code onto the mainframe (TSO) and ran it, it gave me the same number of record without any error. However, when I opened the datafile to view the data, all I saw was blank.
Does anyone know what is going on?
Thanks in advance!
Chi
~~CW~~