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
 

 

cics program calling a cobol-db2 program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> HomeWorks & Requests
View previous topic :: :: View next topic  
Author Message
babruvahana

New User


Joined: 30 Mar 2008
Posts: 10
Location: hyderabad

PostPosted: Wed Dec 10, 2008 4:24 pm    Post subject: cics program calling a cobol-db2 program
Reply with quote

Hi!
I have a CICS-COBOL-DB2 program calling a COBOL -DB2 program and i need instructions to return control back to the calling program . My cobol-db2 program should run in backend.
Back to top
View user's profile Send private message

agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Wed Dec 10, 2008 5:07 pm    Post subject:
Reply with quote

Quote:
My cobol-db2 program should run in backend.

What do you mean by this? Could you please elaborate?
Back to top
View user's profile Send private message
babruvahana

New User


Joined: 30 Mar 2008
Posts: 10
Location: hyderabad

PostPosted: Wed Dec 10, 2008 5:10 pm    Post subject:
Reply with quote

sorry i mean tat there is no cics screen for tat cobol-db2 program.
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Wed Dec 10, 2008 6:38 pm    Post subject:
Reply with quote

Are you facing any problems in using LINK and RETURN keywords for CICS programs?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Wed Dec 10, 2008 6:44 pm    Post subject:
Reply with quote

Do you want the called program to run, halting the screen until it finished, and returns to the calling program -- or do you want the called program to run independently of the calling program so it can display another screen and continue? EXEC CICS LINK works fine in the first case; in the second case you'll need to start a transaction that will run by itself.
Back to top
View user's profile Send private message
babruvahana

New User


Joined: 30 Mar 2008
Posts: 10
Location: hyderabad

PostPosted: Wed Dec 10, 2008 8:41 pm    Post subject:
Reply with quote

thank you agkshirsagar and robert for your replies. roberts first case worked well for me . once again thank u guys
Back to top
View user's profile Send private message
babruvahana

New User


Joined: 30 Mar 2008
Posts: 10
Location: hyderabad

PostPosted: Tue Dec 16, 2008 10:00 pm    Post subject:
Reply with quote

i ran my program but in my back end program(cobol-db2) i update my db2 tables but once i run the transaction the updation is not reflecting in the tables.
There was a heated debate on this issue as i seen from one of the posts but going through the post din help me .
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Tue Dec 16, 2008 11:31 pm    Post subject:
Reply with quote

Suggestion: have the back end program write status information to the CICS message queue so you can ensure everything is happening the way it is supposed to, or trace it through CEDF (or another tool if available). There may be something happening that is preventing the update.
Back to top
View user's profile Send private message
babruvahana

New User


Joined: 30 Mar 2008
Posts: 10
Location: hyderabad

PostPosted: Tue Dec 16, 2008 11:45 pm    Post subject:
Reply with quote

thank u fr the reply robert.
i did check via cedf and the program is getting linked and all sql codes are 0 . but when i check in SPUFII there is no change in the tables
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 -> HomeWorks & Requests All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


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