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
 
Is possible to call subprogram from cobol Stored procedure

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

New User


Joined: 17 Jun 2010
Posts: 75
Location: Chennai

PostPosted: Fri Aug 05, 2016 6:46 pm    Post subject: Is possible to call subprogram from cobol Stored procedure
Reply with quote

hi Friends,
I have a normal batch cobol program and cobol stored procedure.
I got -927 error while calling normal batch cobol pgm from stored procedure
Is it possible to call subprogram from cobol Stored procedure ?
Please help me ,if you can resolve this issue
Back to top
View user's profile Send private message

Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 2117
Location: NY,USA

PostPosted: Sat Aug 06, 2016 4:28 am    Post subject:
Reply with quote

Why do you need to call a Batch program from SP?
Talk to DBA first and find out the all the cross environments set up is in place as they both gets executes in different address space.
-927
Back to top
View user's profile Send private message
cmsmoon

New User


Joined: 17 Jun 2010
Posts: 75
Location: Chennai

PostPosted: Mon Aug 08, 2016 10:37 am    Post subject:
Reply with quote

Rohit Umarjikar wrote:
Why do you need to call a Batch program from SP?
Talk to DBA first and find out the all the cross environments set up is in place as they both gets executes in different address space.
-927


Yes.I need to call subprogram to perform some process like date conversion or table insert.They both working same environment...
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 2117
Location: NY,USA

PostPosted: Mon Aug 08, 2016 4:37 pm    Post subject:
Reply with quote

they cannot hence talk to DBA.
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
No new posts Can we pass cobol pointer to cobol-db... rohanthengal DB2 4 Tue Mar 19, 2019 1:04 pm
No new posts Call DB2 user defined function from C... Ziko13 DB2 5 Thu Mar 14, 2019 4:46 pm
No new posts z/VM z/VSE Get CPU-time of a COBOL Ba... Andi1982 COBOL Programming 2 Mon Mar 11, 2019 3:36 pm
No new posts COBOL Table Question GAPX1 COBOL Programming 3 Thu Mar 07, 2019 9:48 pm
No new posts How to resolve sqlcode of CALL ATTACH... maxsubrat DB2 3 Fri Feb 22, 2019 11:54 am

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