Online Reorg

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 3

ONLINE REORG OF DATABASE (ABCPDX04)

There is no real JCL for an Online Reorg.


Here are the commands what will need to be entered.
There are Eleven (11) Partitions in this Database.

Use the INITIATE OLREORG command to begin or resume online reorganization of the
specified HALDB partition or partitions

ISSUE COMMANDS IN SDSF


(NO MORE THAN TWO AT A TIME)

(PART#1) (DO NOT DELETE OLD FILE)


|||||| |||||
/INIT OLREORG NAME(ABC4D01) OPTION(NODEL)
/INIT OLREORG NAME(ABC4D02) OPTION(NODEL)
/INIT OLREORG NAME(ABC4D03) OPTION(NODEL)
/INIT OLREORG NAME(ABC4D04) OPTION(NODEL)
/INIT OLREORG NAME(ABC4D05) OPTION(NODEL)
/INIT OLREORG NAME(ABC4D06) OPTION(NODEL)
/INIT OLREORG NAME(ABC4D07) OPTION(NODEL)
/INIT OLREORG NAME(ABC4D08) OPTION(NODEL)
/INIT OLREORG NAME(ABC4D09) OPTION(NODEL)
/INIT OLREORG NAME(ABC4D10) OPTION(NODEL)
/INIT OLREORG NAME(ABC4D11) OPTION(NODEL)

If you Wish to Throttle the OLR:


/UPD OLREORG NAME(ABC4D04) SET(RATE(50))

While they are running, you can display the status to see how things are progressing (how far
along it is, roots count, etc.).
Enter the command: /DIS DB OLR

/DIS DB OLR
D77 DATABASE PART RATE BYTES SEGS ROOTS STARTT
D78 STATUS
D18 ABCPDX04 ABC4D01 100 516365701 1734511 257401 13250/2
D19 RUNNING, OPTNODEL, OPTNOREL
D18 ABCPDX04 ABC4D02 100 77573464 261460 38038 13250/2
D19 RUNNING, OPTNODEL, OPTNOREL
X99 *13250/230524*

To display the status of the database:


/DIS DB ABCPDX04
D71 DATABASE TYPE TOTAL UNUSED TOTAL UNUSED ACC CONDITIONS
D01 ABCPDX04 PHIDAM UP
D01 ABC4D01 PART UP ALLOCS
D01 ABC4D02 PART UP ALLOCS
D01 ABC4D03 PART UP ALLOCS
D01 ABC4D04 PART UP ALLOCS
D01 ABC4D05 PART UP ALLOCS
D01 ABC4D06 PART UP ALLOCS
D01 ABC4D07 PART UP ALLOCS
D01 ABC4D08 PART UP ALLOCS
D01 ABC4D09 PART UP ALLOCS, OLR
D01 ABC4D10 PART UP ALLOCS, OLR
D01 ABC4D11 PART UP ALLOCS

WATCH FOR THIS MESSAGE BEFORE STARTING THE NEXT PARTITION:


20:22:07 DFS2974I OLR COMPLETED FOR NAME=ABC4D01 MASTER=ABCPDX04

IF YOU HAVE A SPACE ABEND:


1. INCREASE SPACE
2. ISSUE "/INIT" COMMAND AGAIN, IT WILL RESUME FROM WHERE IT STOPPED

IF YOU HAVE SERIOUS TROUBLE!:

/TERM OLREORG NAME(ABC4D08) <<= TRY THIS FIRST

(FORCE) WILL PREVENT A BACKOUT NEEDED


/TERM OLREORG NAME(ABC4D08) OPTION(FORCE)

(ABORT) BACKOUT MAY BE NEEDED


/TERM OLREORG NAME(ABC4D08) OPTION(ABORT)

=======================================================================

DFS0832I ABEND U3303 REASON CODE 4020 PARTITION ABC4D03


DFS3324I 21:59:09 TRAN RES01PAB SUSPENDED.

DFS0844I DFSDVSM0 ABC4D03 DATASET FULL, DDNAME=ABC4D03L


DFS0844I DFSDVSM0 ABC4D03 DATASET FULL, DDNAME=ABC4D03L

You might also like