Several commands are available at the Stat/Transfer prompt which are the same as operating system commands. You can also get help from the command line and, if you wish, you can produce a log of your transfer session.
Operating System Commands
You can change directories by typing the cd command, just as you do at the operating system prompt. Note that the cd command given with no parameters will return the current directory.
Changing Drive (Windows)
You can change drives by typing the drive letter followed by a colon, just as you do at the DOS prompt.
You can obtain a list of files by using the dir or ls command. For example,
will list all files with the extension .xls files in the current directory.
Running Other Programs and OS Commands
You can execute operating system commands and run other programs from the Stat/Transfer command line by preceding the program name and arguments with any of the following dos, shell or '!'. For example,
shell del logfile.dat
dos del logfile.dat
You might use the following, allowing you to unzip a file with a command given to Stat/Transfer:
!unzip sasdata.zip mysas1.sd2
where '!' has been used instead of 'dos' or 'shell'*.
A sequence of commands can be entered directly at the Stat/Transfer prompt or stored in a file for batch execution.
You can terminate your Stat/Transfer session by typing 'quit' or 'q'.
Command Processor Help
You can reach online help from the Stat/Transfer command line by typing:
To return to the command line, close the HELP screen.
Help in the Command Processor
You can issue the following commands to get help without leaving the command processor:
help set all
help set general
help set date
help set sas
help set ascii
help set worksheet
To get a list of the available commands, type:
Logging Stat/Transfer Sessions
You can log your transfer session to a file by typing:
LOG USING filename
where filename is the name of the log file.
All of the commands that you enter and all messages from Stat/Transfer will be written to the file.