Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 72
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: 1653
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: 72
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: 1653
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 RULES(NOEVENPACK) in cobol jackzhang75 COBOL Programming 4 Wed Mar 29, 2017 12:47 am
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Query on DB2 WLM stored procedures ashek15 DB2 8 Sun Feb 12, 2017 11:13 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us