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

Execute Cobol-DB2 program in CICS environment


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

New User


Joined: 06 May 2005
Posts: 20
Location: Bangalore

PostPosted: Tue Jul 12, 2005 7:23 pm
Reply with quote

hi all,

Can we execute Cobol-DB2 program in CICS environment?

what is NEWCOPY command?
Back to top
View user's profile Send private message
kvivek

New User


Joined: 09 May 2005
Posts: 51
Location: Singapore

PostPosted: Tue Jul 12, 2005 7:49 pm
Reply with quote

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
View user's profile Send private message
shriya reddy
Warnings : 1

New User


Joined: 05 Jun 2004
Posts: 43

PostPosted: Sat Jul 16, 2005 8:41 pm
Reply with quote

By Executing this command we can create New Copy

CEMT SET PROG (PROGRAM NAME) NEW
Back to top
View user's profile Send private message
naveensri2005
Currently Banned

New User


Joined: 22 Mar 2005
Posts: 51
Location: chennai

PostPosted: Mon Jul 25, 2005 11:14 am
Reply with quote

hi guys,


u now the answer plz send me with example.




regards,
nav
Back to top
View user's profile Send private message
saanjieev

New User


Joined: 25 Jul 2005
Posts: 4
Location: Mumbai, India

PostPosted: Mon Jul 25, 2005 9:33 pm
Reply with quote

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
View user's profile Send private message
shriya reddy
Warnings : 1

New User


Joined: 05 Jun 2004
Posts: 43

PostPosted: Sun Jul 31, 2005 3:54 pm
Reply with quote

Hi,

you can refresh the load using this command.

CEMT S PROG(PROGRAM NAME) NEW
Back to top
View user's profile Send private message
Nobbi

New User


Joined: 07 Jul 2005
Posts: 3
Location: Germany

PostPosted: Thu Sep 01, 2005 6:43 pm
Reply with quote

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
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 Replace each space in cobol string wi... COBOL Programming 2
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
Search our Forums:

Back to Top