Date: Thu, 2 Mar 2000 19:50:22 +0000
Reply-To: Peter Crawford <Peter@CRAWFORDSOFTWARE.DEMON.CO.UK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Peter Crawford <Peter@CRAWFORDSOFTWARE.DEMON.CO.UK>
Organization: Crawford Software Consultancy Limited
Subject: Re: %INCLUDE from SAS WORK? (MVS)
Howard Schreier <Howard_Schreier@ITA.DOC.GOV> writes
>Demonstration of catalog access method and %include.
>
>This was run using V 6.12 on Win98, but it the code ought to be
>platform independent.
>
>26 filename democam catalog 'work.anything.output';
>27
>28 data _null_;
>29 file democam;
>30 put 'put "putput";' ;
>31 run;
>
>NOTE: The file DEMOCAM is:
> Catalog Name=WORK.ANYTHING.OUTPUT.CATAMS,
> Catalog Page Size=4096,
> Number of Catalog Pages=6,
> Created=14:02 Thursday, March 2, 2000,
> Last Modified=14:04 Thursday, March 2, 2000
>
>NOTE: 1 record was written to the file DEMOCAM.
> The minimum record length was 13.
> The maximum record length was 13.
>NOTE: The DATA statement used 0.0 seconds.
>
>
>32
>33 data _null_;
>34 %include democam;
>36 run;
>
>putput
>NOTE: The DATA statement used 0.05 seconds.
Unfortunately the catalog access method is experimental on os390/mvs
The syntax is different, but the principles are the same.
I haven't tested it for this objective, but....
for details of the syntax see
ftp.sas.com /techsup/download/technote/ts556.txt (and .html)
TS-556
CATALOG, FTP, and SOCKET Access Methods for 6.09E, MVS
--
Peter Crawford
|