I'd like to "run" this job from another program. I'm looking for an include funcionality but for jobs in sas viya 3.5 or higher.
Here's job and its related prompt but I want to prevent the user from accessing the code.
Therefore a caller from another program is highly appreciated.
Hello,
You need a
FILENAME Statement with the FILESRVC Access Method to make a fileref (file reference) pointing to that program.
Suppose your fileref is : abc.
Then do:
options source2;
%INCLUDE abc;
Koen
the "create file reference" option is not available for this kind of file (job). meanwhile this option shows up for .sas files it does not behave like this for jobs.
Sorry.
I thought it was a .sas program, but it is a job indeed.
Should be possible to!
I guess someone else will chime in. If not, I will give it a 2nd look tomorrow.
Thanks,
Koen
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.