Does anyone know where the sample code for the publication SAS 9.3 Stored Process Examples is located at? I am getting back to stp programming after a five year break and would like to bring myself back up to speed by working the examples.
You can view the source for all stored processes by adding the `_debug=list` parameter to the url, eg:
Since 9.3 it was possible to store source code inside the Stored Process metadata, so you won't see code on the filesystem for some examples
Actually, I am looking for the sample code that shipped with the following sas publication https://support.sas.com/documentation/onlinedoc/inttech/9.3/stpex.pdf. Would like to know if it is possible to get my hands on the code and associated support files.
Not directly relevant, but for those interested. You can download the source code for those STPs where the code is stored inside the metadata using this macro.
Usage as follows:
/* compile macros */ filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; /* get the STP code for an stp at /some/meta/path/someSTP and write it to the WORK folder */ %mm_getstpcode(tree=/some/meta/path ,name=someSTP ,outloc=%sysfunc(pathname(work))/myfile.sas )
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.
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.