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

Is possible to call subprogram from cobol Stored procedure


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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

Global Moderator


Joined: 21 Sep 2010
Posts: 3048
Location: NYC,USA

PostPosted: Sat Aug 06, 2016 4:28 am
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
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

Global Moderator


Joined: 21 Sep 2010
Posts: 3048
Location: NYC,USA

PostPosted: Mon Aug 08, 2016 4:37 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
Search our Forums:

Back to Top