You do not need to read this document if you are installing IT Charge Manger for the first time.
This document explains how to migrate your IT Charge Manger Release 2.0 (ITCM 2.0) that is currently running under SAS Version 6 to IT Charge Manager Release 2.3 (ITCM 2.3) running under SAS Version 8. Please read through the instructions before acting on them, because the choices may make a difference at your site.
For example, if c:\sas6\addon\cpe\chm\ec\ecsite\ec_sites.sd2 is the site definition data set for ITCM 2.0, the MS-DOS command for making a backup copy in a new location, c:\backup, is
COPY c:\sas6\addon\cpe\chm\ec\ecsite\ec_sites.sd2 c:\backup
You will need to replace the default site definitions data set provided by ITCM 2.3 with this backup data set. A later section in this document will walk you through the process of recovering your site definitions in ITCM 2.3.
The first time you use ITCM 2.3, it will create a default SASUSER library, however, you may have information contained in your ITCM 2.0 SASUSER library and would like to continue to use it for ITCM 2.3. Below are the instructions to copy the contents of the ITCM 2.0 SASUSER library to the ITCM 2.3 library.
OPTIONS SOURCE NOTES;
LIBNAME SASUSER LIST;
PROC DATASETS DD=SASUSER;
RUN;
2 LIBNAME SASUSER LIST;
NOTE: Libref= SASUSER
Engine= V612
Filefmt= 607Physical Name= d:\SAS6\Addon\cpe\chm\ec\sasuser
3 PROC DATASETS DD=SASUSER;
-----Directory-----
Libref: SASUSER
Engine: V612
Physical Name: d:\SAS6\Addon\cpe\chm\ec\sasuser# Name Memtype Indexes
-----------------------------------------------------1 EIS CATALOG
2 MBUSER DATA YES
3 PARMS CATALOG
4 PROFILE CATALOG
5 PROFILE2 CATALOG
6 SASMBC DATA YES
7 SASMBI DATA4 RUN;
NOTE: Do not invoke SAS Version 8 by launching ITCM 2.3. Although the option exists to exit out of ITCM only and stay in SAS, the SASUSER library would be locked and could not be modified.
LIBNAME olduser 'location-of-your-ITCM 2.0-SASUSER-library' ACCESS=READONLY;
LIBNAME newuser 'location-of-your-ITCM 2.3-SASUSER-library';
PROC COPY IN=olduser OUT=newuser;
RUN;
Below are the instructions of copying the contents of the ITCM 2.0 site libraries to the ITCM 2.3 site libraries.
- On an OS/390 server host:
If your ITCM 2.0 site prefix is OLDSITE, you should find the site libraries as following:
- OLDSITE.EC.AUTO
- OLDSITE.EC.DATA
- OLDSITE.EC.LIB
- OLDSITE.EC.SCNTL
- OLDSITE.EC.SITE
- On an NT server host:
If your ITCM 2.0 site prefix is c:\oldsite, you should find the site libraries as following:.
- c:\oldsite\ec
- c:\oldsite\ec\auto
- c:\oldsite\ec\data
- c:\oldsite\ec\lib
- c:\oldsite\ec\scntl
- c:\oldsite\ec\site
- On an OS/390 server host:
Run IEFBR14 or use ISPF 3.2 to allocate space for the ITCM 2.3 site libraries. You will need to allocate the libraries as below for each site. You may use the same DCB= as the one for the ITCM 2.0 library for allocation. If your ITCM 2.3 site prefix is NEWSITE, allocate space for:
- NEWSITE.EC.AUTO
- NEWSITE.EC.DATA
- NEWSITE.EC.LIB
- NEWSITE.EC.SCNTL
- NEWSITE.EC.SITE
- On an NT server host:
If your ITCM 2.3 site prefix is c:\newsite, create the following directories:
- c:\newsite\ec
- c:\newsite\ec\auto
- c:\newsite\ec\data
- c:\newsite\ec\lib
- c:\newsite\ec\scntl
- c:\newsite\ec\site
- On an OS/390 server host:
- Start with OLDSITE.EC.DATA and OLDSITE.EC.SITE. These two libraries contain SAS objects such as catalogs, data sets, and views. The SAS COPY procedure is used to convert the SAS objects from Version 6 to Version 8.
Invoke SAS Version 8 on the server host, type the following statements in the Program Editor window. Edit the location of your ITCM site library and submit the edited code for the two libraries respectively.
LIBNAME oldlib 'location-of-your-ITCM 2.0-site-library' DISP=SHR;
LIBNAME newlib 'location-of-your-ITCM 2.3-site-library';
PROC COPY IN=oldlib OUT=newlib;
RUN;For example, if OLDSITE.EC.SITE is your ITCM site library, the edited statements should be
LIBNAME oldlib 'OLDSITE.EC.SITE' DISP=SHR;
LIBNAME newlib 'NEWSITE.EC.SITE';
PROC COPY IN=oldlib OUT=newlib;
RUN;If you check the ITCM 2.3 site libraries at this point, you should see SAS Version 8 objects, such as catalogs, data sets, and views, converted from the corresponding SAS Version 6 objects in the old site libraries.
- For the rest of the old site libraries, such as OLDSITE.EC.SCNTL and OLDSITE.EC.SLG, you need to use ISPF 3.3, IEBCOPY, or IEBGENER in a batch job to copy the contents to the new site libraries. Depending on the data processed into your old site libraries, you may find that some of the libraries are empty.
- On an NT server host:
- Start with c:\oldsite\ec\data and c:\oldsite\ec\site. These two libraries contain SAS objects such as catalogs, data sets, and views. The SAS COPY procedure is used to convert the SAS objects from Version 6 to Version 8.
Invoke SAS Version 8 on the server host, type the following statements in the Program Editor window. Edit the location of your ITCM site library and submit the edited code for the two libraries respectively.
For example, if c:\oldsite\ec\site is your ITCM site library, the edited statements should be
LIBNAME oldlib 'c:\oldsite\ec\site' ACCESS=READONLY;
LIBNAME newlib 'c:\newsite\ec\site';
PROC COPY IN=oldlib OUT=newlib;
RUN;If you check the ITCM 2.3 site libraries at this point, you should see SAS Version 8 objects, such as catalogs, data sets, and views, converted from the corresponding SAS Version 6 objects in the old site libraries.
For the rest of the old site libraries, such as c:\oldsite\ec\scntl and c:\oldsite\ec\slg, you need to either use the MS-DOS command or Windows Explorer to copy the contents to the new site libraries. Depending on the data processed into your old site libraries, you may find that some of the libraries are empty.
For example, if c:\oldsite\ec\scntl is the site library, the MS-DOS command for copying the contents of the old site library to the new site library is
COPY c:\oldsite\ec\scntl\*.* c:\newsite\ec\scntl
In the Preparation section earlier, you successfully migrated your PDBs from SAS Version 6 to SAS Version 8. If you check the contents of the new Version 8 PDB, you should see nine standard ITSV libraries, e.g., detail, day, and so on, in the new PDB library. If in doubt, check with your site's IT Service Vision administrator or the person who migrated the IT Service Vision environment from SAS Version 6 to SAS Version 8.
The following steps describe how to migrate the PDB contents that are ITCM-specific from the Version 6 PDB to the new Version 8 PDB.
- On an OS/390 server host:
Run IEFBR14 or use ISPF 3.2 to allocate space for the ITCM PDB libraries. You may use the same DCB= as the one for the ITCM 2.0 library for allocation. If your Version 8 PDB locates at NEWPDB, allocate space for:
- NEWPDB.EC.CNTL
- NEWPDB.EC.PDB
- NEWPDB.EC.SUSP
- NEWPDB.EC.WORK
- On an NT server host:
If your Version 8 PDB locates at c:\newpdb, create the following directories:
- c:\newpdb\ec
- c:\newpdb\ec\cntl
- c:\newpdb\ec\pdb
- c:\newpdb\ec\susp
- c:\newpdb\ec\work
- On an OS/390 server host:
- In your Version 6 PDB, for example, OLDPDB, you should have three libraries, OLDPDB.EC.PDB, OLDPDB.EC.SUSP, and OLDPDB.EC.WORK. These libraries contain SAS objects such as catalogs, data sets, and views. You will need to run the SAS COPY procedure to convert the SAS objects from Version 6 to Version 8. Depending on the data processed into your old PDB libraries, you may find that some of the libraries are empty.
Invoke SAS Version 8 on the server host and type the following statements in the Program Editor window. Edit the locations of your PDB libraries and submit the edited code for the three libraries respectively.
LIBNAME oldpdbec 'location-of-your-ITCM 2.0-PDB-library' DISP=SHR;
LIBNAME newpdbec 'location-of-your-ITCM 2.3-PDB-library';
PROC COPY IN=oldpdbec OUT=newpdbec;
RUN;If OLDPDB.EC.PDB is your old PDB library, the edited statements should be
LIBNAME oldpdbec 'OLDPDB.EC.PDB' DISP=SHR;
LIBNAME newpdbec 'NEWPDB.EC.PDB';
PROC COPY IN=oldpdbec OUT=newpdbec;
RUN;If you check the Version 8 PDB libraries at this point, you should see SAS Version 8 objects, such as catalogs, data sets, and views, converted from the corresponding SAS Version 6 objects in the old PDB libraries.
- For the rest of the libraries, such as OLDPDB.EC.CNTL, OLDPDB.EC.PLG, and OLDPDB.EC.SEQ, you need to use ISPF 3.3, IEBCOPY, or IEBGENER in a batch job to copy the contents to their corresponding libraries in the NEWPDB. For instance, use ISPF3.3 to copy OLDPDB.EC.CNTL to NEWPDB.EC.CNTL.
- On an NT server host:
- In your Version 6 PDB, for example, c:\oldpdb, you should have three libraries, c:\oldpdb\ec\pdb, c:\oldpdb\ec\susp, and c:\oldpdb\ec\work. These libraries contain SAS objects such as catalogs, data sets, and views. You will need to run the SAS COPY procedure to convert the SAS objects from Version 6 to Version 8. Depending on the data processed into your old PDB libraries, you may find that some of the libraries are empty.
Invoke SAS Version 8 on the server host and type the following statements in the Program Editor window. Edit the locations of your PDB libraries and submit the edited code for the three libraries respectively.
LIBNAME oldpdbec 'location-of-your-ITCM 2.0-PDB-library' ACCESS=READONLY;
LIBNAME newpdbec 'location-of-your-ITCM 2.3-PDB-library';
PROC COPY IN=oldpdbec OUT=newpdbec;
RUN;If c:\oldpdb\ec\pdb is your old PDB library, the edited statements should be
LIBNAME oldpdbec 'c:\oldpdb\ec\pdb' ACCESS=READONLY;
LIBNAME newpdbec 'c:\newpdb\ec\pdb';
PROC COPY IN=oldpdbec OUT=newpdbec;
RUN;If you check the Version 8 PDB libraries at this point, you should see SAS Version 8 objects, such as catalogs, data sets, and views, converted from the corresponding SAS Version 6 objects in the old PDB libraries.
- For the rest of the libraries, such as c:\oldpdb\ec\cntl, c:\oldpdb\ec\plg, and c:\oldpdb\ec\seq.sas, you need to use either the MS-DOS command or Windows Explorer to copy the contents to the new PDB libraries.
For example, if c:\oldpdb\ec\cntl is the PDB library, the MS-DOS command for copying the contents of Version 6 PDB library to the new PDB library is
COPY c:\oldpdb\ec\cntl\*.* c:\newpdb\ec\cntl
You may skip this section if you do not have the Account View extract file of ITCM 2.0.
The following are instructions of migrating your Account View extract file from ITCM 2.0 to ITCM 2.3:
Invoke SAS Version 8 of Windows and type the following statements in the Program Editor window. Edit the directories where your Account View extract files locate and submit the edited code.
LIBNAME oldav 'directory-where-your-ITCM 2.0 Account View-extract-file-locates' ACCESS=READONLY;
LIBNAME newav 'directory-where-your-ITCM 2.3 Account View-extract-file-locates';
PROC COPY IN=oldav OUT=newav;
RUN;
LIBNAME olddef 'directory-which contains-the-backup-ec_sites-table' ACCESS=READONLY;
LIBNAME newdef 'drive:\[SAS Version 8 Install Path]\cpe\chm\ec\ecsite';
PROC COPY IN=olddef OUT=newdef;
SELECT EC_SITES;
RUN;
- Change the IT Charge Manager Site Prefix to refer to the same site prefix that you decided earlier at step 2 of the section called Your Site Libraries for IT Charge Manager in this document.
- Modify the IT Service Vision SITELIB to reflect the SAS Version 8 ITSV site library.
- Verify that the logon script file is valid for invoking SAS Version 8 on the server.
- If your site resides in a local Windows environment, you would need to change the CPUSEROPT data set to the one for SAS Version 8 ITSV.
For OS/390 server, you must disconnect from the site in ITCM 2.3 for the Data Base Definition job to complete. ITCM 2.3 automatically detects this and presents a window to facilitate the disconnection as soon as you submit the job.
- For Consolidation,
- Press Operation tab at the ITCM 2.3 main window. Select Consolidate Data.
- Select a proper invoice period and click on Apply selections and Edit, Manual Submit. You should see the window of Edit and Submit CONSOL Batch Job.
- Verify the code and make necessary modifications.
- Save the batch job. If appropriate, you may submit the job via the Submit pull-down menu at this time.
- Repeat steps a through d for other invoice periods.
- For To-date Consolidation,
- Press Reports tab at the ITCM 2.3 main window. Select To-date Consolidation.
- Select a proper invoice period and click on Apply selections and Edit, Manual Submit. You should see the window of Edit and Submit CONSOLz Batch Job.
- Verify the code and make necessary modifications.
- Save the batch job. If appropriate, you may submit the job via the Submit pull-down menu at this time.
- Repeat steps a through d for other invoice periods.
- For Standard Invoices,
- Press Operation tab at the ITCM 2.3 main window. Select Run Standard Invoices.
- Select a proper invoice period and click on Apply selections and Edit, Manual Submit. You should see the window of Edit and Submit SCHRPT Batch Job.
- Verify the code and make necessary modifications.
- Save the batch job. If appropriate, you may submit the job via the Submit pull-down menu at this time.
- Repeat steps a through d for other invoice periods.
- For To-date Reporting,
- Press Reports tab at the ITCM 2.3 main window. Select To-date Reporting.
- Select a proper invoice period and click on Apply selections and Edit, Manual Submit. You should see the window of Edit and Submit todate Batch Job.
- Verify the code and make necessary modifications.
- Save the batch job. If appropriate, you may submit the job via the Submit pull-down menu at this time.
- Repeat steps a through d for other invoice periods.
- For Site Configuration,
- Press Reports tab at the ITCM 2.3 main window. Select Site Configuration.
- Click on Apply selections and Edit, Manual Submit. You should see the window of Edit and Submit conrpt Batch Job.
- Verify the code and make necessary modifications.
- Save the batch job. If appropriate, you may submit the job via the Submit pull-down menu at this time.