MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compressing a Load Library being used by CICS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
MikeBaker
Beginner


Joined: 04 May 2004
Posts: 96
Topics: 9

PostPosted: Fri Oct 01, 2004 12:23 pm    Post subject: Compressing a Load Library being used by CICS Reply with quote

Is there any way of compressing a Loadlib being used by CICS (it's in the DFHRPL) without having to bring CICS down in order to do so??

Thanks.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12394
Topics: 75
Location: San Jose

PostPosted: Fri Oct 01, 2004 1:04 pm    Post subject: Reply with quote

MikeBaker,

Check this link which discusses the exact problem as yours.

http://www.xephon.com/arcinframe.php/c072a07

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MikeBaker
Beginner


Joined: 04 May 2004
Posts: 96
Topics: 9

PostPosted: Fri Oct 01, 2004 7:41 pm    Post subject: Reply with quote

Hi Kolusu,

Thanks very much for your quick reply. Cheers.

However, on that "Xephon" example, the library I want to compress is the USER.PROGRAMS.LOADLIB. The writer does not talk about this one.

Another link http://www.xephon.com/arcinframe.php/c071a02, says the usual; ie: that it's not possible to compress USER.PROGRAMS.LOADLIB'.

The problem doesn't happen very often, it's just a pain when it does. And because I recently discovered that you can successfully rename/delete modules present in active CICS libaries, by using the IDCAMS "FILE" option, I was wondering if there might be some similar tweak available via either Batch Job, REXX, or Assembler program for achieving the desired Compress.

Bouncing CICS seems to be the standard, but it just seems archaic.

Thanks.

Mike.
Back to top
View user's profile Send private message
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Mon Oct 04, 2004 8:56 am    Post subject: Reply with quote

To safely compress a loadlib defined to CICS you should first disable all programs on the loadlib e.g. with CEMT SET PROG(XX*) DIS
Then compress the loadlib (e.g. IEBCOPY it to itself with DISP=SHR)
Then newcopy all the programs in the loadlib CEMT SET PROG(XX*) NEW
Then enable the programs with CEMT SET PROG(XX*) ENA
Back to top
View user's profile Send private message
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Mon Oct 04, 2004 8:58 am    Post subject: Reply with quote

Obviously this is much more cumbersome if your programs have 'messy' names and there are lots of them!
Back to top
View user's profile Send private message
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Mon Oct 04, 2004 9:03 am    Post subject: Reply with quote

You could probably get away without the DISABLE/ENABLE (this might cause a lot of disruption in a production environment) but you might get some errors in the time between the compress starting and the NEWCOPY completing if you were unlucky.
The best solution is to switch to using PDSEs as CICS loadlibs since these are self-compressing but I'd only recommend it if you're on a current level of z/OS (too many bugs/restrictions on older OS/390 levels etc.)
Back to top
View user's profile Send private message
MikeBaker
Beginner


Joined: 04 May 2004
Posts: 96
Topics: 9

PostPosted: Mon Oct 04, 2004 3:09 pm    Post subject: Reply with quote

Thanks Mike.

Our DEV machine was just upgraded to zOS over the weekend, which is fortuitous, because this means I can now investigate the PDSE option. Cheers.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group