BookmarkSubscribeRSS Feed
mhoward2
Obsidian | Level 7

Is it possible to have an autoexec process flow on SAS Enterprise Guide that runs a bit of a code, then ask the user if the output is accurate before continuing?

 

For example, I have a process flow that uses SAS functions to get dates depening on the day the code is being run. So SAS knows today is 10/31/2023, therefore it automatically creates a variable that assigns a variable like Date_Start_Month = 202310.

 

The question is, can I somehow hit run autoexec, run the code that assigns Date_Start_Month variable, then have a prompt appear that says "Date_Start_Month = 202310. Is this correct?" and then have an option for the user to either hit "Yes" and it will run the rest of the process flow, OR hit "No" and have them be able to change the Date_Start_Month variable themselves.

 

Is this possible? Thanks!

1 REPLY 1
LinusH
Tourmaline | Level 20

I don't think you have this functionality OOTB.

If you want a tailored dialogue I think you need to create a Stored Process application.

You could play around with prompt perhaps, not sure if it will give you the right "feeling" to your use case.

https://documentation.sas.com/doc/en/egcdc/8.3/egdoccdc/egug/n12j9jgq3eejsyn1vmiz90bbu53q.htm#p1vtw0...

https://documentation.sas.com/doc/en/egcdc/8.3/egdoccdc/egug/n07n5c52r46dpfn1odthqfb0ydim.htm#n1rw5w...

Data never sleeps

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 233 views
  • 0 likes
  • 2 in conversation