![]() | ![]() | ![]() | ![]() | ![]() |
The documentation for migrating SAS IT Resource Management applications from SAS 8 to SAS 9 should include the following links:
http://support.sas.com/documentation/onlinedoc/itsv/migrateto9.pdf http://support.sas.com/rnd/migration/procmigrate/execution/special_3264cat.html
To perform the migration, first make sure that the latest SAS IT Resource Management 2.7 hot fix is applied:
http://www.sas.com/techsup/download/hotfix/itrm27.html#013901
Next, in the file tcpunix.scr, you must add the command that you use to invoke SAS 8. Here is an example:
/TECH/SOL8/sas
On a UNIX or Windows server host, create directories for the SAS 9 PDB and its libraries. You can create them by using the UNIX/Windows GUI (from the main window, select the QuickStart Wizard or the Create PDB Wizard), or by using the SAS IT Resource Management %CPSTART macro in a SAS batch process, or by using the mkdir command at the operating system prompt. If your PDB name is pdb, for example, then you will need to create the following directories:
/my/pdb or c:\My\Pdb /my/pdb/dictlib or c:\My\Pdb\Dictlib /my/pdb/detail or c:\My\Pdb\Detail /my/pdb/day or c:\My\Pdb\Day /my/pdb/week or c:\My\Pdb\Week /my/pdb/month or c:\My\Pdb\Month /my/pdb/year or c:\My\Pdb\Year
Then use the following program as an example:
options remote=server_name; /* machine name of where SAS 8 is installed */ filename rlink '/TECH/SOL.V9.1.3/SAS_9.1/misc/connect/tcpunix.scr'; signon; libname v8lib '/saswork/user_id/cho/ftp' server=server_name; %cpstart(mode=batch, root=/TECH/SOL.V9.1.3/SAS_9.1/saspgm/cpe, pdb=/TECH/SOL.V9.1.3/SAS_9.1/saspgm/cpe/pdb-pcs, access=readonly); %cpdbcopy (/saswork/user_id/cho/ftp,/saswork/user_id/cho/chopdb,slibref=v8lib); %cpstart(/saswork/user_id/cho/chopdb,access=write);
If SAS/CONNECT® is not available on the server where SAS 8 is installed, submit the following program:
%cpstart(mode=batch, root=/TECH/SOL.V9.1.3/SAS_9.1/saspgm/cpe, pdb=/TECH/SOL.V9.1.3/SAS_9.1/saspgm/cpe/pdb-pcs, access=readonly); %cpdbcopy (/saswork/user_id/cho/ftp,/saswork/user_id/cho/chopdb); %cpstart(/saswork/user_id/cho/chopdb,access=write);
Run PROC CPORT from a SAS 8.2 session:
libname v8lib v8 '/saswork/user_id/cho/ftp/dictlib'; proc cport library=v8lib file='~/pdb8.xpt' memtype=cat; run;
Finally, from a SAS 9 session, run the following program:
libname v9lib '/saswork/user_id/cho/chopdb9/dictlib'; proc cimport library=v9lib infile='~/pdb8.xpt' memtype=cat; run;
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | SAS OnlineDoc for Windows | 64-bit Enabled AIX | 9.1 TS1M3 | |
64-bit Enabled Solaris | 9.1 TS1M3 | |||
64-bit Enabled HP-UX | 9.1 TS1M3 |