View previous topic :: View next topic
|
Author |
Message |
babruvahana
New User
Joined: 30 Mar 2008 Posts: 10 Location: hyderabad
|
|
|
|
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 |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
Quote: |
My cobol-db2 program should run in backend. |
What do you mean by this? Could you please elaborate? |
|
Back to top |
|
|
babruvahana
New User
Joined: 30 Mar 2008 Posts: 10 Location: hyderabad
|
|
|
|
sorry i mean tat there is no cics screen for tat cobol-db2 program. |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
Are you facing any problems in using LINK and RETURN keywords for CICS programs? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
babruvahana
New User
Joined: 30 Mar 2008 Posts: 10 Location: hyderabad
|
|
|
|
thank you agkshirsagar and robert for your replies. roberts first case worked well for me . once again thank u guys |
|
Back to top |
|
|
babruvahana
New User
Joined: 30 Mar 2008 Posts: 10 Location: hyderabad
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
babruvahana
New User
Joined: 30 Mar 2008 Posts: 10 Location: hyderabad
|
|
|
|
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 |
|
|
|