Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Execute COBOL Stored Procedure

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
ssowmya

New User


Joined: 10 Oct 2006
Posts: 40

PostPosted: Fri Nov 24, 2006 12:21 pm    Post subject: Execute COBOL Stored Procedure
Reply with quote

Hi

Could anyone please let me know how to execute a COBOL stored Procedure???

Thanks & Regards
Sowmya
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Fri Nov 24, 2006 2:12 pm    Post subject: Re: Execute COBOL Stored Procedure
Reply with quote

Quote:
how to execute a COBOL stored Procedure???

Are you talking about Copybooks ?
Back to top
View user's profile Send private message
surya_pathaus

Active User


Joined: 28 Aug 2006
Posts: 110

PostPosted: Fri Nov 24, 2006 2:20 pm    Post subject: Re: Execute COBOL Stored Procedure
Reply with quote

Hi,

You can execute Stored Proc using DB2 CONNECT. It is an IBM tool.

Thru JCL also you can execute stored proc as like COBOL DB2 program.
But you need to do few changes to execute.

1) Because whatever inserted into Temporary Table cannot be viewed. So you need to add a file to view the records which are inserted into Temp Table.
Back to top
View user's profile Send private message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Mon Nov 27, 2006 12:44 pm    Post subject: Re: Execute COBOL Stored Procedure
Reply with quote

Hello,

A stored procedure is written in 4th generation language. i.e, SQl. It is usually located in server location (OS). You can connect from mainframes via Connect statement in Sample Cobol or any other language.
Syntax is like this
Exec SQL
Connect <Location>
End-exec.
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 -> COBOL Programming 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 to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us