View previous topic :: View next topic
|
Author |
Message |
gv_narayana_rao
New User
Joined: 21 Feb 2004 Posts: 10
|
|
|
|
Hi,
I want to know about the functionality of NEWCOPY indetail. Can any one help me in this regard. |
|
Back to top |
|
|
mcmillan
Site Admin
Joined: 18 May 2003 Posts: 1210 Location: India
|
|
|
|
Hai,
NEWCOPY is used to reload/refresh your program's current version. All the program variables are initialized to initial state.
Code:
CEMT SET PROGRAM <pgm Nmae> NEWCOPY
Look at the link given below:
NEwcopy:
Code: |
CICS is to use a new copy of the program when the program ceases to be in use by any transaction. (You can determine whether a module is in use from the RESCOUNT option in an INQUIRE PROGRAM command; a value of zero means the program is not in use.) It is possible for CICS to replace the program with the new version during a single transaction, at a point when one use of the program has completed, and a subsequent use has yet to start.
CICS loads the new version either from the DFHRPL library concatenation or uses an LPA-resident version, depending on the PRIVATE or SHARED options. PRIVATE is the default setting.
Note: NEWCOPY cannot be specified for a program specified with the HOLD option or for a JVM program. |
|
|
Back to top |
|
|
gv_narayana_rao
New User
Joined: 21 Feb 2004 Posts: 10
|
|
|
|
mcmillan wrote: |
Hai,
Nice answer and great
|
|
|
Back to top |
|
|
|