Question

  Asked: Jul 16 2008   3:57 PM GMT
  Asked by: Tacobell612008


How do I control the library list that is in affect on the remote system using SQLPKG?


iSeries, SQLPKG, Remote access, library

In using SQLPKG, I believe my program is running blind on the remote system. How do I control the library list that is used when the SQLPKG is run?

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



Hi,

The library list comes from the user profile's job description of the user you connect with. If you need to change it, you can use an SQL CALL to run a program to execute the CHGLIBL command.

Or, you can use the DFTRDBCOL and SQLPATH keywords on the CRTSQLRPGI command if you're using SQL naming conventions and SQL functions and procedures.

Rick
  • AddThis Social Bookmark Button

Browse more Questions and Answers on AS/400 and Networking.

Looking for relevant AS/400 Whitepapers? Visit the Search400.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register