Something about DataStage, DataStage Administration, Job Designing,Developing, DataStage troubleshooting, DataStage Installation & Configuration, ETL, DataWareHousing, DB2, Teradata, Oracle and Scripting.
Showing posts with label container. Show all posts
Showing posts with label container. Show all posts
Wednesday, April 09, 2014
Some more design tips for DataStage Job Development
• Common information like home directory, system date, username, password should be initialized in a global variable and then variable should be referred everywhere.
• Stage Variables allow you to hold data from a previous record when the next record, allowing you to compare between previous and current records. Stage variables also allow you return multiple errors for a record of information. By being able to evaluate all data in a record and not just error on the first exception that is found, the cleanup of data is more efficient and requires less iteration.
Friday, August 23, 2013
DataStage BASIC functions
These functions can be used in a job control routine, which is defined as part of a jobs properties and allows other jobs to be run and controlled from the first job. Some of the functions can also be used for getting status information on the current job; these are useful in active stage expressions and before- and after-stage subroutines.
Specify the job you want to control
DSAttachJob
Tuesday, April 30, 2013
datastage4you QAnT - April2013 - 1
#1. 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.
#2. Use Sort stages instead of Remove duplicate stages. Sort stage has got more grouping options and sort indicator options.
#3. for quick checking if DS job is running on Server or not from UNIX
ps -ef | grep 'DSD.RUN'
Saturday, April 27, 2013
Local and Shared Containers
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 only be used in the job after its creation.
4) Number of input and output links supported by local containers.
5) Availability throughout the job.
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 only be used in the job after its creation.
4) Number of input and output links supported by local containers.
5) Availability throughout the job.
Monday, March 25, 2013
Difference Between The Continuous Funnel And Sort Funnel
# Continuous Funnel combines the records of the input data in no guaranteed order. It takes one record from each input link in turn. If data is not available on an input link, the stage skips to the next link rather than waiting.
# Sort Funnel combines the input records in the order defined by the value(s) of one or more key columns and the order of the output records is determined by these sorting keys.
Friday, March 22, 2013
Local Containers and Shared Container
A container, as its name indicates, is used to group stages and links. Containers help simplify and modularize server job designs and allow you to replacing complex areas of the diagram with a single container stage. For example, if you have a lookup that is used by multiple jobs, you can put the jobs and links that generate the lookup into a share container and use it to different jobs. In a way, you can look at it like a procedure or function in the programming term.
Containers are linked to other stages or containers in the job by input and output stages.
Two types of container:
Subscribe to:
Posts
(
Atom
)