From 6b406c5c0b1f0cca143c12cd6a654d8fb050d305 Mon Sep 17 00:00:00 2001 From: David McKnight Date: Thu, 26 Jan 2012 14:27:00 +0000 Subject: [PATCH] [369767] [multithread][dstore] Invalid Default directory in shell Launch --- .../universal/miners/command/CommandMinerThread.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rse/plugins/org.eclipse.rse.services.dstore/miners/org/eclipse/rse/internal/dstore/universal/miners/command/CommandMinerThread.java b/rse/plugins/org.eclipse.rse.services.dstore/miners/org/eclipse/rse/internal/dstore/universal/miners/command/CommandMinerThread.java index 5b5864c7320..cd86fb3bc9a 100644 --- a/rse/plugins/org.eclipse.rse.services.dstore/miners/org/eclipse/rse/internal/dstore/universal/miners/command/CommandMinerThread.java +++ b/rse/plugins/org.eclipse.rse.services.dstore/miners/org/eclipse/rse/internal/dstore/universal/miners/command/CommandMinerThread.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2003, 2011 IBM Corporation and others. + * Copyright (c) 2003, 2012 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -34,6 +34,7 @@ * David McKnight (IBM) [323262] [dstore] zos shell does not display [ ] brackets properly * David McKnight (IBM) - [283613] [dstore] Create a Constants File for all System Properties we support * David McKnight (IBM) [339741] [dstore][shells] consecutive prompt line is ignored + * Noriaki Takatsu (IBM) [369767] [multithread][dstore] Invalid Default directory in shell Launch *******************************************************************************/ package org.eclipse.rse.internal.dstore.universal.miners.command; @@ -190,8 +191,8 @@ public class CommandMinerThread extends MinerThread String userHome = null; Client client = _dataStore.getClient(); - if (client != null && !theOS.equals("z/OS")){ //$NON-NLS-1$ - String clientActualUserId = client.getProperty("user.name");//$NON-NLS-1$ + if (client != null && theOS.equals("z/OS")){ //$NON-NLS-1$ + String clientActualUserId = client.getProperty("client.username");//$NON-NLS-1$ String clientUserId = client.getUserid(); userHome = client.getProperty("user.home");//$NON-NLS-1$