/**********************************************************************/


libname inlib 'c:\saslib';
filename out 'c:\trans.dat';

proc cport file=out library=inlib;
run;


/**********************************************************************/


libname newlib 'c:\saslib';
filename in 'c:\trans.dat';

proc cimport infile=in library=newlib;
run;


/**********************************************************************/


filename mycgm 'c:\yourdir \filename.ext';
libname g604 'c:\your-604-directory';
goptions gsfname=mycgm noprompt gsfmode=append
         device=cgm;

proc greplay nofs;
   igout g604.graphs;
   replay _all_;       /* or list of entries               */
run;


/**********************************************************************/


filename mycgm 'c:\yourdir\filename.ext';
libname g608 'c:\your-608-directory'; 

proc gimport fileref=mycgm filetype=cgm format=binary
             gout=g608.graphs;
run;


/**********************************************************************/


libname trans sasv5xpt 'c:\trans.dat';
libname library 'c:\formats';

proc format library=library cntlout=trans.myfmts;
run;


/**********************************************************************/


libname trans xport 'c:\trans.dat';
libname newlib 'c:\fmtlib';

proc format library=newlib cntlin=trans.myfmts;
run;


/**********************************************************************/