...it display only list of user library list i want all system library...
The simplest way is to use the DSPOBJD command to create a list of all user libraries in a temporary database file. Then read the records from that file in your RPG program.
The command might look like this:
DSPOBJD OBJ(*ALLUSR) OBJTYPE(*LIB) OUTPUT(*OUTFILE) OUTFILE(QTEMP/USRLIB)
You could also call the List Objects (QUSLOBJ) API and request a very similar list into a user space instead of a database file. No CL is needed for that, but it can be more complex.
Not quite sure what you are asking.
You can see the library list for an interactive job via the DSPLIBL or EDTLIBL commands. You can see the library list for a batch job via the WRKJOB command, and then take option 13. Or, to see a list of libaries that exist on a system, you can use the DSPOBJD command, and look for *ALL objects in library QSYS with object type *LIB.