BookmarkSubscribeRSS Feed
Sahil_Salunke
Fluorite | Level 6

how do I execute .sas program file on SECURE CRT with commands, already tried by using SAS program_name.sas but its wont be worked. Could you please guide complete steps.

5 REPLIES 5
JosvanderVelden
SAS Super FREQ
Can you specify the architecture? Ex SAS runs on a Linux server and connection to the server is done with a windows client where securecrt runs with a connection to the server. The sas program runs in batch mode.
Sahil_Salunke
Fluorite | Level 6
It's a SAS Studio
Release: 3.8 (Enterprise Edition)
SAS release: 9.04
AND
SAS Program files stored on Secure FX Version 9.1.0 (x64 build 2579)
And need to execute SAS program file through SecureCRT Version 9.1.0 (x64 build 2579) terminal commands.
Could you please guide.
Thank you.
Kurt_Bremser
Super User

SecureCRT is just a terminal emulator, it can connect to anything supporting telnet/SSH protocols. The SecureCRT version is irrelevant to the use of SAS.

What we need to know is the operating system of the SAS compute server; if you don't know yourself, ask your SAS administrator(s). Running PROC SETINIT in SAS Studio will also reveal the operating system.

On the compute server, you must use the fully qualified path name for the SAS executable (or sasbatch shell script) and the SAS program; also take care of proper locations for the resulting log and eventual print output (.lst) files.

Sahil_Salunke
Fluorite | Level 6
its showing by using SASINIT
Operating System: LIN X64
It's a SAS Studio
Release: 3.8 (Enterprise Edition)
SAS release: 9.04
AND
SAS Program files stored on Secure FX Version 9.1.0 (x64 build 2579)
And need to execute SAS program file through SecureCRT Version 9.1.0 (x64 build 2579) terminal commands.
how do I find out fully qualified path name for the SAS executable as well as
proper locations for the resulting log and eventual print output (.lst) files
Could you please guide.
Thank you.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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
  • 5 replies
  • 1353 views
  • 2 likes
  • 3 in conversation