Something about DataStage, DataStage Administration, Job Designing,Developing, DataStage troubleshooting, DataStage Installation & Configuration, ETL, DataWareHousing, DB2, Teradata, Oracle and Scripting.
Showing posts with label debug. Show all posts
Showing posts with label debug. Show all posts
Sunday, September 28, 2014
DataStage Warning - APT_CombinedOperatorController
While we are running DataStage job, we got this warning like..
APT_CombinedOperatorController(1),0: XXXXXXXXXXXXXXXXXXXXXXX
APT_CombinedOperatorController(2),1: XXXXXXXXXXXXXXXXXXXXXXX
We don't get the stage name which is causing this issue ? How we will get the Culprit Stage :-) ?
Solution :
Friday, September 26, 2014
DataStage Warning - Agg,1: Hash table has grown to 16384 entries
Sometime when we are running Datastage job in which we are using Aggregator stage, we get below warning -
Agg,1: Hash table has grown to 16384 entries.
Agg,0: Hash table has grown to 16384 entries.
Solution :
Solution :
Friday, September 05, 2014
Peek Stage in DataStage - 2
Lets continue our journey with PEEK stage, today in this post, I am going to share one more option about PEEK stage. Sending the Peek data into a output file..
1. Job design :
For this demo job, we will use below job design. You can see we have attached a seq file after the peek stage which will capture the Peeked dataThursday, December 12, 2013
Interview Questions : DataStage - self-3
100 If 1st and 8th record is duplicate then which will be skipped? Can you configure it?
101 How do you import and export datastage jobs? What is the file extension? (See each component while importing and exporting).
102 How do you rate yourself in DataStage?
103 Explain DataStage Architecture?
104 What is repository? What are the repository items?
105 What is difference between routine and transform?
106 When you write the routines?
Friday, December 06, 2013
List of Environment Variables in DataStage
General Job Administration
APT_CHECKPOINT_DIRAPT_CLOBBER_OUTPUT
APT_CONFIG_FILE
APT_DISABLE_COMBINATION
APT_EXECUTION_MODE
APT_ORCHHOME
APT_STARTUP_SCRIPT
APT_NO_STARTUP_SCRIPT
APT_STARTUP_STATUS
APT_THIN_SCORE
Wednesday, December 04, 2013
How to setup environment variables in DataStage
In DataStage you can set environment variables
using three different methods. The right method depends on how often you
need to change the value of an environment variable and how specific
this value is for a particular project or job. Here is a description of
these methods:
Thursday, November 28, 2013
Tail Stage in DataStage
Tail Stage is another one stage from development stage category. It can have a single input link and a single output link.
The Tail Stage selects the last N records from each partition of an input data set and copies the selected records to an output data set.
a) Job Design :
Wednesday, November 27, 2013
Head Stage in DataStage
Welcome to Basic Intro with Stage Series, We are going to look into HEAD stage ( Developmet/Dubug Categoty). It can have a single input link and a single output link.
The Head Stage selects the first N rows from each partition of an input data set and copies the selected rows to an output data set. You determine which rows are copied by setting properties which allow you to specify:
- The number of rows to copy
- The partition from which the rows are copied
- The location of the rows to copy
- The number of rows to skip before the copying operation begins.
Tuesday, November 05, 2013
Dummy Data Generation using Row Generator in DataStage - 2
By default the Row Generator stage runs sequentially, generating data in a single partition. You can, however, configure it to run in parallel and meaningful data.
We are using the same job design as in Dummy Data Generation using Row Generator in DataStage - 1
a) Job Design :
Sunday, November 03, 2013
Dummy Data Generation using Row Generator in DataStage - 1
How to Generate Input Data for your dummy jobs n practice ??
In DataStage, There is a Stage called "Row Generator" under "Devlopment/Debug Stages" category. For Generating the dummy data, we will use this stage.
So, We are going to create a job which generates dummy data.
Wednesday, May 15, 2013
Diagnosing DataStage Job Monitor problems
DataStage job run statistics (i.e. rows per second processed) do not update in DataStage Designer or Director clients.
Check these details :
This
section contains a quick series of diagnosis steps for those familiar
with DataStage and Job monitor. If more detail is needed for any step,
please refer to the more detailed instructions in the "Resolving the
Problem" section:
If customer has checked and verified that the following:
If customer has checked and verified that the following:
Labels:
commands
,
DataStage
,
debug
,
design
,
environment
,
Job
,
Linux
,
Monitor
,
Parallel
,
port
,
statistics
,
trace
,
Troubleshoot
,
variables
Monday, April 29, 2013
Optimzie your DataStage Job Performance with relevant Environment Variables
For any DataStage Job if you run into problem or want to get more details need to check following variables.
Tuesday, January 22, 2013
Tips & Tricks for debugging a DataStage job
The
article talks about DataStage debugging techniques. This can be applied to a
job which
- is
not producing proper output data or
- to
a job that is aborting or generating warnings
- Use
the Data Set Management utility, which is available in the Tools menu of
the DataStage Designer or the DataStage Manager, to examine the schema,
look at row counts, and delete a Parallel Data Set. You can also view the
data itself.
Thursday, July 12, 2012
Tips for debugging a datastage job
Some tips for the beginners of datastage. Hope
this will help you to debug the job in datastage.
Enable the following
environment variables in DataStage Administrator:
- APT_PM_PLAYER_TIMING
– shows how much CPU time each stage uses
- APT_PM_SHOW_PIDS –
show process ID of each stage
- APT_RECORD_COUNTS – shows record counts in log
Subscribe to:
Posts
(
Atom
)