View previous topic :: View next topic
|
Author |
Message |
vbhat
New User
Joined: 29 Apr 2005 Posts: 38
|
|
|
|
what is the new copy in cics? |
|
Back to top |
|
|
priya
Moderator
Joined: 24 Jul 2003 Posts: 568 Location: Bangalore
|
|
|
|
Used to UPDATE the load module in the CICS LoadLibrary.
CECI SET PROGRAM abcd NEWCOPY |
|
Back to top |
|
|
Ram_k
New User
Joined: 28 Apr 2005 Posts: 5 Location: Chennai
|
|
|
|
Hi,
New copy is just to bring in the recent loadmodule into cics region.. |
|
Back to top |
|
|
maverick05
New User
Joined: 14 Apr 2005 Posts: 54 Location: Earth
|
|
|
|
Hi Priya,
I think its CEMT SET PROGRAM(PROGRAM-NAME)NEWCOPY
butnot CECI......
Thanks
Venkat |
|
Back to top |
|
|
shymalasridevi
New User
Joined: 03 May 2005 Posts: 16
|
|
|
|
we will use to newcopy along with CEMT transaction to update our loadlib
af ter doing some changes in ur pgm
syntax
CEMT SET prg(pgm name) NE |
|
Back to top |
|
|
jwell rymbei
New User
Joined: 14 Dec 2005 Posts: 22 Location: India
|
|
|
|
Hi,
I am trying to do a new copy CEMT SET PROG (ABCD) NEW.
I am getting response not normal and proganme name (ABCD) not
found. This programe (ABCD) is a new program. Do we need to add
any entries in any tables. I don't have much new knwoledge on CICS.
Can any body tell me what do I need to look.
Thanks,
Jwell |
|
Back to top |
|
|
arunjosephaj
New User
Joined: 21 Mar 2006 Posts: 20 Location: India
|
|
|
|
To Jwell:
You have to enter the program details using the CEDA transaction into PCT or Program Control Table. You may also have to declare the TransID details to use tht program.
CEDA DEFINE PROG(program-name) GROUP..etc..
To Others:
NEWCOPY will give an error if the program is currently runnig..
PHASEIN wont give tht error but moves the program after it terminates in different phases.. |
|
Back to top |
|
|
gskulkarni
New User
Joined: 01 Mar 2006 Posts: 70
|
|
|
|
You know what, all of this could have been figured out if you just had taken troubles to read manuals before logging into forum and posting questions and waiting for their answers. So simple a question? i can't beleiev you had to post a question in forum for it! |
|
Back to top |
|
|
manoj_june1973
New User
Joined: 20 May 2006 Posts: 8
|
|
|
|
i have a transaction name, how i will know the program name associated to that transaction. |
|
Back to top |
|
|
morrisjmm
New User
Joined: 15 May 2006 Posts: 3 Location: Pennsylvania, USA
|
|
|
|
Just a note here, If your CICS region is setup to do auto-install you need not define the program to the regions CSD. Also you will get the not found on the CEMT newcopy if the program has not been executed since the CICS region has started.
To find the name of the program the transaction is to execute enter
CEMT INQ TRAN(4-char-tran=id) |
|
Back to top |
|
|
manoj_june1973
New User
Joined: 20 May 2006 Posts: 8
|
|
|
|
HI I HAVE A QUESTION ON NEWCOPY .
IF I MODIFY A CICS PROGAM AND RECOMPILE AND PUT THE LOAD MODULE IN THE CICS LOAD LIB. THEN IS IT REQUIRED TO TAKE NEW COPY USING CEMT IN THE CICS ? IF YES WHY, I ALREADY COPY THE THE MODIFIED LOAD MODULE TO CICS LOAD LIB. |
|
Back to top |
|
|
gskulkarni
New User
Joined: 01 Mar 2006 Posts: 70
|
|
|
|
After being loaded once any subsequent reload will be from the library location now stored in the internal CICS tables. Using NEWCOPY sets a flag in the internal table to tell CICS to go back to the library directory for the next load of the program, and thus get the new copy of the program. (If the program is being used conversationally the old copy will be used until each current conversation finishes, new conversations will use the new program)
Long and short of this is, once the program is loaded in cics library and executed for the first time in CICS, until next cics region recycle, the program is loaded in cache (or temporary memory like bufferpool, if u want to simplyfy ur understanding). All subsequent calls to program will refer to the load module loaded in this cache. Doing newcopy will suspend this cache load module and cics will fetch a fresh copy of that program from its load library.
And that is why, even if you recompile the program and load it to cics load lib, for cics to get this latest version, NEWCOPY is required. Otherwise whenever prog is called in CICS its old version will be picked up from cache.
However, this problem seldom occurs if your shop uses changeman as version controller. The ChangeMan job to promote teh component to cics region automatically does a NEWCOPY. |
|
Back to top |
|
|
|