SQL stored procedure setup guidelines for WebSphere environment

SQL stored procedure on iSeries setup guidelines for WebSphere environment.

1. When you restored the development library to another machine or install new Web application with stored procedure,

you need to issue following command:

GRTOBJAUT OBJ(program library/*all) OBJTYPE(*PGM) USER(*Public

or, connected userprofile) AUT(*USE) for *PGM object GRTOBJAUT OBJ(database library/*all) OBJTYPE(*FILE) USER(*Public

or, connected userprofile) AUT(*CHANGE) for database(PF & LF) maintenance.

2. Create the user jobd for connected user used and modify the library list include all related *PGM and database librarys.

CRTDUPOBJ OBJ(QDFTJOBD) OBJTYPE(*JOBD) TOLIB(your library) NEWOBJ(your JOBD)
CHGJOBD (your JOBD) INILIBL(all of *PGM and database library)
CHGUSRPRF USRPRF(connected user) JOBD(your JOBD)

3. Test your application

4. Use WRKOBJLCK OBJ (connected user profile) OBJTYPE(*USRPRF) to check the connected user's operation.

Sometime you need END the QZDAINIT job for reconnection.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Ask your Web development questions--or help out your peers by answering them--in our live discussion forums.

The Best Web Links: tips, tutorials and more.

Check out this live Q&A with Dave Slater and Jim Mason, How to best get started with WebSphere Development Tools.

Search400's targeted search engine: Get relevant information on machine interface (MI).


This was first published in May 2002

Dig deeper on Web Development

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchEnterpriseLinux

SearchDataCenter

Close