Skip to content

Instantly share code, notes, and snippets.

@atulsingh0
Created December 13, 2013 14:05
Show Gist options
  • Save atulsingh0/7944718 to your computer and use it in GitHub Desktop.
Save atulsingh0/7944718 to your computer and use it in GitHub Desktop.
For users of DataStage 8.x, a script has been provided to assist with cleanup of locks. Login to the DataStage server with the DataStage administrator id and run the following script: cleanup_abandoned_locks.sh This script resides in the ASBServer/bin directory, for example: /opt/IBM/InformationServer/ASBServer/bin
#!/bin/sh
# This file was generated by the xmeta commons-launcher maven plugin.
# Do not edit this file directly.
myPath=`dirname $0`
case `uname` in
CYGWIN*) # cygwin-specific stuff here
myPath=`cygpath -w "$myPath"`
;;
esac
# . "$myPath/setupEnv.sh"
java="/opt/IBM/InformationServer/ASBServer/apps/jdk/bin/java"
if [ ! -x "$java" ]
then
java="java"
fi
"`which $java`" -cp "$myPath" LauncherBootstrap -executablename cleanup_abandoned_locks -launchfile launcher-metadata_services.xml cleanup_abandoned_locks "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment