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

How can i newcopy my cics program?


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

New User


Joined: 15 Feb 2008
Posts: 22
Location: China

PostPosted: Thu Mar 20, 2008 8:52 am
Reply with quote

Hi all,

My program can not be refreshed when i newcopy my program that i have finished my operation!
Anybody konw why? What situation happened make my cics program can not be newcopy!

Waitting you help! Thank you! icon_cry.gif
Back to top
View user's profile Send private message
daye.Zheng

New User


Joined: 15 Feb 2008
Posts: 22
Location: China

PostPosted: Thu Mar 20, 2008 10:02 am
Reply with quote

Anybody konw these?

Please help me as soon as possible! It's important for me!

Whatever you konw, please give me the reply! Thank you very much!
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Thu Mar 20, 2008 11:55 am
Reply with quote

Quote:
Please help me as soon as possible! It's important for me!

By doing multiple posts for same question you may or may not get answer. Whats important for you need not be important for others.

What command you are issuing for new copy?
When you do new copy what message is displayed succesful or invalid?
Back to top
View user's profile Send private message
daye.Zheng

New User


Joined: 15 Feb 2008
Posts: 22
Location: China

PostPosted: Thu Mar 20, 2008 12:17 pm
Reply with quote

The command is succesful.

The new copy is succesful, the program and transaction new copy are succesful.

But, when i run the transaction, the old program be used.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Mar 20, 2008 8:05 pm
Reply with quote

Hello,

You might want to check that the library concatenation is correct.

If your "new" module is in a library that is referenced after a library that contains the "old" version of the module, a newcopy will bring in the old version rather than the one with your changes.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Sun Mar 23, 2008 8:14 am
Reply with quote

daye,

check the concatenation of the libraries as suggested.

If the librarires are in the correct order then NEWC shd work. If it is still not working, try using the CECI LOAD command.
Back to top
View user's profile Send private message
abiyn

New User


Joined: 25 Mar 2008
Posts: 12
Location: Chennai

PostPosted: Tue Mar 25, 2008 3:46 pm
Reply with quote

We have 2 methods to take New Copy.

1. CEMT S PROG(ProgramName) NE

2. CECI LOAD P(ProgramName)

Let me know if you get any problem in this.

Regards
Abi
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Wed Mar 26, 2008 2:23 am
Reply with quote

But, when i run the transaction, the old program be used.

How do you know OLD program is being used?


when you performed CEMT S PROG(ProgramNAme) NE


did the program size change ?
Back to top
View user's profile Send private message
abiyn

New User


Joined: 25 Mar 2008
Posts: 12
Location: Chennai

PostPosted: Wed Mar 26, 2008 10:50 am
Reply with quote

1. Compile ur pgm again and Check whether u have used the proper load library
Note: Make sure that ur CICS region uses that particular load library.

2. Load the program using CECI LOAD P(pgmname)

3. Check the compilation time in the load library.

4. U can view ur pgm in CICS region using debugging tool. Check whether ur changes are reflected. In my case, we use INTERTEST debugging tool.

To use intertest in CICS region:

1. Compile the pgm with intertest option
2. Use LIST=pgmname to view the program in CICS region.


Now it should work. Let me know if you find any issue.

Regards
Abi
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 Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts DB2 Event passed to the Application P... DB2 1
Search our Forums:

Back to Top