How to fetch stream names from different Project Area in Rational Team Concert using lscm.bat?

The problem is that it returns names of streams only from one project area. I am sure that the total number of streams across all project areas is less than 2500, so increasing that number in the hope of getting all stream listed is not the answer.
How do I make it return streams names from a different project area? Is there a command line option that I need to pass?

One answer

The 'list streams' command has option to list the streams from a project area. For ex: lscm list streams -r [repo] --visibility projectarea --process-area [project area that you want to list the streams for]

I believe the list streams without --visibility and --process-area options should list all the streams in the repository. You mentioned that it lists the streams from one project area. Did you connect to the project area from the Eclipse client? If so, can you try connecting to the other project areas? and then run 'lscm list streams' again. Does it list the streams from the project area you just connected to?

I have several eclipse workspaces, each connects to the same server (the -r value is the same) but each may be managing different project areas. So which one of these workspaces is lscm.bat looking at when it lists out the stream? Because I am running it from the command prompt in a different directory to any of the workspaces.