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: 3076
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: 3076
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 Excuting store procedure via JCL batch JCL & VSAM 1
No new posts Executing DB2 SQL store procedure via... DB2 0
No new posts COBOL sorting, with input GDG base COBOL Programming 7
No new posts Need help with ADABAS query (COBOL-AD... All Other Mainframe Topics 0
No new posts Replacing FILLER with FILLER<SeqNu... DFSORT/ICETOOL 2
Search our Forums:

Back to Top