Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
This topic is locked: you cannot edit posts or make replies. DB2 for Z/OS(set up environment) Pavan kumar chauhan DB2 1 Tue Dec 05, 2017 8:03 pm
No new posts Is CICS BMS logic on z/OS different ... Andi1982 CICS 2 Fri Dec 01, 2017 1:56 pm
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us