# RXS_libLEExists() Used to check the existence of a library entry in the library list before using [RXS_addLibLE()](https://isupport.katointegrations.com/rxs/2.x/rxs_addlible.md) to add one. ## Subprocedure Prototype ### IBM i V5R4+ | Field | Description | |---|---| | ` D RXS_libLEExists... D pr 3 0` | Returns '0' if the library is not in the library list, otherwise returns its position. | | ` D pLib 10a value` | **Required** The name of the target library. | | ` D pLibType 10a value options(*nopass)` | **Default Value:** `*USER` |