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

sas-innovate-white.png

🚨 Early Bird Rate Extended!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Lock in the best rate now before the price increases on April 1.

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
  • 1 reply
  • 418 views
  • 0 likes
  • 2 in conversation