Page 1 of 1

Execute a cobol stored procedure in mainframe

PostPosted: Wed Sep 25, 2013 9:50 am
by pulsar22
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.

Re: cALLING A STORED PROC IN mAINFRAME

PostPosted: Wed Sep 25, 2013 8:52 pm
by dick scherrer
Hello,

LUW is for Linux, Unix, and Windows - not the mainframe.

Re: cALLING A STORED PROC IN mAINFRAME

PostPosted: Wed Sep 25, 2013 9:04 pm
by pulsar22
thanks....so only way to execute a stored procedure from mainframe is by calling it from a program?

Re: cALLING A STORED PROC IN mAINFRAME

PostPosted: Wed Sep 25, 2013 9:10 pm
by Akatsukami
I believe that you can run it using the DB2 CALL command.

Re: Execute a cobol stored procedure in mainframe

PostPosted: Thu Sep 26, 2013 12:05 am
by dick scherrer
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.