Hello
I found this code in my work.
As I see this code is doing export of the table .
I want to ask you what is this way of creating export?
It is my first time that I see it.
Can we also control style of exported table here?
what is the name of this method of exporting?
data _null_;
set output_tbl&mon. end=EFIEOD;
%let _EFIERR_ = 0;
%let _EFIREC_ = 0;
file "Path" delimiter=',' DSD
DROPOVER lrecl=32767;
format score best12. ;
format customers&dec. best12. ;
format obligation&dec. best12. ;
format allowance&dec. 15.2 ;
format customers&mon. best12. ;
format obligation&mon. best12. ;
format allowance&mon. 15.2 ;
if _n_ = 1 then
do;
put
'Score'
','
'Customers DEC'
','
'Obligation DEC'
','
'allowance DEC '
','
'Customers Current month'
','
'Obligation Current month'
','
'allowance Current month'
;
end;
do;
EFIOUT + 1;
put score @;
put customers&dec. @;
put obligation&dec. @;
put allowance&dec. @;
put customers&mon. @;
put obligation&mon. @;
put allowance&mon. ;
;
end;
if _ERROR_ then call symputx('_EFIERR_',1);
if EFIEOD then call symputx('_EFIREC_',EFIOUT);
run;
... View more