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: 1940
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: 1940
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 Add delay in External stored procedure smenjoge DB2 1 Thu Jul 19, 2018 1:21 am
No new posts SQL IN predicate using COBOL table jerryte DB2 16 Fri Jun 29, 2018 10:30 pm
No new posts Converting SAS code to Cobol or Easyt... Ashish.Raghav All Other Mainframe Topics 6 Fri Jun 29, 2018 6:01 pm
No new posts Can we use a file both as input and o... Chiku kumar COBOL Programming 11 Thu Jun 28, 2018 3:30 pm
No new posts Varying List Select SQL Query In DB2 ... NikhilGuptaGaya DB2 5 Wed Jun 27, 2018 11:01 pm

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