IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to write a Embedded sql in cobol and compile,execute....


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
PrasadV

New User


Joined: 21 Mar 2004
Posts: 8
Location: Chennai

PostPosted: Wed Mar 24, 2004 5:36 pm
Reply with quote

Hi Guys,

1. Pls. let me know how to write an Embedded SQL in cobol with an example program.

Also let me know the procedure (step by step) to compile and execute the program to view my results.

2. How can we write procedures/functions? how to invoke them from cobol.
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 237
Location: USA

PostPosted: Mon Mar 29, 2004 12:28 pm
Reply with quote

Hello PrasadV,

Check out following link for more details

Code:
http://www.pdc.kth.se/doc/SP/manuals/db2-5.0/html/db2a0/db2a002.htm


Hope this helps

Regards
Mayuresh Tendulkar
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts IDCAMS listcat service using cobol JCL & VSAM 1
No new posts Make cobol variable value a variable COBOL Programming 3
No new posts how to convert and use 1 bit hex-numb... COBOL Programming 10
No new posts VB file copy COBOL program gives erro... COBOL Programming 3
No new posts Cobol program to determine the sequen... COBOL Programming 2
Search our Forums:

Back to Top