I never called a SAS program from SimStudio, but I would try the following:
Use SAS Program Block, triggering SAS code execution at the end of the simulation day with the InSubmitCode port.
Use InQueueData or InServerData ports together with Stats Collector Blocks or Dataset Writer Block to provide data from SimStudio to the SAS program.
Use Dataset Holder Block to read data into SimStudio provided by the SAS program.