Dear All,
Can you please help me out of this issue.
I hacve created sample.sas program, please find the program below.
sample.sas program :
data a;
input a $5.;
datalines;
hello
howru
;
proc sql;
select a into :id separated by ',' from a ;
quit;
data _null_;
call system('export var="&id."');
run;
I have created samp.sh program , here i am executing the sample.sas program and print the output from SAS program in UNIX environment. I am not getting the result.
*shell Script:
samp.sh
#!/usr/bin/ksh
sas sample.sas
echo $var
Could you please help me out about the above issue. I have used X command as well.
Thanks In Advance.
Best Regards