![]() Chapter Contents |
![]() Previous |
![]() Next |
| SAS/GRAPH Software: Reference |
You can use the following methods to transport and convert graphics output within the SAS System:
| Transporting Catalogs across Operating Environments |
Operating Environment Information:
Use communications software or tape to move the transport file. Refer to the documentation for your network or standard procedures for using tape files.![[cautend]](../common/images/cautend.gif)
The SELECT= option in the PROC CIMPORT statement does not affect the order of the imported entries.
This example shows how to port three entries from the catalog MYLIB.GRAPHS.
libname mylib 'SAS-data-library';
filename tranfile 'external-file';
proc cport file=tranfile
catalog=mylib.graphs
select=(GPLOT.GRSEG, GPLOT1.GRSEG, GPLOT3.GRSEG);
run;
libname mylib 'SAS-data-library';
filename tranfile 'external-file';
proc cimport catalog=mylib.graphs
infile=tranfile
select=(GPLOT.GRSEG, GPLOT1.GRSEG, GPLOT3.GRSEG);
run;
filename tranfile 'external-file'; libname newlib 'SAS-data-library'; proc cport file=tranfile catalog=newlib.cmaps select=(mymap.cmap); run;
filename tranfile 'external-file'; libname newlib 'SAS-data-library'; proc cimport infile=tranfile catalog=newlib.cmaps; run;
filename tranfile 'external-file';
libname gfont0 'SAS-data-library';
proc cport file=tranfile
catalog=gfont0.fonts
select=(figures.font);
run;
filename tranfile 'external-file'; libname gfont0 'SAS-data-library'; proc cimport infile=tranfile catalog=gfont0.fonts; run;
filename tranfile 'external-file';
libname gdevice0 'SAS-data-library';
proc cport file=tranfile
catalog=gdevice0.devices
select=(cgm.dev);
run;
filename tranfile 'external-file'; libname gdevice0 'SAS-data-library'; cimport infile=tranfile catalog=gdevice0.devices; run;
| Converting Catalogs to a Different Version of SAS |
Note:
You will not be able to use your old catalogs without
transporting them first. ![[cautend]](../common/images/cautend.gif)
libname v6lib saseb 'SAS-data-library'; libname v7lib 'SAS-data-library'; proc catalog catalog=v6lib.v6cat; copy out=v7lib.v7cat; run;
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.