BookmarkSubscribeRSS Feed
acordes
Rhodochrosite | Level 12

I have a job defined with _action parameters "prompts, execute" which works fine in SAS Studio. 

But the same job within JobExecution environment gives an error because the form's data-driven selectors do not populate saying "data soruce not found". 

My example follows @XavierBizoux ' s great series about job execution and input forms.

https://communities.sas.com/t5/SAS-Communities-Library/Create-a-SAS-Viya-Job-with-a-prompt-using-Tas... 

The work folder and sashelp are available for the job's form, but the caslibs are not assigned. 

I've tried to assign them in a separate job before calling the form, no success. 

I've put the html lines into a data _null_ step to ensure that the caslib is already assigned, but I don't have a clue about what output_type to define when mixing sas code in the job with the html form...

 

2 REPLIES 2
acordes
Rhodochrosite | Level 12
I've found the solution to my problem, it has to do with the compute context.

Working with Dynamic Data in Prompts and HTML Forms
https://go.documentation.sas.com/doc/en/pgmsascdc/v_017/jobexecug/n1cl67g4y8t1ofn14i0e8iqdhk2k.htm
jins
Fluorite | Level 6

Is dynamic drop downs possible in  SAS VIYA 3.5? Were you able to load the drop down from a sas data set in  SAS Viya 3.5?

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1095 views
  • 0 likes
  • 2 in conversation