Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Execute Cobol-DB2 program in CICS environment

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Execute Cobol-DB2 program in CICS environment
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    Post subject:
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    Post subject: Re: Execute Cobol-DB2 program in CICS environment
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    Post subject: how to execute cics-db2 program in cics environment
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    Post subject:
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    Post subject: Re: Execute Cobol-DB2 program in CICS environment
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts RULES(NOEVENPACK) in cobol jackzhang75 COBOL Programming 5 Wed Mar 29, 2017 12:47 am
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us