Something about DataStage, DataStage Administration, Job Designing,Developing, DataStage troubleshooting, DataStage Installation & Configuration, ETL, DataWareHousing, DB2, Teradata, Oracle and Scripting.
Thursday, April 30, 2015
SQL Assignment02 - Select Statement
Now, As we created some tables with data, lets do some practice with basic SQLs, Try to write queries for below statements -
-- List all data from table DEPOSIT
-- List all data from table BORROW
-- List all data from table CUSTOMERS
-- List all data from table BRANCH
Sunday, April 26, 2015
SQL Assignment01 - Creating tables
Hello Guys, As we all know that SQL is "must" known for getting into DWH area, So considering this what I am trying to do here is sharing some basic SQL assignments to complete. Start with me if wanna to test your SQL knowledge :-)
First of all, we will create some tables ( Script may need to change as per DB you are using ) -
Thursday, April 23, 2015
Script to UnLock DataStage Jobs
This script will help you to unlock the all jobs, if you are a DS admin, or your datastage jobs , if a DS developer, without doing human error while executing command on Datastage server UV shell or Datastage Administrator Client.
Script is quite simple, Execute it , it will ask for Project Name and Job Name and Done if you have appropriate access on Datastage server.
May be need a modification as per your Datastage platform or if you need some fancy stuff to add on. Happy Scripting !!
Tuesday, April 07, 2015
Get Datastage Job Lock List by Script
** This script will fetch all locks currently on Datastage Server irrespective of Projects.
** We can modify this script to correct the data display format as per our need
** Can modify sort command as it changes its behavior in different Linux flavour
Monday, April 06, 2015
DataStageBackup Dos Script
Guys, sorry for being away for so many days but I am back :-)
Today, I am going to share a batch script , written by KIM DUKE, hats off to him :-). Originally this script is designed for Datastage 7.5 but we can easily re-write for current versions. Please play with it and share your script if possible :-)
Monday, March 23, 2015
MongoDB is unable to start due to lock file
While starting MongoDB server, You are facing that MongoDB is not getting up with a exception says -
Sun Jan 18 12:27:03.884 [initandlisten] exception in initAndListen: 10310 Unable to lock file: /data/db/mongod.lock. Is a mongod instance already running?, terminating
Sun Jan 18 12:27:03.884 dbexit:
Normally, we are facing this issue due to 1. improper MongoDB server shutdown or 2. someone else is started the mongo server. In the second case, we dont have any issue, we can connect to out db without issue.
Sun Jan 18 12:27:03.884 [initandlisten] exception in initAndListen: 10310 Unable to lock file: /data/db/mongod.lock. Is a mongod instance already running?, terminating
Sun Jan 18 12:27:03.884 dbexit:
Normally, we are facing this issue due to 1. improper MongoDB server shutdown or 2. someone else is started the mongo server. In the second case, we dont have any issue, we can connect to out db without issue.
Subscribe to:
Posts
(
Atom
)