<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3960298287734019060</id><updated>2024-11-06T02:43:31.138+00:00</updated><category term="DataStage"/><category term="DataStage interview questions"/><category term="Food for Tought"/><category term="Data Science"/><category term="R Language"/><category term="Data Analysis"/><category term="ETL"/><category term="Data Frames"/><category term="Data Warehouse"/><category term="DataStage Functions"/><category term="How to"/><category term="Videos"/><title type='text'>Geek Articles</title><subtitle type='html'>Data, Data Warehouse, Data Analysis, Data Science and beyond!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>34</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-118616038379236023</id><published>2020-06-06T10:01:00.004+01:00</published><updated>2020-06-06T10:06:43.731+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Data Frames"/><category scheme="http://www.blogger.com/atom/ns#" term="Data Science"/><category scheme="http://www.blogger.com/atom/ns#" term="R Language"/><title type='text'>Learning various data operation in R with references to SQL commands for easy understanding</title><summary type="text">
Hello there, welcome to my blog post. The reason behind this post is to practice R and R markdown for myself and share my work with the audience. I would make references to SQL/relational database commands while working with R. If you are not familiar&amp;nbsp;with SQL then ignore SQL parts, this is just for easy understanding.



Prerequisites:

Install R
R Studio (for ease otherwise R itself is </summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/118616038379236023/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2020/06/data-selection-dataframes-r.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/118616038379236023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/118616038379236023'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2020/06/data-selection-dataframes-r.html' title='Learning various data operation in R with references to SQL commands for easy understanding'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-2009606111920120424</id><published>2020-05-10T15:33:00.004+01:00</published><updated>2020-05-20T22:42:57.806+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Data Analysis"/><category scheme="http://www.blogger.com/atom/ns#" term="Data Frames"/><category scheme="http://www.blogger.com/atom/ns#" term="Data Science"/><category scheme="http://www.blogger.com/atom/ns#" term="R Language"/><title type='text'>How to import multiple .csv files R where files share same column format</title><summary type="text">
Loading multiple csv files in R which share same column format

Scenario - We have number of csv files with identical column format and we would like to import all of this data into one data frames.



Solution - following code can help upload multiple identical files into list of data frames in R and then into one big data frame:





loadDF &amp;lt;- function(directory){

  #set current working </summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/2009606111920120424/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2020/05/Loading-multiple-csv-files-Data-Frame-R.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/2009606111920120424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/2009606111920120424'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2020/05/Loading-multiple-csv-files-Data-Frame-R.html' title='How to import multiple .csv files R where files share same column format'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><georss:featurename>United States</georss:featurename><georss:point>37.09024 -95.712891</georss:point><georss:box>8.9898414388878471 -130.869141 65.190638561112152 -60.556641</georss:box></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-2800386716967629127</id><published>2020-05-07T08:04:00.003+01:00</published><updated>2020-05-09T09:52:02.670+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Data Analysis"/><category scheme="http://www.blogger.com/atom/ns#" term="Data Science"/><category scheme="http://www.blogger.com/atom/ns#" term="R Language"/><title type='text'>Common R commands to learn on early days</title><summary type="text">If you are just starting with R then here is the list of some commands which you must master.&amp;nbsp;These commands will immensely help you in this journey. Here they are:




getwd() - This is the first command that you must learn. This will show you where is all your work going to be saved or a folder on your computer&#39;s disk from where you are working. you can execute this command on R console </summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/2800386716967629127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2020/05/common-R-Commands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/2800386716967629127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/2800386716967629127'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2020/05/common-R-Commands.html' title='Common R commands to learn on early days'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-4179374567533074822</id><published>2020-04-26T10:56:00.000+01:00</published><updated>2020-04-26T21:06:13.692+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Data Analysis"/><category scheme="http://www.blogger.com/atom/ns#" term="Data Science"/><category scheme="http://www.blogger.com/atom/ns#" term="How to"/><category scheme="http://www.blogger.com/atom/ns#" term="R Language"/><title type='text'>How to install R on Macbook Pro</title><summary type="text">

Download R from&amp;nbsp;https://cran.r-project.org/bin/macosx/
Select appropriate version. In this example we will use R-4.0.0.pkg
When downloaded, put the package in your working directory or leave it in the download folder








Check validity of the downloaded package by verifying checksum using shasum command:
Open terminal and issue shasum -a 1 R-4.0.0.pkg, returned checksum code must match</summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/4179374567533074822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2020/04/how-install-r-macbook-pro.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/4179374567533074822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/4179374567533074822'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2020/04/how-install-r-macbook-pro.html' title='How to install R on Macbook Pro'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGqkfFfNX1AbCLLQWuZ3CjetKVJCc67HDGsKFyt8v2GT4ccmY1k4Hzdy2ct2brdQ9StxKMFRvcX4GDqy9wSrlh8UL-PO8MC6SkiLHielhxchZmf7jWQF4vQI9D2SyC57pPZ6IdEYhUu7rM/s72-c/Screenshot+2020-04-26+at+10.37.40.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-4041579245338219063</id><published>2013-03-23T00:51:00.000+00:00</published><updated>2020-06-04T07:31:07.924+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataStage"/><category scheme="http://www.blogger.com/atom/ns#" term="DataStage interview questions"/><category scheme="http://www.blogger.com/atom/ns#" term="ETL"/><title type='text'>CDC and DataStage. My experience.</title><summary type="text">IBM Change Data Capture previously known as DataMirror is a Data replication tool and the latest version comes with ETL capabilities as well. Main use of this tool is to move data from one database to another (within a database or between two databases).


I would put my thoughts together here on CDC implemented on Windows environment on Oracle database. A mapping or unit created in CDC is </summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/4041579245338219063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2013/03/cdc-and-datastage-my-experience.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/4041579245338219063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/4041579245338219063'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2013/03/cdc-and-datastage-my-experience.html' title='CDC and DataStage. My experience.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-8017150145117216137</id><published>2011-06-07T23:06:00.000+01:00</published><updated>2013-03-20T23:18:34.288+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataStage"/><title type='text'>Tips - How to prepare for DataStage interview Part 2</title><summary type="text">Tips explained in part 1 would definitely help one preparing for interview. Now following are few more tips to help friends around preparing for DataStage interviews:


1. Know Designer and Director Client - There could be questions in the interview which might not be relevant to implementation of a job or job design. It could be about various other features of the tool which you use for the </summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/8017150145117216137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/06/tips-how-to-prepare-for-datastage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/8017150145117216137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/8017150145117216137'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/06/tips-how-to-prepare-for-datastage.html' title='Tips - How to prepare for DataStage interview Part 2'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-3397578828306299940</id><published>2011-06-06T23:07:00.002+01:00</published><updated>2013-03-20T23:21:13.619+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataStage"/><title type='text'>How to prepare for DataStage Interview - Part 1</title><summary type="text">There are many friends who are trying to crack down DataStage interviews but somehow because of lack of real world project exposure; not able to make it through. The tips explained below are to help them so that they can be confident while perusing interview and prepare in a way that they are capable of handling any kind of question and answers them tactfully.




Tip number one - Always remember</summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/3397578828306299940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/06/how-to-prepare-for-datastage-interview.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/3397578828306299940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/3397578828306299940'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/06/how-to-prepare-for-datastage-interview.html' title='How to prepare for DataStage Interview - Part 1'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-6516323136452869420</id><published>2011-02-10T23:20:00.002+00:00</published><updated>2020-07-30T07:59:59.000+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataStage"/><category scheme="http://www.blogger.com/atom/ns#" term="DataStage interview questions"/><category scheme="http://www.blogger.com/atom/ns#" term="ETL"/><title type='text'>Incremental or delta load in DataStage</title><summary type="text">Incremental loading in the DataStage can be performed by using the Change Data Capture stage. This is a stage which takes sorted input on the key fields and generates a change code which denotes the type of change. Based on change code required DMLs can be performed on target database. Following figure can explain the basic design of a CDC stage:

To know more on data analysis, data science. </summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/6516323136452869420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/02/incremental-load-in-datastage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/6516323136452869420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/6516323136452869420'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/02/incremental-load-in-datastage.html' title='Incremental or delta load in DataStage'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9JiDJ9Dt8WY41XHVSL13ZKfkUK7aALdaPkEvueE0VyfMCymgp8xZ6CqpUmiqCHi4m-IkDcCQFjW4zK3LVKkN0uED0lANI0XUqqBjiTzungHIjHxSPEI_VpSOqvBbas4XooiOlOW0V3RLY/s72-c/Incremental_Load.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-326150831762709161</id><published>2011-01-31T22:31:00.002+00:00</published><updated>2013-03-20T23:28:29.686+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataStage"/><category scheme="http://www.blogger.com/atom/ns#" term="DataStage interview questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Food for Tought"/><title type='text'>Food for Thought - Episode 7 (Answered)</title><summary type="text">What is the reason behind following error:


Fatal Error: File data set, file &quot;{0}&quot;.; output of &quot;ImportSP&quot;: the record is too big to fit in a block; 

Give this challenge a shot. Reply.</summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/326150831762709161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/01/food-for-thought-episode-7.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/326150831762709161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/326150831762709161'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/01/food-for-thought-episode-7.html' title='Food for Thought - Episode 7 (Answered)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-8602271080070820940</id><published>2011-01-29T17:03:00.001+00:00</published><updated>2020-05-03T12:48:22.564+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataStage"/><category scheme="http://www.blogger.com/atom/ns#" term="DataStage interview questions"/><title type='text'>DataStage Interview Questions - Part 2</title><summary type="text">1. What is &quot;Parallel Processing&quot;?
In simple words, parallel processing means executing the jobs on multiple processors. Performing ETL simultaneously.  


2. What are the types of parallelism?
There are only two types of parallelism pipeline and partition.

3. How does degree of parallelism determined?
Degree of parallelism determined by Configuration file.

4. Can different configuration files </summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/8602271080070820940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/01/datastage-interview-questions-part-2.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/8602271080070820940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/8602271080070820940'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/01/datastage-interview-questions-part-2.html' title='DataStage Interview Questions - Part 2'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-3206306648728750436</id><published>2011-01-26T16:51:00.000+00:00</published><updated>2020-06-04T07:32:28.127+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataStage"/><category scheme="http://www.blogger.com/atom/ns#" term="DataStage Functions"/><title type='text'>DataStage String Functions</title><summary type="text">Following is the list of DataStage String Functions


Function  Usage  
  
AlNum  Cab be used to check if the given string has alphanumeric characters  
Alpha  TRUE if string is completely alphabetic  
CompactWhiteSpace  all consective whitespace will be reduced to single space  
Compare  Compares two strings for sort  
ComparNoCase  Compare two strings irrespective of Case in-sensitiveness   
</summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/3206306648728750436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/01/datastage-string-functions.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/3206306648728750436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/3206306648728750436'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/01/datastage-string-functions.html' title='DataStage String Functions'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-137192968779529499</id><published>2011-01-26T00:07:00.000+00:00</published><updated>2020-06-04T07:33:08.356+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataStage"/><category scheme="http://www.blogger.com/atom/ns#" term="DataStage interview questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Food for Tought"/><title type='text'>Food for Thought - Episode 6</title><summary type="text">Scenario: A column contains both numeric and alpha numeric values in it (see example below): 

Source column
ABC
123
DEF
456
GHI
789
JKL
101




Challenge: Segregate these values into two columns one for numeric only and another one for alpha numeric values (see below)

Numeric Only -    Alpha Only
123 -             ABC
456 -             DEF
789 -             GHI
101 -             JKL

Give this </summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/137192968779529499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/01/food-for-thought-episode-6.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/137192968779529499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/137192968779529499'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/01/food-for-thought-episode-6.html' title='Food for Thought - Episode 6'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-6736415865140643322</id><published>2011-01-24T21:54:00.071+00:00</published><updated>2020-07-30T07:58:39.513+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataStage"/><category scheme="http://www.blogger.com/atom/ns#" term="DataStage interview questions"/><title type='text'>How to fetch just first and last record from DataStage sequential file.</title><summary type="text">
How would you fetch just first and the last record from a sequential file without using operating system commands and where design should be platform independent. So following is one of the approach to address this problem:








Following points explain the above figure. However, if you want to know more data analysis, data&amp;nbsp;science&amp;nbsp;then you can follow&amp;nbsp;

1. Read sequential file </summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/6736415865140643322/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/01/datastage-how-to-fetch-first-and-last.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/6736415865140643322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/6736415865140643322'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/01/datastage-how-to-fetch-first-and-last.html' title='How to fetch just first and last record from DataStage sequential file.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNJRDx5CAgF9zhXG231JZzpydIZf4agLl38mVEA9rSElUijzOtFj2tC1lCdlyJSWH1cy4dwbhvgl-RulswAUjZC6ul1ccGc6qB7d-pr8ovnwZjL8HszrBqxXLZoWEbwCJEpvLZ9hwPnTgm/s72-c/First_and_Last_Record.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-3948516987985394848</id><published>2011-01-22T08:11:00.000+00:00</published><updated>2020-06-04T07:34:43.121+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataStage"/><category scheme="http://www.blogger.com/atom/ns#" term="DataStage interview questions"/><title type='text'>DataStage - Triggers and Expressions of a Sequence</title><summary type="text">
Sequence stage has a tab called trigger. This tab gives you a place to specify the expressions on the input links or in other words this tab provides a facility to control the behaviour of job activities inside sequences when executed one after another. 



For example we have two job A and Job B. Jobs B should always run once job A finishes successfully. There should not be any warnings in the </summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/3948516987985394848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/01/datastage-triggers-and-expressions-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/3948516987985394848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/3948516987985394848'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/01/datastage-triggers-and-expressions-of.html' title='DataStage - Triggers and Expressions of a Sequence'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-8152383049192559560</id><published>2011-01-20T10:22:00.002+00:00</published><updated>2011-01-31T22:29:22.131+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Food for Tought"/><title type='text'>Food for Thought - Episode 5 (Answered)</title><summary type="text">What is the use of following special values?1. $PROJDEF
2. $ENV 
3. $UNSET Give this challenge a shot. Reply.</summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/8152383049192559560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/01/food-for-thought-episode-5.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/8152383049192559560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/8152383049192559560'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/01/food-for-thought-episode-5.html' title='Food for Thought - Episode 5 (Answered)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-2653714529703015365</id><published>2011-01-16T18:11:00.000+00:00</published><updated>2011-01-16T18:11:22.843+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataStage"/><category scheme="http://www.blogger.com/atom/ns#" term="DataStage interview questions"/><title type='text'>Array size property of Oracle Enterprise Stage</title><summary type="text">Array size is a property of Oracle Enterprise stage which helps to reduce the context switch between DataStage and Oracle database. We should keep this in mind that however it help us reducing the context switch but this can lead the metadata repository database toward having deadlocks (if the meta data repository is Sql Server). Having large array size would improve the performance of the job as</summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/2653714529703015365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/01/array-size-property-of-oracle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/2653714529703015365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/2653714529703015365'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/01/array-size-property-of-oracle.html' title='Array size property of Oracle Enterprise Stage'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-2581894202921349613</id><published>2011-01-15T10:38:00.001+00:00</published><updated>2011-01-15T10:43:51.445+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataStage"/><title type='text'>DataStage &amp;PH&amp; directory</title><summary type="text">&amp;PH&amp; directory in the DataStage contain the files which get created during a job&#39;s execution. The two letters in the name of the directory hint to the word &quot;phantom&quot; which is the naming convention in DataStage for background processes. Every time a job runs, it generates these logs which contain the status of the different phantom processes generated during the run. There are two types of the </summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/2581894202921349613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/01/datastage-directory.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/2581894202921349613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/2581894202921349613'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/01/datastage-directory.html' title='DataStage &amp;PH&amp; directory'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-7375577031502741800</id><published>2011-01-13T22:44:00.000+00:00</published><updated>2020-06-04T07:35:32.424+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataStage"/><category scheme="http://www.blogger.com/atom/ns#" term="DataStage interview questions"/><title type='text'>Exporting DataStage jobs from command prompt and GUI</title><summary type="text">
DataStage jobs can be exported into two ways, using GUI and using command prompt. To export jobs from GUI, go to Export --&amp;gt; DataStage Component menu or right click on the particular job to export. A pop up window named &quot;Repository Window&quot; will appear on the screen where all or selected jobs can be exported. This Repository window allows various options to choose from. These options are as </summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/7375577031502741800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/01/exporting-datastage-jobs-from-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/7375577031502741800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/7375577031502741800'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/01/exporting-datastage-jobs-from-command.html' title='Exporting DataStage jobs from command prompt and GUI'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-5630478296770980804</id><published>2011-01-13T08:59:00.003+00:00</published><updated>2011-01-22T07:12:51.870+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataStage"/><category scheme="http://www.blogger.com/atom/ns#" term="DataStage interview questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Food for Tought"/><title type='text'>Food for Thought - Episode 4 (Answered)</title><summary type="text">Scenario: We want to run a three stage parallel job in a 8 CPU SMP environment having at least two parallel nodes defined in the configuration file.Challange: How many minimum processes would this job make? No combining set on any stages. Give this challenge a shot. Reply.</summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/5630478296770980804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/01/food-for-thought_13.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/5630478296770980804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/5630478296770980804'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/01/food-for-thought_13.html' title='Food for Thought - Episode 4 (Answered)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-8330023825064360334</id><published>2011-01-12T22:24:00.037+00:00</published><updated>2020-06-04T07:36:13.037+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Data Warehouse"/><title type='text'>What is Data Warehouse</title><summary type="text">
What is Data Warehouse

Data Warehouse is a relational database which is mainly used for analytical and decision making purpose. Good analysis and decision making can happen when there are different sets of data available. When I say different sets, I mean historical data to compare with. Mostly all Data Warehouses holds historical information in them. This historical information gets stored </summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/8330023825064360334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/01/what-is-data-warehouse.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/8330023825064360334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/8330023825064360334'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/01/what-is-data-warehouse.html' title='What is Data Warehouse'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-1980949015363346990</id><published>2011-01-10T12:17:00.002+00:00</published><updated>2011-01-15T10:42:58.479+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataStage"/><category scheme="http://www.blogger.com/atom/ns#" term="DataStage interview questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Food for Tought"/><title type='text'>Food for Thought - Episode 3 (Answered)</title><summary type="text">While collecting data, if order of the records matter then which collection method should be used?Give this challenge a shot. Reply.</summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/1980949015363346990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/01/food-for-thought-episode-3.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/1980949015363346990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/1980949015363346990'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/01/food-for-thought-episode-3.html' title='Food for Thought - Episode 3 (Answered)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-5928853713605951732</id><published>2011-01-08T10:56:00.000+00:00</published><updated>2020-06-04T07:36:56.917+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataStage"/><category scheme="http://www.blogger.com/atom/ns#" term="DataStage interview questions"/><title type='text'>Local and Shared Containers - A Quick walk-through</title><summary type="text">
As the name suggest local container (LC) contains the stages locally in the job and shared container (SC) contains stage in the job as well as allow its usage to other jobs. Differences or qualities between these two types of containers can be listed as follows:



Local Containers

1) Mainly used to ease the job design.
2) Piece of logic can be combined together and used inside a job. 
3) Can </summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/5928853713605951732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/01/local-and-shared-containers-quick-walk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/5928853713605951732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/5928853713605951732'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/01/local-and-shared-containers-quick-walk.html' title='Local and Shared Containers - A Quick walk-through'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-6043925737456263481</id><published>2011-01-06T22:42:00.001+00:00</published><updated>2011-01-10T19:23:07.417+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataStage"/><category scheme="http://www.blogger.com/atom/ns#" term="DataStage interview questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Food for Tought"/><title type='text'>Food for Thought - Episode 2 (Answered)</title><summary type="text">Scenario: Read a dataset and load a Oracle table using Oracle Enterprise Stage with &quot;Load&quot; option. The table to be loaded has a column named &quot;X&quot; and defined as VARCHAR2.

