Evaluate Weigh the pros and cons of technologies, products and projects you are considering.

Schedule a stored procedure to be executed

How do I schedule a stored procedure to be executed in the iSeries server? As a matter of fact, stored procedure cannot be called by CL. However, is there any similar way to automate the procedure instead of getting into the SQL Manager to run it?
The easiest way would be to use the RUNSQLSTM CL command and then have that command just reference a source member containing an SQL CALL statement.


Visit the ITKnowledge Exchange and get answers to your DB2 questions fast.

Check out this Search400.com Featured Topic: Expert advice on DB2

Search400.com's targeted search engine: Get relevant information on DB2/400.

The Best Web Links: Tips, tutorials and more.

This was last published in November 2004

Dig Deeper on DB2 UDB (universal databases)

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.