Problem while compressing the dataset in production



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Problem while compressing the dataset in production

Postby PRASAD » Tue Jul 08, 2008 9:15 am

We have faced a problem while compressing the dataset in production.

What exactly happend

-Compress the dataset with 'Z' option ( huge dataset)
-after a while, disconnected the system
-it went to concel status before compression process completed
-the dataset has corrupted

We can do compress in batch mode using 'IEBCOPY' but if job fails during exection, results in corrupted dataset.
Looking forward for better approach to handle the situation. :D
PRASAD
 
Posts: 4
Joined: Mon Jul 07, 2008 11:28 am
Has thanked: 0 time
Been thanked: 0 time

Re: Problem while compressing the dataset in production

 

Re: BESTWAY OF COMPRESSING DATASET

Postby dick scherrer » Tue Jul 08, 2008 9:23 am

Hello,

First - backup the dataset.

Second, run the compress in batch, not online.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: BESTWAY OF COMPRESSING DATASET

Postby PRASAD » Tue Jul 08, 2008 10:02 am

Yes...thanks agian.
PRASAD
 
Posts: 4
Joined: Mon Jul 07, 2008 11:28 am
Has thanked: 0 time
Been thanked: 0 time

Re: BESTWAY OF COMPRESSING DATASET

Postby dick scherrer » Tue Jul 08, 2008 12:15 pm

You're welcome - good luck :)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post