Execute a cobol stored procedure in mainframe



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Execute a cobol stored procedure in mainframe

Postby pulsar22 » Wed Sep 25, 2013 9:50 am

Hi,

What are the ways to call/execute a cobol stored procedure in mainframes other than creating a cobol program to call this SP.
I have tried SPUFI with CALL statement, it doesn't work, later found on net that it's not possible through SPUFI.
Someone was mentioning about LUW Command Editor. What is it?
Please provide your inputs.
pulsar22
 
Posts: 34
Joined: Mon Sep 09, 2013 12:39 pm
Has thanked: 14 times
Been thanked: 0 time

Re: Execute a cobol stored procedure in mainframe

 

Re: cALLING A STORED PROC IN mAINFRAME

Postby dick scherrer » Wed Sep 25, 2013 8:52 pm

Hello,

LUW is for Linux, Unix, and Windows - not the mainframe.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: cALLING A STORED PROC IN mAINFRAME

Postby pulsar22 » Wed Sep 25, 2013 9:04 pm

thanks....so only way to execute a stored procedure from mainframe is by calling it from a program?
pulsar22
 
Posts: 34
Joined: Mon Sep 09, 2013 12:39 pm
Has thanked: 14 times
Been thanked: 0 time

Re: cALLING A STORED PROC IN mAINFRAME

Postby Akatsukami » Wed Sep 25, 2013 9:10 pm

I believe that you can run it using the DB2 CALL command.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1053
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: Execute a cobol stored procedure in mainframe

Postby dick scherrer » Thu Sep 26, 2013 12:05 am

Hello,

Rather than find multiple ways to invoke an SP, suggest you learn what is the proper method in your organization.

This is something that has rules in most organizations and one needs to follow them.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post