Challenge: Column &quot;X&quot; in the dataset has some values in it with leading and trailing spaces and some with pure spaces. How would you make sure that while loading the data these spaces should not be removed or converted into NULL</summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/6043925737456263481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/01/food-for-thought-episode-2.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/6043925737456263481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/6043925737456263481'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/01/food-for-thought-episode-2.html' title='Food for Thought - Episode 2 (Answered)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-2366763865629157252</id><published>2011-01-06T22:36:00.000+00:00</published><updated>2011-01-06T22:36:16.300+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Data Warehouse"/><title type='text'>Data Profiling - A dip in the data</title><summary type="text">Data profile is an interesting task. if you love data, you would enjoy doing data profiling. As the name suggest data profiling is to profile or analyse the data. Analyse it&#39;s organization, type, amount and all other aspects which data can have. There could be various reason behind the profiling. Following are just to name a few:

1) To check that the data is suitable for other business </summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/2366763865629157252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/01/data-profiling-dip-in-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/2366763865629157252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/2366763865629157252'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/01/data-profiling-dip-in-data.html' title='Data Profiling - A dip in the data'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3960298287734019060.post-4981124113298045876</id><published>2011-01-05T14:17:00.004+00:00</published><updated>2011-01-08T11:00:46.781+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataStage"/><category scheme="http://www.blogger.com/atom/ns#" term="DataStage interview questions"/><category scheme="http://www.blogger.com/atom/ns#" term="Food for Tought"/><title type='text'>Food for Thought - Episode 1 (Answered)</title><summary type="text">Scenario: We are reading an Oracle table using Oracle enterprise stage and putting data into a dataset. Challenge: What would happen if the column names of that table contains characters which are not supported by DataStage? Would this job fail or Run? If fail then why? If run then what would be the output? Give this challenge a shot. Reply.  </summary><link rel='replies' type='application/atom+xml' href='http://geekarticles.blogspot.com/feeds/4981124113298045876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://geekarticles.blogspot.com/2011/01/food-for-thought.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/4981124113298045876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3960298287734019060/posts/default/4981124113298045876'/><link rel='alternate' type='text/html' href='http://geekarticles.blogspot.com/2011/01/food-for-thought.html' title='Food for Thought - Episode 1 (Answered)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>