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

How to reload a sub moudle in a main line program?


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

New User


Joined: 16 Apr 2006
Posts: 16
Location: BeiJing, China

PostPosted: Sat Jul 28, 2007 8:36 am
Reply with quote

Main line PGM: BR0000, a application main line PGM
Sub_PGM : BR0026

Main line PGM is permanently resident in CICS. Now any changes in PGM BR0026, we all need to link the PGM BR0026 to BR0000, then bring down BR0000 and newcopy BR0000, bring up BR0000 again. In this period, we can't process any transactions.

When I change the PGM BR0026, how to release the PGM BR0026 from CICS, only new copy the PGM BR0026, no need bring down the application BR0000.
Back to top
View user's profile Send private message
bryan-yang

New User


Joined: 16 Apr 2006
Posts: 16
Location: BeiJing, China

PostPosted: Sat Jul 28, 2007 8:41 am
Reply with quote

The PGM BR0026 in main line PGM BR0000 as the below:
...
01 WA-PGM-BR0026 PIC X(8) VALUE "BR0026 ".
...
CALL WA-PGM-BR0026 USING STARTAREA

...
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Sat Jul 28, 2007 12:31 pm
Reply with quote

Is there a CEMT I PROG(BR0026) entry?
What does it show?
Back to top
View user's profile Send private message
bryan-yang

New User


Joined: 16 Apr 2006
Posts: 16
Location: BeiJing, China

PostPosted: Sun Jul 29, 2007 6:58 am
Reply with quote

Here is the Info. of CEMT I PROG(BR0026).

I PROG(BR0026)
STATUS: RESULTS - OVERTYPE TO MODIFY
Prog(BR0026 ) Leng(0000000000) Cob Pro Ena Pri Ced Dyn
Res(000) Use(0000000000) Any Uex Ful Qua Cic
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Sun Jul 29, 2007 3:03 pm
Reply with quote

Have you tried to CEMT S PROG(BR0026) NEWC to newcopy the module?
Back to top
View user's profile Send private message
bryan-yang

New User


Joined: 16 Apr 2006
Posts: 16
Location: BeiJing, China

PostPosted: Tue Jul 31, 2007 2:51 pm
Reply with quote

Since the PGM BR0016 is called by main line PGM BR0000(The main task don't end untill EOD), it's rescount > 1. I can't newcopy it. So main problem is how to set the rescount to ZERO.
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Wed Aug 01, 2007 12:19 am
Reply with quote

Get rid of the CALL and make it a CICS LINK, then you will be able to
make changes and do a newcopy without any problems.
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 Write line by line from two files DFSORT/ICETOOL 7
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top