View previous topic :: View next topic
|
Author |
Message |
ashishsr123
New User
Joined: 06 May 2008 Posts: 33 Location: Chennai
|
|
|
|
COBOL DB2 Stored Procedures
Hi All,
Are ther any pointers(clues) in the programs which can tell us that, the given program is DB2 stored procedure ? And is called by a online application ?
Regards,
Ashish |
|
Back to top |
|
|
die7nadal
Active User
Joined: 23 Mar 2005 Posts: 156
|
|
|
|
There need not be any difference within the code. We have programs which we call as cobol routine as well as Stored procedures. It depends on the way you call it. If a SP is called from a COBOL program, you issue the call statement like this
Code: |
EXEC SQL
CALL STORPROC (:ARG1,:ARG2)
END SQL |
[/code] |
|
Back to top |
|
|
|