Saves the contents of the Program Editor window as a member of
a CMS MACLIB
FILEMAC member maclib <REP |
- is the name of the MACLIB member. Data from the Program
Editor window is written to 'member COPY A', which is then stored
in the MACLIB member. If member is longer than 8 characters the
name will be truncated.
- is the filename of the MACLIB to be created or updated with
the specified member. If 'maclib MACLIB *' doesn't
exist, it will be created on the A disk.
- If a file 'member COPY A' already exists, it
will not be replaced. If the MACLIB already contains member,
it will not be replaced. The FILEMAC command will not write the contents of
the Program Editor window. NOREP is the default.
- The contents of the Program Editor window will be written
to the specified MACLIB member even if a member of that name already exists
or if 'member COPY A' already exists.
The FILEMAC command provides a means of saving the contents
of the Program Editor window to a specified member of a CMS MACLIB.
The FILEMAC command is implemented as an autocall macro, so its use
requires setting the SAS system options CMDMAC and MAUTOSOURCE.
- Ensure that lines in the Program Editor window do not
exceed 80 characters in length.
Because MACLIBs have a record
length of 80, any longer records will be truncated.
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.