IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to unload program from CICS region


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
peerless_guy4u

New User


Joined: 13 Jul 2006
Posts: 9

PostPosted: Mon Oct 27, 2008 12:40 pm
Reply with quote

Hi all,

Could u please help me out,
Is there any command in CICS thru which we can unload program from CICS Online region.

We can load using CECI I LOAD PROG(XYZ)

For unloading the SAME............. ????

Thanks in Advance
:D
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Oct 27, 2008 1:30 pm
Reply with quote

I am afraid to ask... are you sure you understand the meanning of CICS's LOAD?

O.
Back to top
View user's profile Send private message
peerless_guy4u

New User


Joined: 13 Jul 2006
Posts: 9

PostPosted: Mon Oct 27, 2008 4:20 pm
Reply with quote

Sorry to say but this query was to know is there any command to unload a Program from CICS online region,

"Understanding is other than Sharing your knowlegde with some one is need of help"
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Mon Oct 27, 2008 5:03 pm
Reply with quote

If a program was loaded with HOLD, using RELEASE will release the HOLD on the program. However, in the pure sense of what you're asking, the only way to "unload a program from CICS" is the bring the region down and back up. CICS programs are loaded into memory upon first reference (or when a LOAD command is issued) and typically remain there until CICS determines, in a system process that you the application programmer has absolutely no control over, that the program can be removed from memory due to another program being loaded. Unless it's a region with lots of programs or very big programs, most programs when loaded will stay there in memory until the region comes down.
Back to top
View user's profile Send private message
peerless_guy4u

New User


Joined: 13 Jul 2006
Posts: 9

PostPosted: Mon Oct 27, 2008 5:41 pm
Reply with quote

Thanks alot, Actually i have load a new program in CICS region which was impacting the current functionality. Thanks Once Again
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Mon Oct 27, 2008 5:43 pm
Reply with quote

Hopefully your promotion process makes a backup of the old program before it it copied into the load library. if so, you can copy the old program from backup into the CICS DFHRPL library (load library) and then do a NEWCOPY to get back to the old version. Otherwise, you could have a bit of a problem since bringing the region down and back up will only keep the program out of memory until it is referenced.
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Mon Oct 27, 2008 9:29 pm
Reply with quote

Sounds like you failed to have a recovery plan in your promotion process

Contact your CICS Systems Technical support group. They have the
experience in fixing these situtaions.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Remote Unload of CLOB Columns DB2 6
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Calling an Open C library function in... CICS 1
Search our Forums:

Back to Top