This is the code I used;
FILENAME f ftp "BCNE.BRYAN.FCBTEST"
host='10.33.255.17' user='PASS' pass='XXXXXX'/*cd='..'*/ debug RECFM=fb lrecl=80;
data _null_;
%let _EFIERR_ = 0; /* set the ERROR detection macro variable */
%let _EFIREC_ = 0; /* clear export record count macro variable */
file f RECFM=FB LRECL=80;;
set T03 end=EFIEOD;
format col1 $80. ;
do;
EFIOUT + 1;
put col1 $ ;
;
end;
if _ERROR_ then call symputx('_EFIERR_',1); /* set ERROR detection macro variable */
if EFIEOD then call symputx('_EFIREC_',EFIOUT);
run;
Can anyone see any issues with it?