Stored Procedure in Mainframe.

Ask question on - DataBase Concepts, IBM Mainframe DB2, DB2/UDB, DB2 Tools, SQL , DB2 programming with languages like COBOL, PL1.

Moderators: Kalicharan, Moderator Group

Post Reply
SunnyVaijwade
Member
Posts: 4
Joined: Fri Feb 24, 2012 12:05 pm
Location: CHENNAI

Stored Procedure in Mainframe.

Post by SunnyVaijwade » Wed Apr 04, 2012 2:13 pm

Hi Everybody,

Can I use Stored Procedure in Mainframe? from QMF or from PROC?
If yes can you tell me the steps with example.
or any link?
Actually, I am trying to create procedure for clearing check point and file controls, coz evry time i need to do long process to clear,if i create procedure for it and execute ,so i can save the time.


Thanks in Advance.
Thanks and Regards,
Sunny Vaijwade,

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Wed Apr 04, 2012 10:48 pm

What does "clearing check point and file controls" mean?

I am not familiar with this terminology as relates to a database.
Have a good one

SunnyVaijwade
Member
Posts: 4
Joined: Fri Feb 24, 2012 12:05 pm
Location: CHENNAI

Post by SunnyVaijwade » Thu Apr 05, 2012 11:21 am

Thanks DikDude for replying,
Ok can you atleast send me one example of STORED PROCEDURE in Mainframe with steps, how to execute?




Thanks in advance.
Thanks and Regards,
Sunny Vaijwade,

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Thu Apr 05, 2012 2:20 pm

read DB2 for z/OS SPs: Through the CALL and beyond.

yes, that means you are forced to take the time to actually learn something.

this is the mainframe, very little plug and play.

it is more, learn, test, learn, test.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Thu Apr 05, 2012 9:40 pm

Suggest you talk with your dba or some other developer that has implemented a stored procedure on your system. They should know the specifics for your environment.
Have a good one

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others