Every source member you edit is downloaded to a temporary file on your PC, and one of the folders in the path of that temporary file is named as the host name of the connection used to open it, so another tip that may be of use is to rename your IBM i machines in your hosts file (Windows\System32\drivers\etc) and then use those renames as the "host name" for each connection you have in your RDi workspace.

e.g. in your hosts file:
192.168.0.2 Live-iSeries
192.168.0.2 Test-iSeries
192.168.0.2 Dev-iSeries

(You must edit the hosts file using the "run as administrator" context menu option on your favourite editor's icon.)

Then, whenever you have a source member open you can see the renamed hostname in RDi's window's title bar when it displays the full source name. The same temporary file name is displayed in the editor tab's tooltip.


-Paul.


PS I was sure there was an option to turn on and off the display of the full source file path in the title bar, but I can't find it. For now I am assuming that it is on by default (at version 9.0.1, at least!) unless someone can point out where that option is?



-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Dave Shaw
Sent: 09 January 2014 15:02
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] SQL strangeness

John,

A tip - for any connection, you can also see the library list by expanding Objects => Base Pool => Library List, if you have filter pools visible and haven't removed the library list filter from the base pool. I think the library list filter also shows without pools being visible, but I don't remember anymore, as I've been using filter pools since '07.

Setting the library lists in the connections (I use a mix of job descriptions, initial commands, and library lists set in the connection) and knowing which connection I'm using when I use the RSE tree isn't an issue for me. I don't use the table view for opening members, so that's not a problem, either.


My problem is that there are so many members in our production source files (15,555 and growing in our largest QRPGLESRC, for example) that always using filters when I need to browse a production source member (not development) is completely impractical. If I know the member name, usually because it's in a source I already have open or I know the process flow well enough to remember, I use Ctrl-Shift-A. If I forget to check the connection, I may get the wrong library list, which could result in the outline not loading, or loading with incorrect information (yeah, we actually have different files with the same name in different libraries - gah!), and of course not compiling (if I need to put a copy in a development library for debugging). Years of screwing up have made me careful and I don't often do this to myself anymore, and when I do I usually recognize it quickly, but it sure would be nice to be able to easily tell which connection I opened any particular member with.

If I tried to work with only one connection open at a time, I'd never get anything done, especially with cross-environment programs. And please, let's not talk about reorganizing source or environments or anything of that nature. This system has been growing for roughly 20 years, with a staff of never less than 40 developers, a high of over 125 developers, and currently somewhere around 75. Making system organization changes is hard, and getting agreement to make changes is worse. I'd rather herd cats. A LOT of cats.


Dave Shaw


________________________________
From: "Voris, John" <john.voris@xxxxxxxxxxxxx>
To: "wdsci-l@xxxxxxxxxxxx" <wdsci-l@xxxxxxxxxxxx>
Sent: Thursday, January 9, 2014 9:15 AM
Subject: [WDSCI-L] SQL strangeness


There has been numerous arguments showing that many of us use various Liblists to compile source with. And that yes, it can be confusing to know where you are in RSE or Table Views.
So I thought I would summarize how I manage Liblists .aka. Environments .aka. Connections.

#1 I set the Liblist on each Connetion with *JOBD.
This is the Compiling *JOBD of various Liblists leftover from the SEU days

But I have found that getting Connections set up right using *JOBD is a pain, because what I think I did to finally get this to work is have ONLY one connection open when I set the *JOBD settings on the panel Connections > Subsystems > Commands. After setting it, you have to close the connection,
Then you have to open the next connection to set the next *JOBD. And so on.


#2 I have a right-click User Action that does a PRTLIBL.
My User Action is a simple command DSPLIBL *PRINT, and back on the green screen side, then WRKSPLF shows me a QPRTLIBL report that shows me the library list of the Liblist in effect.
( Because of how User Actions work, I had to create two User Actions, a PRTLIBL for Members, and a PRTLIBL for Objects. )

When the user action runs, a panel of the connection opens a panel on the Commands Log which show which connection is open.
This "Joblog" of the Command/User Action shows me my User Action and it also shows what connection I am using. The Connection Name is in the Panel Tab-Name.

If I do my right-click User Action on a source member on a different Connection, then what I see in the "Commands Log", is that a new panel is created and the panel Tab-Name is the current Connection Name.
So now I know where I am in my stack of projects and connections, and I am ready to compile, or ready to edit and find the copybooks, etc.
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.

Scanned by MailDefender - managed email security from intY - www.maildefender.net

Important, this email transmission and any files with it are strictly confidential to the intended recipient and may be legally privileged. Any views or opinions presented are solely those of the author and do not necessarily represent those of BHSF. If you are not the intended recipient, you must not copy, disclose or distribute its contents in any way. If you have received this e-mail in error, please notify the sender and delete the e-mail from your system.

We have taken steps to ensure this email and attachments are free from any virus but do not accept any responsibility once this e-mail has been transmitted. You should scan any attachments for viruses. No contract may be concluded on behalf of BHSF Limited by e-mail.

Registered Office: BHSF Limited, Gamgee House, 2 Darnley Road, Birmingham, B16 8TE. www.bhsf.co.uk Registered in England number 35500. BHSF Limited is authorised by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and Prudential Regulation Authority.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.