Topic
  • 10 replies
  • Latest Post - ‏2019-06-26T12:04:22Z by SFerrell
LeeParker
LeeParker
5 Posts

Pinned topic RDi LIbrary Lists

‏2018-11-29T19:09:22Z |

When I need to add a library to the library list in the RSE perspective, I go to Commands -> Add library to library list.  Usually I do this because a command I prompt in the editor can't be found and adding the schema resolves the error.  I've done that today, but the editor still cannot find the command.  I thought maybe the library wasn't added, but when I attempt to add it again, it states that the library is already in the list.  When I go to the command window to run DSPLIBL, the schema is not in the list.  I then thought that I might be misspelling the command, so I qualified it and the prompt showed immediately.  Am I doing something wrong?  What list is the library being added to?

  • SFerrell
    SFerrell
    14 Posts

    Re: RDi LIbrary Lists

    ‏2018-12-03T14:25:58Z  

    Hi Lee,

    The library is being added locally to the list, but it doesn't impact the Interactive session you start with STRRSESVR NAME(systemname).

     

    To effect that library list go to the connection properties by right-clicking on the connection name, select properties, then select the Subsystems property.

     

    Type the name you wish to add in Library, and press enter. (Select where in the list you want, by default it's *LAST).

     

    Now, retry the STRRSESRV command and your library should show up in the list.

     

  • LeeParker
    LeeParker
    5 Posts

    Re: RDi LIbrary Lists

    ‏2018-12-03T20:16:07Z  

    Thanks.  But I'm not trying to affect any interactive session.  I'm editing a source member in RSE.  When I attempt to compile it, it cannot find a command in a particular schema.  Prior to 9.6.0.4, to resolve this, I would simply go to the command node, then "add library to library list" and run the compile successfully.  This isn't happening now.  The library has been added to the library list of whatever job the node is interacting with, but not the job that's running the compile.

  • SFerrell
    SFerrell
    14 Posts

    Re: RDi LIbrary Lists

    ‏2018-12-04T11:39:32Z  
    • LeeParker
    • ‏2018-12-03T20:16:07Z

    Thanks.  But I'm not trying to affect any interactive session.  I'm editing a source member in RSE.  When I attempt to compile it, it cannot find a command in a particular schema.  Prior to 9.6.0.4, to resolve this, I would simply go to the command node, then "add library to library list" and run the compile successfully.  This isn't happening now.  The library has been added to the library list of whatever job the node is interacting with, but not the job that's running the compile.

    Hi Lee,

     

    Please open a PMR with IBM support so we can look into the issue.

     

    In the mean time, please follow the steps I supplied by adding the library to the connection subsystem library list. The compile jobs should use that new library list.

  • Andreas Bott
    Andreas Bott
    46 Posts

    Re: RDi LIbrary Lists

    ‏2018-12-17T09:38:21Z  

    Hi Lee,

     

    after Add Command you have to Refresh the Libarylist. (Right Click ob Libary List and Refresh or F5). the you see the actual Libary List.

     

    Use the Right Click on Libary List - "Add to Libary List" instead of he Command

    Perhaps this can help you.

     


     

  • dw-LINYUSA2018
    dw-LINYUSA2018
    3 Posts

    Re: RDi LIbrary Lists

    ‏2019-06-25T19:06:37Z  

    Hi Guys, 

    This has started to happen to me after we applied ptf and cumms 

    I have a command in "Initial Command" setup of RDi to set initial library list for Development area. It has been working fine all this time. And now suddenly it is having issue. 

    As a company policy all user have production library list in our user profile / Initial program to call.

    As a IBM i developer, I set my RDi to set library list for Development area. This has been working fine. Bu suddenly stopped working. 

    I have a command which executes a CL program which executes CHGLIBL to set library list for Development environment.

    I execute same command in Green screen to change to Development area.

    The RDi , command log shows it run successfully. 

    But Library list on RSE panel does not change.

    I have refreshed Library list after restarting RDi. I have change from command to "CALL mylibrary/CLPPgm" but nothing changes. The program executes successfully. 

    But ....

    I opened a PMR and the explanation given is not making any sense. 


    " The inlpgm in your profile does not get run when you connect your workspace to the IBM i.  Have you specified an Initial Program in the RSE connection to your IBM i?  Note that this must be compatible with running in batch and you will want to fully qualify it.  In RSE expand Jobs > My Server Jobs then look for a QZRCSRVS job right-click on it and do Display Job Log.  Does it show that your initial program ran without issue? " 

     

    I am stuck and not going anywhere ...

     

     

     

     

     

    Updated on 2019-06-25T19:08:13Z at 2019-06-25T19:08:13Z by dw-LINYUSA2018
  • BillPahl
    BillPahl
    2 Posts

    Re: RDi LIbrary Lists

    ‏2019-06-25T19:34:26Z  

    Hi Guys, 

    This has started to happen to me after we applied ptf and cumms 

    I have a command in "Initial Command" setup of RDi to set initial library list for Development area. It has been working fine all this time. And now suddenly it is having issue. 

    As a company policy all user have production library list in our user profile / Initial program to call.

    As a IBM i developer, I set my RDi to set library list for Development area. This has been working fine. Bu suddenly stopped working. 

    I have a command which executes a CL program which executes CHGLIBL to set library list for Development environment.

    I execute same command in Green screen to change to Development area.

    The RDi , command log shows it run successfully. 

    But Library list on RSE panel does not change.

    I have refreshed Library list after restarting RDi. I have change from command to "CALL mylibrary/CLPPgm" but nothing changes. The program executes successfully. 

    But ....

    I opened a PMR and the explanation given is not making any sense. 


    " The inlpgm in your profile does not get run when you connect your workspace to the IBM i.  Have you specified an Initial Program in the RSE connection to your IBM i?  Note that this must be compatible with running in batch and you will want to fully qualify it.  In RSE expand Jobs > My Server Jobs then look for a QZRCSRVS job right-click on it and do Display Job Log.  Does it show that your initial program ran without issue? " 

     

    I am stuck and not going anywhere ...

     

     

     

     

     

    This doesn't sound like the original issue, however I had a similar problem which eluded me for some time.  I run an initial command to set the library list, watch it run successfully in the command log, and the library list did not change.  Here is what I found to resolve it.  If you look at your Subsystems properties in Rdi under the connection, what is the value in Current Library?  When mine was set to *USRPRF the initial command did not work.  When it was set to *CRTDFT everything worked as expected. 

  • dw-LINYUSA2018
    dw-LINYUSA2018
    3 Posts

    Re: RDi LIbrary Lists

    ‏2019-06-25T19:41:37Z  
    • BillPahl
    • ‏2019-06-25T19:34:26Z

    This doesn't sound like the original issue, however I had a similar problem which eluded me for some time.  I run an initial command to set the library list, watch it run successfully in the command log, and the library list did not change.  Here is what I found to resolve it.  If you look at your Subsystems properties in Rdi under the connection, what is the value in Current Library?  When mine was set to *USRPRF the initial command did not work.  When it was set to *CRTDFT everything worked as expected. 

    Hi Bill, 

     

    I changed the Current Library from *USRPRF to *CRTDFT 

    Restarted RDi but it is still the same. 

  • BillPahl
    BillPahl
    2 Posts

    Re: RDi LIbrary Lists

    ‏2019-06-25T20:27:54Z  

    Hi Bill, 

     

    I changed the Current Library from *USRPRF to *CRTDFT 

    Restarted RDi but it is still the same. 

    What is the value of your current library (CURLIB) in your user profile?  If it is *CURLIB, try changing it to your user library.  Since you had *USRPRF in RDi, I assume there is a library there with the same name as your user profile.

  • dw-LINYUSA2018
    dw-LINYUSA2018
    3 Posts

    Re: RDi LIbrary Lists

    ‏2019-06-25T20:32:59Z  
    • BillPahl
    • ‏2019-06-25T20:27:54Z

    What is the value of your current library (CURLIB) in your user profile?  If it is *CURLIB, try changing it to your user library.  Since you had *USRPRF in RDi, I assume there is a library there with the same name as your user profile.

    Hi Bill, 

     

    I believe something else is going on. I changed my initial program to bare minimum to just CHGLIBL and it is kind of doing what I wanted. But I need to pinpoint what is that it is making a problem. 

    As per your question, my current library is *CRTDFT in my profile and no there is no library with my profile id. 

    Thanks for your quick responses, appreciated.

     

  • SFerrell
    SFerrell
    14 Posts

    Re: RDi LIbrary Lists

    ‏2019-06-26T12:04:22Z  

    Hi Bill, 

     

    I believe something else is going on. I changed my initial program to bare minimum to just CHGLIBL and it is kind of doing what I wanted. But I need to pinpoint what is that it is making a problem. 

    As per your question, my current library is *CRTDFT in my profile and no there is no library with my profile id. 

    Thanks for your quick responses, appreciated.

     

    Hi Javeed,

     

    You can look at the job log for the QUSRWRK job and see if there are any failures in your running program. It may shed more light on the issue. You can also specify libraries to load when a connection loads.

     

    Here's a screen shot that may help locate the QUSRWRK job, and one below that shows where to set library list entries for the connection.

     

    Updated on 2019-06-26T12:09:03Z at 2019-06-26T12:09:03Z by SFerrell