About library list in AS/400

335 pts.
Tags:
AS/400
AS/400 Library
Hi, there is a source library for me where I created a module and I binded it to a program with the command 'CRTPGM'. Now I have created the object of that module in the object library. Now my question is how do I need to organize the library list when the things are as following. Input files are in the library suresh Output files and the module is in the object library naresh Could you please let me know how I need to organize my library list

Software/Hardware used:
iseries

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 7  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    How are the objects referenced? If we don't know how they are referenced, we can't know how libraries should be available. Also, what other objects are in the libraries? If any duplicate names of the same object types exist, it could require a change to a library list. What all will run in the same job? If it's a batch job that runs the single program, the library list might be simple. But if it's interactive or many programs might run, the list could be complicated.   Programming might not require anything but QSYS in a library list. Qualified references don't use the library list. If duplicate names don't exist, the organization of a library list makes little difference. If there are relatively few object references and authority lookups, it might make no diffrence at all how the lst is organized.   Most likely, you'll have the library with input files and the library with output files in the user portion of the library list. Put them in whatever order you like. That's about all anyone can say, and there is probably nothing more that will make any difference for your program.   Are you having a problem with this? If so, please explain the problem.   Tom
    125,585 pointsBadges:
    report
  • philpl1jb
    basically the library list should include the libraries of all objects you need to use.  If more than one version of an object exists the process will default to using the one from the first library that it comes to in the list. 
    50,505 pointsBadges:
    report
  • TomLiotta
    ...the libraries of all objects you need to use. I always add the thought "...of all {unqualified} objects" into the concept.   Qualification can improve performance by reducing library lookups and by allowing fewer libraries in the list that must be searched for unqualified objects. It can also improve security by helping ensure that external manipulation doesn't alter objects used.   Tom
    125,585 pointsBadges:
    report
  • philpl1jb
    Unqualified, that's true,  but it made for a choppy sentence, so, I figured I would leave that detail for you.
    50,505 pointsBadges:
    report
  • TomLiotta
    A choppy sentence should be okay... for this question, eh? -- Tom
    125,585 pointsBadges:
    report
  • BigKat
    the only problem with qualified references is when you want to run a different version of the program, such as the new version you want to test, or you want to only run it at one location as a beta when all the locations run as part of the one system.
    8,330 pointsBadges:
    report
  • BigKat
    well, maybe not "ONLY"  LOL  :)
    8,330 pointsBadges:
    report

Forgot Password

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

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following