Hi, I agree with Bruno, usually, there isn't a lot of need to have a stored process call another stored process. Instead, you might have some SAS Macro programming conditional logic to call a macro program based on some condition.
Stored Process 1 shows a list of customers and their customer ID, then, every customer's ID number is a hyperlink to Stored Process 2 that shows all the purchases made by that customer.
For this example, the program behind Stored Process 1 has to build the appropriate URL to invoke Stored Process 2 when the person viewing the first output decides to click to drill-down to see the results of running Stored Process 2.
So it depends on whether you want your program to call various bits of code conditionally (use Macro Programs) or whether you want the end-user to be able to interact with the stored process results in order to perform the equivalent of a drill-down.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.