AOCJOC 샘플 JCL 작업은 SMP/E 테이프 설치를 수행할 때 DB2® 서브시스템에 추출됩니다. 클라이언트 시스템에서 클라이언트 설치 디렉토리의 \serverconfig\ZOS\migration 서브디렉토리에서도 이 샘플 작업을 찾을 수 있습니다.
다음 두 버전의 AOCJOC 샘플 작업을 사용할 수 있습니다.
이주 경로 | JCL 작업 파일 |
---|---|
z/OS®용 DB2 버전 8 새 기능 모드 서브시스템에서 버전 2.2.0.2에서 버전 2.2.1로 Optim Query Tuner 클라이언트 이주 | AOCJOC8N |
z/OS용 DB2 버전 9.1 서브시스템에서 버전 2.2.0.2에서 버전 2.2.1로 Optim Query Tuner 클라이언트 이주 | AOCJOC9 |
다음 예는 AOCJOC9 샘플 작업의 프롤로그를 표시합니다.
//****************** //* AOCTIJC9 //****************** //* Descriptive Name = //* DB2 Installation Job Stream //* //* Licensed Materials - Property of IBM //* 5655-V81 //* COPYRIGHT 2010 IBM Corp. All Rights Reserved. //* //* STATUS = Version 9 //* //* Function = JCL to migrate OQT V2.2.1 DB2 from //* V9 TO DB2 V10 CM9 //* //* Pseudocode = //* AOCEXP Step Alter tables, drop indexes and create indexes //* for user explain tables. //* AOCWCC Step Alter existing WCC tables and define //* additional indexes //* AOCWIA Step Alter existing WIA tables //* AOCSP Step Cretae stored procedures: //* SYSPROC.OPT_RUNSQL //* SYSPROC.OPT_EXECUTE_TASK //* AOCBIND Step Bind QT packages //* AOCGRT Step Grant access on objects created by this job, //* and grant execute on packages //* //* Dependencies = //* //* Notes = //* PRIOR TO RUNNING THIS JOB, customize it for your system: //* (1) Add a valid job card //* (2) Locate and change all occurrences of the following strings //* as indicated: //* (A) '!DSN!' to the subsystem name of your DB2 //* (B) 'DSNTIA!!' to the plan name for DSNTIAD on your DB2 //* (C) 'DSN!!0' to the prefix of the target library for DB2 //* (D) '!AOCPREFX!' to the prefix of target library for QT //* DBRMs //* (E) 'BP8K!' to the default 8K bufferpool //* (F) 'USER!!' user id for individual explain tables //* (G) '!GRANTEE! to one or more authorization IDs that //* need to use stored procedures //* SYSPROC.OPT_RUNSQL and //* SYSPROC.OPT_EXECUTE_TASK