Dev's Datastage Tutorial,Guides,Training and Online Help 4 u. Unix, Etl, Database Related Solutions_ Datastage Interview Questions and Answers v1

Embed Size (px)

DESCRIPTION

Datastage Tutorial and Guides,

Citation preview

  • 1/21/2016 DEV'SDATASTAGETUTORIAL,GUIDES,TRAININGANDONLINEHELP4U.UNIX,ETL,DATABASERELATEDSOLUTIONS:DatastageInte

    http://datastageinfoguide.blogspot.in/2014/01/datastageinterviewrelatedquestions.html 1/6

    Home DatastageRelated DatastageTraining BigData Unix Database InterviewRelated Certifications DiscussionForum

    ManythanksforvisitingmyBlog..!!PleasesharethisblogusingbelowsharebuttonsandleaveyourComments/Feedback/Appreciationson

    Tweet 0Share 0 ShareThisBlog..!! 17

    DatastageInterviewQuestionsandAnswersV1.4

    This post is very useful for datastagebeginners..DK

    You will get Answers for below mentioned questions, in this Post:DK

    #What are the main features of datastage?#What are Stage Variables, Derivations and Constants?

    Datastage Interview Related Questions and Answers V1.4

    SEARCHYOURPROBLEMSSOLUTIONINTHISBLOG

    Devendra Kumar Yadav

    265 followers

    Follow

    ABOUTME:CLICKONG+BUTTONTOFOLLOWME

    VISITOR'SVIEWCOUNT

    2 1 7 7 3 0 8

    TRANSLATETHISBLOG

    PROFESSIONALSPLZVISIT

    DONATEFORSUPPORT

    2015(18)

    2014(34)Sep(3)

    May(2)

    Apr(4)

    Mar(7)

    Feb(10)

    Jan(8)ReadersDiscussionQuestionAnswersSection

    DatastageInterviewQuestionsandAnswersV1.5

    YourCommentsFeedbackandAppreciations

    DatastageBestPerformanceMonitoringMethods

    SequentialFileBestPerformanceTips/Settings

    DatastageInterviewQuestionsandAnswersV1.4

    UnixFilePermissioninDetailschmodCalculator

    EnvironmentVariablesUseForPerformanceTuning

    2013(48)

    2012(4)

    OTHERDATASTAGEQUESTIONSSOLUTIONS

    Datastage8.5,8.7and9.1Differences

    Datapartitioning&collectingmethodsExamples

    DatastageTransformerStageLoopingconcept

    IBMDatastage9.1NewlyAddedfeatures

    DATASTAGEPerformanceTuningTipsV1.1

    ParametersUsingParameter/ValueSet/ValueFile

    DatastageScenarioBasedQuestion/Answer:1

    SurrogateKeyGeneratorImplementation

    DatastageInterviewQuestionsandAnswersV1.4

    MYMOSTPOPULARFREQUENTLYACCESSEDPOSTS

    0 More NextBlog

  • 1/21/2016 DEV'SDATASTAGETUTORIAL,GUIDES,TRAININGANDONLINEHELP4U.UNIX,ETL,DATABASERELATEDSOLUTIONS:DatastageInte

    http://datastageinfoguide.blogspot.in/2014/01/datastageinterviewrelatedquestions.html 2/6

    #Types of views in Datastage Director?#How do you execute datastage job from command line prompt?#Functionality of Link Partitioner and Link Collector?#What are the types of jobs available in datastage?#What are the types of jobs available in datastage?#What is the difference between Server Job and Parallel Jobs?#What is a project#What is sequencer# What is a container# What are different types of containers# What are mainframe jobs# What are parallel jobs# How do you use procedure in datastage job#What is odbc stage#What is hash file ? what are its types?# What type of hash file is to be used in general in datastage jobs# What is a stage variable?#What are constraints and derivations?# How do you reject records in a transformer?#Why do you need stage variables?#What is the precedence of stage variables,derivations, and constraints?#What are data elements?#What are routines ?#What are transforms and what is the differenece between routines and transforms#What a datastage macro?#What is job control ?#How many types of stage.#Define the difference between active and Passive Stage#What are the plugin stages used in your projects.#What is Plug in stage , How to install plugin stages.#What is Sort plugin.#What is Aggregate stage.#What is the hash file stage and Sequential file stage.#What types of flat files you used.have you used tab delimited.#What is the Job control code

    1. What are the main features of datastage?DKDataStage has the following features to aid the design and processing required to build a data warehouse:

    A. Uses graphical design tools. With simple point and click techniques you can draw a scheme torepresent your processing requirements.

    B. Extracts data from any number or types of database.C. Handles all the metadata definitions required to define your data warehouse.D. You can view and modify the table definitions at any point during the design of your application.E. Aggregates data.F. You can modify SQL SELECT statements used to extract data.G. Transforms data. DataStage has a set of predefined transforms and functions. you can use to

    convert your data. You can easily extend the functionality by defining your own transforms to use.H. Loads the data warehouse.

    2. What are Stage Variables, Derivations and Constants?DKA. Stage Variable An intermediate processing variable that retains value during readand doesnt pass the value into target column.Derivation Expression that specifies value to be passed on to the target column.Constant Conditions that are either true or false that specifies flow of data with a link.

    3. Types of views in Datastage Director?DKThere are 3 types of views in Datastage Directora) Job View Dates of Jobs Compiled.b) Log View Status of Job last runc) Status View Warning Messages, Event Messages, Program Generated Messages.

    4. How do you execute datastage job from command line prompt?DKA) Using "dsjob" command as follows.dsjob run jobstatus projectname jobname

    5. Functionality of Link Partitioner and Link Collector?

    UnlockDatastageJobsusingCommands

    LISTOFVISITOR'SCOUNTRIES

    RECENTLYVISITEDUSER'SLOCATIONLiveTrafficFeed

    RealtimeviewGetFeedjit

    AvisitorfromKolkata,WestBengal"DEV'SDATASTAGETUTORIAL,GUIDES,TRAININGANDONLINEHELP4U.UNIX,ETL,DATABASERELATEDSOLUTIONS:PivotEnterpriseStage:VerticalPivotingSteps"5minsagoAvisitorfromKolkata,WestBengal"DEV'SDATASTAGETUTORIAL,GUIDES,TRAININGANDONLINEHELP4U.UNIX,ETL,DATABASERELATEDSOLUTIONS:PivotEnterpriseStage:VerticalPivotingSteps"7minsagoAvisitorfromIndiaviewed"DEV'SDATASTAGETUTORIAL,GUIDES,TRAININGANDONLINEHELP4U.UNIX,ETL,DATABASERELATEDSOLUTIONS:FrequentlyUsedUnixCommands"9minsagoAvisitorfromIndiaviewed"DEV'SDATASTAGETUTORIAL,GUIDES,TRAININGANDONLINEHELP4U.UNIX,ETL,DATABASERELATEDSOLUTIONS:DatastageInterviewQuestionsandAnswersV1.4"12minsagoAvisitorfromSanBruno,California"DEV'SDATASTAGETUTORIAL,GUIDES,TRAININGANDONLINEHELP4U.UNIX,ETL,DATABASERELATEDSOLUTIONS:DatastageTransformerStageLoopingconcept"agoAvisitorfromChennai,TamilNadu"DEV'SDATASTAGETUTORIAL,GUIDES,TRAININGANDONLINEHELP4U.UNIX,ETL,DATABASERELATEDSOLUTIONS:Datapartitioning&collectingmethodsExamples"30minsagoAvisitorfromHyderabad,AndhraPradeshviewed"DEV'SDATASTAGETUTORIAL,GUIDES,TRAININGANDONLINEHELP4U.UNIX,ETL,DATABASERELATEDSOLUTIONS:DatastageRelatedProblemsandSolutions"39minsagoAvisitorfromTokyoviewed"DEV'SDATASTAGETUTORIAL,GUIDES,TRAININGANDONLINEHELP4U.UNIX,ETL,DATABASERELATEDSOLUTIONS:DW&BICertificationsRelatedInformation&Dumps45minsago

    AvisitorfromPlymouth,Minnesota"DEV'SDATASTAGETUTORIAL,GUIDES,TRAININGANDONLINEHELP4U.UNIX,ETL,DATABASERELATEDSOLUTIONS:DW&BIInterviewRelatedQuestionsandAnswers"49minsagoAvisitorfromChennai,TamilNadu"DEV'SDATASTAGETUTORIAL,GUIDES,TRAININGANDONLINEHELP4U.UNIX,ETL,DATABASE

    MYBLOGPOSTS

    DEV'SDATAWAREHOUSINGHELPGUIDECOLLECTSTATISTICSINTERADATA2monthsago

  • 1/21/2016 DEV'SDATASTAGETUTORIAL,GUIDES,TRAININGANDONLINEHELP4U.UNIX,ETL,DATABASERELATEDSOLUTIONS:DatastageInte

    http://datastageinfoguide.blogspot.in/2014/01/datastageinterviewrelatedquestions.html 3/6

    5. Functionality of Link Partitioner and Link Collector?A)Link Partitioner: It actually splits data into various partitions or data flows usingvarious partition methods.Link Collector: It collects the data coming from partitions, merges it into a single dataflow and loads to target.

    6. What are the types of jobs available in datastage?DK

    A. Server JobB. Parallel JobC. Sequencer JobD. Container Job

    7. What is the difference between Server Job and Parallel Jobs?A. Server jobs were doesnt support the partitioning techniques but parallel jobs support the

    partition techniques.B. Server jobs are not support SMTP,MPP but parallel supports SMTP,MPP.C. Server jobs are running in single node but parallel jobs are running in multiple nodes.D. Server jobs prefer while getting source data is low but data is huge then prefer the

    parallel

    8. What is a projectDatastage Projects : A Complete project may contain several jobs and userdefined components .Project Contain Datastage jobs.Builtin components . These are predefined components used in job.Userdefined components . These are customized components created using the Datastage manager .each userdefined component performs a specific task in a job .

    All work done in project. Projects are created during and after installation process.you can add projecton the Projects tab of Administrator.A project is associated with a directory.The Project directory is used by DataStage to store jobs andother datastage objects and metedata.

    9. What is sequencerGraphically create controlling job, without using the job control function.

    10. what is a containerA group of stages and link in a job design is called container.There are two kinds of Containers:Local and Shared.Local Containers only exist within the single job they are used. Use Shared Containers to simplifycomplex job designs.Shared Containers exist outside of any specific job. They are listed in the Shared Containers branch isManager. These Shared Containers can be added to any job. Shared containers are frequently used toshare a commonly used set of job components.A Job Container contains two unique stages. The Container Input stage is used to pass data into theContainer. The Container Output stage is used to pass data out of the Container.

    11. what are different types of containersLocal containers. These are created within a job and are only accessible by that job. A local containeris edited in a tabbed page of the jobs Diagram window.Shared containers. These are created separately and are stored in the Repository in the same way thatjobs are. Instances of a shared container can be inserted into any server job in the project. Sharedcontainers are edited in their own Diagram window.

    12. what are mainframe jobsA Mainframe job is complied and run on the mainframe , Data Extracted by such jobs is then loaded intothe datawarehouse .

    13. what are parallel jobsThese are compiled and run on the DataStage server in a similar way to server jobs , but support parallelprocessing on SMP,MPP and cluster systems

    14. how do you use procedure in datastage jobUse ODBC plug,pass one dummy colomn and give procedure name in SQL tab.

    15. What is odbc stage

  • 1/21/2016 DEV'SDATASTAGETUTORIAL,GUIDES,TRAININGANDONLINEHELP4U.UNIX,ETL,DATABASERELATEDSOLUTIONS:DatastageInte

    http://datastageinfoguide.blogspot.in/2014/01/datastageinterviewrelatedquestions.html 4/6

    A Stage that extracts data from or loads data into a database that implements the industry standardOpen Database Connectivity API. Used to represent a data source , an aggregation step , or target datatable ( Server Job Only )

    16. What is hash file ? what are its types?Hash file is just like indexed sequential file , this file internally indexed with a particular key value .There are two type of hash file Static Hash File and Dynamic Hash File .

    17. what type of hash file is to be used in general in datastage jobsStatic Hash File .

    18. what is a stage variable?In Datastage transformation , we can define some variable and define Value from source .

    19. What are constraints and derivations?We can create constraints and derivations with datastage variable .

    20. how do you reject records in a transformer?DKThrough datastage constraint we can reject record .

    21. Why do you need stage variables?That is depend upon job requirement , through stage variable we can file data.

    22. What is the precedence of stage variables,derivations, and constraints?stage variables =>constraints=> derivations

    23. What are data elements?A specification that describes the type of data in a column and how the data is converted .

    24. What are routines ?In Datastage routine is just like function , which we call in datastage job . there are InBuilt routine andand also we can create routine .

    25. What are transforms and what is the differenece between routines and transformsTransforms is used to manipulate data within datastage job .

    26. What a datastage macro?DKIn datastage macro can be used in expressions , job control routines and before / after subroutines . Theavailable macros are concerned with ascertaining job status .

    27. What is job control ?A job control routine provides the means of controlling other jobs from the current job . A set of one ormore jobs can be validated, run ,reset , stopped , scheduled in much the same way as the current jobcan be .

    28. How many types of stage?DKThere are three basic type of stageBuiltin stages : Supplied with DataStage and used for extracting , aggregating , transforming , orwriting data . All type of job have these stage .Plugin stage : Additional stages that can be installed in DataStage to perform specialized tasks thatthe builtin stages do not support. Server jobs and parallel jobs can make use of these .Job Sequence Stages : Special builtin stages which allow you to define sequences of activities to run.Only job sequencer have these

    29. Define the difference between active and Passive Stage?There are two kinds of stages:Passive stages define read and write access to data sources and repositories. Sequential ODBC HashedActive stages define how data is filtered and transformed. Transformer Aggregator Sort plugin

    30. What are the plugin stages used in your projects.PlugIn Stage : A Stage that performd specific processing that is not supported by the standard serverjob stage .Used Plugin ORAOCI8, Orabulk.

    31. What is Plug in stage , How to install plugin stages.Installation : Plugin stages are added to the Diagram window in the same way as builtin stages. Toadd a plugin stage:

  • 1/21/2016 DEV'SDATASTAGETUTORIAL,GUIDES,TRAININGANDONLINEHELP4U.UNIX,ETL,DATABASERELATEDSOLUTIONS:DatastageInte

    http://datastageinfoguide.blogspot.in/2014/01/datastageinterviewrelatedquestions.html 5/6

    NewerPost OlderPostHome

    Subscribeto:PostComments(Atom)

    Reactions: Like (0) Useful (0) Dislike (0)

    A. Do one of the following: Choose the stage type from the Insert menu. Click the appropriate stage button on the tool palette.B. Click in the Diagram window where you want to position the stage. The stage appears as a square in the

    Diagram window. Some information about PlugIn StageYou may find that the builtin stage types do not meet all your requirements for data extraction or transformation.In this case, you need to use a plugin stage. The function and properties of a plugin stage are determined by theplugin used when the stage is inserted. Plugins are written to perform specific tasks, for example, to bulk loaddata into a data mart. Two plugins are always installed with DataStage: BCPLoad and Orabulk. You can also choose to install a number ofother plugins when you install DataStage.You can write plugins. However, contact your local Ascential office before creating a plugin, as there are a rangeof plugins already available that may meet your needs.

    30. Difference Between ORAOCI8 and Orabulk?DKORAOCI8 : This Stage allow to connect Oracle Database .OraBulk : The Orabulk plugin generates control and data files for bulk loading into a single table on anOracle target database. The files are suitable for loading into the target database using the Oraclecommand sqlldr.

    32. What is Sort plugin.A mainframe processing stage that sorts input columns

    33. What is Aggregate stage.A stage type that compute s totals or other functions of set of data .

    34. What is the hash file stage and Sequential file stage.A stage that extracts data or load data into database that contain hashed file .

    35. What types of flat files you used.have you used tab delimited.Sequential flat file with comma separated .

    36. What is the Job control codeJob control code used in job control routine to creating controlling job, which invokes and run otherjobs.

    Go to The Top Of the Page

    Recommend this on Google

    0Comments DK.DSXchangeDWBITutorial Login1

    Share SortbyNewest

    Startthediscussion

    Bethefirsttocomment.

    Subscribe AddDisqustoyoursiteAddDisqusAddd Privacy

    Recommend

    DISQUS

    Allcontentprovidedonthishttp://datastageinfoguide.blogspot.inblogisforinformationalpurposesonly.Some/Fullpartofcontentscopiedfromotherinformationalsiteaswell.Theownerofthis blog makes NO representations as to the accuracy or completeness of any information on this site or found by following any link on this site.The owner ofhttp://datastageinfoguide.blogspot.inwill notbe liable foranyerrorsoromissions in this informationnor for theavailabilityof this information.Theownerwill not be liable for any losses,

    DISCLAIMER

  • 1/21/2016 DEV'SDATASTAGETUTORIAL,GUIDES,TRAININGANDONLINEHELP4U.UNIX,ETL,DATABASERELATEDSOLUTIONS:DatastageInte

    http://datastageinfoguide.blogspot.in/2014/01/datastageinterviewrelatedquestions.html 6/6

    injuries,ordamagesfromthedisplayoruseofthisinformation.DataStageandallInfoSphereDataStagebasedmarksareregisteredtrademarksofIBM,Inc.intheU.S.andothercountries.DataStageTrainingOnlinehasnoaffiliationwithIBM,Inc.andnocoursesofferedbyDataStageTrainingOnlineareendorsedbyIBM,Inc.inanyway.

    .

    FINDYOURPROBLEMSSOLUTIONHERE..!

    PictureWindowtemplate.PoweredbyBlogger.