Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find of DB names is not the same for different languages, has to be fixed #4

Open
kbild opened this issue Jul 10, 2014 · 5 comments
Open

Comments

@kbild
Copy link
Collaborator

kbild commented Jul 10, 2014

I've got a german DB2 installation and "tokens=3 delims==" does not work there -> please list the result for
DB2CMD.EXE -c -w -i DB2 list DATABASE DIRECTORY ^| findstr /i "Alias"
on an english install

@stoeps13
Copy link
Owner

I think you must use tokens=4 in german localization.

Output of your question:
db2

@kbild
Copy link
Collaborator Author

kbild commented Jul 10, 2014

Ok, this means that "tokens=2 delims==" should work for all languages, but you are using tokens=3, does this really work?

@stoeps13
Copy link
Owner

Not sure, i can't test in the moment, but one annotation, that's your code snippet!

Oh sorry, i see i changed from tokens=5 to tokens=3 delims== i'm sure i tested it on english versions, but had problems with a german one too.

@vtoal
Copy link
Collaborator

vtoal commented Jul 10, 2014

Ha - SMACKDOWN! ;)

I will give it a try tonight as well, if I get to it .... I will be putting
the code on an US Army server this week, and on the US MArines next week
(still building that one) will likely also go to the Airforce and Navy with
it ... your code is getting around!

V.


Victor Toal
Chief Solutions Architect
ToalSystems Consulting
victor@toalsys.com

Tel: +1 (203) 364-4122

Proud to be from Newtown, CT - We are Newtown Strong!

On Thu, Jul 10, 2014 at 12:11 PM, Christoph Stoettner <
notifications@github.com> wrote:

Not sure, i can't test in the moment, but one annotation, that's your code
snippet!


Reply to this email directly or view it on GitHub
#4 (comment)
.

@kbild
Copy link
Collaborator Author

kbild commented Jul 10, 2014

If I look of your result "tokens=2 delims==" should definitely work. It builds 2 tokens, one in front of the "=" and one after with the DB names, so we need tokens=2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@stoeps13 @kbild @vtoal and others