Library List

pts.
Tags:
Development
How can I verify if a curtain library exists in the *LIBL?

Answer Wiki

Thanks. We'll let you know when a new response is added.

What is a Curtain library? Do you mean Current Library?

Discuss This Question: 6  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
  • ShonMalone
    I'm pretty sure a current library always exists. Type DSPLIBL and Enter from the command line. It will show you your library list. The entry with a type of "CUR" is your current library list. To change it, type CHGCURLIB from the command line, prompt it, and enter the library you want to be current. Hope this helps. Shon
    0 pointsBadges:
    report
  • WLT000
    How to see if a CERTAIN library is in you library list. /* see if library MyLib is in the library list */ ADDLIBLE LIB(MyLib) POSITION(*LAST) MONMSG MSGID(CPF2103) EXEC(DO) RCVMSG CHGVAR VAR(&INLIBL) VALUE(Y) GOTO CMDLBL(ENDLIBLCHK) ENDDO RMVLIBLE LIB(MyLib) CHGVAR VAR(&INLIBL) VALUE(N) ENDLIBLCHK:
    0 pointsBadges:
    report
  • WaltZ400
    You will not see a *CUR library on your library list if your profile has *CRTDFT as the default for current library. Any commands that access or create objects in *CURLIB in this case will default to QGPL.
    655 pointsBadges:
    report
  • Byimw02
    You can scan the system, current library and user library lists of a job using the RTVJOBA command from the appropriate parameters to look for a specific library or libraries using the QCLSCAN function. This also can be done in a HLL program using the appropriate API and a scan function. Check the Program and CL Command API manual for the specific examples.
    0 pointsBadges:
    report
  • JustMe2
    I assume you want to know if a "specific" lib is available. If that is what you want you can do if defined ...
    0 pointsBadges:
    report
  • Fanbot
    In a CLLE pgm RMVLIBLE LIB(libname) MONMSG CPF0000 ADDLIBLE LIB(libname) POSITION(position) MONMSG CPF0000 The libray name can also be code as a variable
    0 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