View previous topic :: View next topic
|
Author |
Message |
praneethgokul
New User
Joined: 06 May 2005 Posts: 20 Location: Bangalore
|
|
|
|
hi all,
Can we execute Cobol-DB2 program in CICS environment?
what is NEWCOPY command? |
|
Back to top |
|
|
kvivek
New User
Joined: 09 May 2005 Posts: 51 Location: Singapore
|
|
|
|
Quote: |
Can we execute Cobol-DB2 program in CICS environment? |
Yes
Quote: |
what is NEWCOPY command? |
Looks for the load module in the order of load datasets defined and copies the first retrieved load module to CICS memory.
Regards,
Vivek |
|
Back to top |
|
|
shriya reddy Warnings : 1 New User
Joined: 05 Jun 2004 Posts: 43
|
|
|
|
By Executing this command we can create New Copy
CEMT SET PROG (PROGRAM NAME) NEW |
|
Back to top |
|
|
naveensri2005 Currently Banned New User
Joined: 22 Mar 2005 Posts: 51 Location: chennai
|
|
|
|
hi guys,
u now the answer plz send me with example.
regards,
nav |
|
Back to top |
|
|
saanjieev
New User
Joined: 25 Jul 2005 Posts: 4 Location: Mumbai, India
|
|
|
|
All right,
As you know that NEWCOPY option is available on CEMT. Actually, you can try it, yourself by giving transaction id CEMT only, on CICS terminal. It will display four/five options like SET, INQUIRE etc. Under SET many suboptions for every resource type like PROGRAM, FILE, TRANSACTION, CONNECTION, TSQ etc are available. Then after selecting the resource you can do NEWCOPY.
Consider this case: Program ABC is running under CICS. Now you have done some changes in ABC. And you have compiled the program again. New loadmodule has been stored in CICSLOAD library.
When we bring up the CICS, generally in morning, or anytime for testing, it loads all the programs listed in PPT. So, you know that oldcopy of ABC is active. But we need recompiled load module. That's why we give NEWCOPY.
Hope this is enough. |
|
Back to top |
|
|
shriya reddy Warnings : 1 New User
Joined: 05 Jun 2004 Posts: 43
|
|
|
|
Hi,
you can refresh the load using this command.
CEMT S PROG(PROGRAM NAME) NEW |
|
Back to top |
|
|
Nobbi
New User
Joined: 07 Jul 2005 Posts: 3 Location: Germany
|
|
|
|
CEMT S PROG(PROGRAM NAME) NEW...
or CEMT S PROG(PROGRAM NAME) PHASEIN
is better, if the Program is in use! If the Program is in use, the "NEW" will fail, the "PHASEIN" will execute, when the Program ist freed!
Nobbi |
|
Back to top |
|
|
|