Hi everybody,
I am trying to use SAS JobExecution on Viya to launch jobs that are not stored in a folder.
If I write a SAS program and create a job from it I can run the job using both of these syntaxes:
s2) https://viya.xxxx.it/SASJobExecution/?_program=/Users/yyyyy/My%20Folder/test_job_print
and everything is ok, but if I create a job from an interactive import in ‘Manage environment” this job does not reside in a folder so I can't use syntax s2.....
By the way its definition can be found in Environment Manager > Jobs and inside the job properties we can find the jobdefuri (es. 90b5e740-85b0-4411-a47f-68a16152ddc0).
If I execute: https://viya.xxxx.it/jobDefinitions/definitions/90b5e740-85b0-4411-a47f-68a16152ddc0
I correctly obtain the job definition, so the definition is correct, but if I try to execute the job using :
SAS returns error.
Anybody can help me to launch SAS Viya Jobs that are not stored in folder?
Thanks in advance for any tips!
Federica
Thank you very much Greg for you answer.
My job type (the job is created automatically from Data Explore by importing a data) is: "EXPLORER-PROXY" and I can't modify it.
I've tried to pass in the url a different job arguments as:
but it doesn't work
the property tab contains this information:
but the launch with this id returns "job not found".
Thank you very much for any suggestions.
federica
unfortunately not
the jobexecapp log is ok
2021-07-19 17:57:11.399 INFO 4934 --- [0-auto-1-exec-6] com.sas.jobexec.AppController : f.sbrana(xxx) [xxx] Avvio dell’esecuzione - Programma: /jobDefinitions/definitions/90b5e740-85b0-4411-a47f-68a16152ddc0 Utente: f.sbrana
2021-07-19 17:57:13.818 INFO 4934 --- [0-auto-1-exec-6] com.sas.jobexec.AppController : f.sbrana(xxx) [xxx] Esecuzione completata - Programma: /jobDefinitions/definitions/90b5e740-85b0-4411-a47f-68a16152ddc0 Utente: f.sbrana
in jobexecution log I don't find anything about the executions.
It seems that the job execution WebApp can't execute this kind of job becouse the code is not standard sas....
It's a generic error . The job definition is found but it's not able to execute it...
Does it work in your platform?
I've created the job from import frame in SAS Data Explorer clicking on "New job" icon
thank you i'll try with the support
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!