LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (April 1999, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 14 Apr 1999 21:41:51 +0100
Reply-To:     Peter Crawford <Peter@CRAWFORDSOFTWARE.DEMON.CO.UK>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Peter Crawford <Peter@CRAWFORDSOFTWARE.DEMON.CO.UK>
Subject:      Re: Hardcopies of catalog output entries (VAX VMS)
In-Reply-To:  <s7149c25.062@THIOKOL.COM>

For anyone who needs, or would benefit from catalog access method on SAS v6.09E on MVS or OS/390

see the ftp://ftp.sas.com/techsup/download/technote area, in particular ts556.txt

or see http://www.sas.com/techsup/download/technote/ts556.html

TS-556 CATALOG, FTP, and SOCKET Access Methods for 6.09E, MVS

The CATALOG, FTP, and SOCKET Access Methods are available in TSLEVEL 455 of Release 6.09E on MVS via the FILENAME statement. This initial implementation has an experimental status and will be replaced by the "XX" AMS Access Methods in a future release of The SAS System.

The remainder of the TSnote describes the syntax of each of these methods and provides examples. The catalog access method section gives

Syntax

FILENAME fileref 'pgm=sasreadc' pgmparm = 'filename';

where: fileref is any valid SAS name. filename is the name of a catalog entry (must be four level name).

EXAMPLE 1: Creating a Source Entry

filename myfile 'pgm=sasreadc' pgmparm='sasuser.profile.write.source';

data _null_; file myfile; put 'source statements'; run;

EXAMPLE 2: Using %INCLUDE to Submit Source Code from a Catalog Entry

filename dir 'pgm=sasreadc' pgmparm='sasuser.profile.write.source';

%include dir;

James R. Donat <DONATJR@THIOKOL.COM> writes >I recently posted a question on how to copy a catalog entry of type OUTPUT to an >external file in SCL using SAS 6.09E on VAX VMS (which can then be printed out >using a system command). I got four solutions on doint this, and I'm sharing >them here in hopes that someone else will benefit from them. The solutions are >summarized below: > > > >(4) data step > >Thanks go to Ian Whitlock for this one. This works great if your release of SAS >supports the catalog option in the filename statement (which Release 6.09E does >not). The code Ian used is: > > %macro copyout ( entry= ) ; > filename in catalog "lib.cat.&entry..source" ; > filename out "..." ;

-- Peter Crawford


Back to: Top of message | Previous page | Main SAS-L page