sasjs / core

Macros for SAS® App Developers
https://core.sasjs.io
MIT License
119 stars 17 forks source link

Bug mv_createfile #334

Open FromSASStudioBailey opened 1 year ago

FromSASStudioBailey commented 1 year ago

Viya Version = Stable 2023.02, from a SAS Studio window I ran the code below. End goal to copy the file Define_Core.sas from one Viya file service folder to another. When I run the code below I get the attached log called Log For Allan.txt error.

filename mc url point at sasjs core; %inc mc;

filename sendfrom filesrvc folderpath='/Public/OverTheShoulder_ LOG FOR ALLAN.TXT SAS_Studio/SendTo_OTS_Build_GLM_Template' filename='Define_Core.sas';

OPTIONS MERROR SYMBOLGEN MLOGIC MPRINT;

%mv_createfile(path=/Users/sasuser1/My Folder/Junk Test,name=Define_Core.sas,inref=sendfrom,mdebug=1) ;

filename sendfrom clear;