The
following code example sends PostScript output to a file in a UFS
directory on a remote system that you specify with the host option
of the FILENAME statement. The host option specifies the name of the
server that your UFS directory is located on, and the user option
specifies your user ID. The pass option specifies your password. You
can replace pass with the prompt option if you prefer to be prompted
for your password at run time.
The following example
produces output that has a border and contains the text, “Example
Output with recfm=s.”
filename grafout ftp '~username/filename.ps'
host="hostname"
user="username"
recfm=s
pass="user password";
options printerpath=('PostScript Level 2' grafout);
goptions reset=all dev=sasprtc gsfname=grafout gsfmode=replace;
proc gslide border;
title 'Example Output with recfm=s';
run;
quit;
filename grafout clear;