• Print  |
  • Feedback  |

Tips and Techniques for Using HTML Formatting Tools

This page includes tips and hints that other users have found useful. If you have tips that you think others could use, please let us know.

Using the Macro Syntax

Invoking the Formatters Interactively

Creating Custom Property Lists

Syntax:

FILENAME fileref FTP 'external-file' ftp-options;

where

fileref
is a valid fileref.
FTP
is the access method.
'external-file'
is the name of the file to read from or write to on the remote host machine.
ftp-options
can be any of the following:
USER='username'
where username is used to login to the FTP server.
HOST='host'
where host is the network name of the remote host with an FTP server running. You can specify either the name of the host or the IP address of the machine.
PASS='password'
where password is the password to use with the user name specified in the USER option.
RCMD='command'
where command is the command to send to the FTP server.

Here's an example of using the FTP access method used with the Tabulate formatter:

  filename myfile ftp "/u/myfile.html"
     user="your-userid" pass="your-pswd" host="your-domain" 
     rcmd="ascii" rcmd="site umask 002";
     .
     .
     .
  %tab2htm(capture=off,
           htmlfref=myfile,
           ...);

where

umask 002
provides read access to others. You may need to specify a different UMASK setting for your FTP server. Contact your site administrator for information about your particular UMASK setting.
URL Access:
Do not use the following URL access method for HTML output, as the URL access method does not allow write access:
  filename myfile url 'http://mydomain/myfile.html';
           .
           .
           .
  %tab2htm(htmlfref=myfile,
           ...);

Note: z/OS is the successor to the OS/390 and MVS operating systems. SAS/IntrNet 9.1 for z/OS is supported on the MVS, OS/390, and z/OS operating systems and, throughout this document, any reference to z/OS also applies to OS/390 and MVS, unless otherwise stated.