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: 685
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: 685
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: 7935
Location: Bellevue, IA

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: 7935
Location: Bellevue, IA

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
No new posts CICS to Webservices safexc CICS 1 Sun Jan 22, 2017 5:49 pm
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 2 Thu Jan 19, 2017 1:31 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm


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