By using below code:
data a;
set b;
run;
systask command "/sas/abcd/sasgsub -GRIDWAITRESULTS -GRIDSUBMITPGM /sasdata/path/CODE/sas_code.sas -GRIDRESULTSDIR /sasdata/path/LOG" taskname=Oracle1A status=auths;
data c;
set b;
run;
exicuting good, RC=0 but getting below error: (it's trying to copy to "/sasgrid/SASBASEP/config/Lev2/SASBaseApp/sas_code.log." which i didn't specify anywhere.
> Grid job complete.
> 889562 (sas_code) is Finished: Submitted: 10Aug2023:00:53:26, Started: 10Aug2023:00:53:30 on Host dpds1222a, Ended:
10Aug2023:00:53:31, RC:0
> Moving job information to
"/sasdata/path/LOG/SASGSUB-2023-08-10_00.53.26.852_sas_code"
>
> Copying log and output to current directory.
> Grid job return code is 0 (0x0)
> ERROR: Insufficient authorization to access /sasgrid/SASBASEP/config/Lev2/SASBaseApp/sas_code.log.
NOTE: LOG/Output from task "Oracle1A"
is there a way:-
-GRIDWAITRESULTS is copying folder (SASGSUB-2023-08-10_00.53.26.852_sas_code) which has code, log, Job info. Is there a way where it can copy only log.
Folder & other details in folder not required.
Thanks.