Answered Questions

  • How do we pass parameters from UNIX?

    How do we pass parameters from UNIX? & How do we pass parameters by using UNIX shell scripting?

    mcrao1

    • Jul 11th, 2011

    Hi Amulaswe can pass parameter in UNIX command by using '-PARAM'.syntax:     -PARAM parameter_name %parameter value%Example:    -PARAM business_date %20110711%      RegardsChalapathirao.MHCL Technologies( Malaysia)+60182296096.

  • Datastage Job Scenario question

    input file A contains12345678910input file B contains6789101112131415Output file X contains12345Output file y contains678910Output file z contains1112131415How can we do in this in a single ds job in px ?....could you please give me the logic to implement ???

    Star Read Best Answer

    Editorial / Best Answer

    Answered by: vinod chowdary

    • Jul 28th, 2011


    Hello guy's, I would like to solve this by using the Change capture stage. First, i am going to use source as A and refrerence as B both of them are connected to Change capture stage. From, change capture stage it connected to filter stage and then targets X,Y and Z. In the filter stage: keychange column=2 it goes to X [1,2,3,4,5] Keychange column=0 it goes to Y [6,7,8,9,10] Keychange column=1 it goes to Z [11,12,13,14,15] Revert me PLz

    Priya Ranjan kumar

    • Aug 28th, 2017

    You can solve this question in easily way like.
    First use the funnel to take the input data from different sources and used check box for unique data(No duplicate data) then
    you can use transformer where you can apply logic like. @INROW

    Pavan Kumar

    • Jul 30th, 2015

    Using change capture stage:

    File1(Master),File2----> change capture---> Filter ---->
    T1, T2, T3
    In Filter,
    Change_code=1 then send then to T1-->(Insert records)
    Change_code=0 then send then to T2-->(Copy records)
    Change_code=2 then send then to T3-->(Delete records)

  • what is job control?how it is developed?explain with steps?

    mcrao1

    • Oct 21st, 2010

    Control table perform a small verification before running job, Control table will help avoid running query number of times when we are expecting to run single time in a day. Control table contains fields like JOBID,JOB_NAME,PREVIESE_RUN_DATE,

    Thank you.
    -chalapathirao.m AT hcl DOT com

    Guest

    • Jul 14th, 2006

    Controlling Datstage jobs through some other Datastage jobs. Ex: Consider two Jobs XXX and YYY. The Job YYY can be executed from Job XXX by using Datastage macros in Routines.To Execute one job from o...

  • How do we do the automation of dsjobs?

    mcrao1

    • Jun 4th, 2012

    DataStage Job run from Unix Command Line I am running DataStage Job from Unix Command Line with job level parameters the job is getting abort , can someone correct if there is any syntax problem in t...

    Pavan

    • Aug 29th, 2005

    We can call Datastage Batch Job from Command prompt using 'dsjob'. We can also pass all the parameters from command prompt. Then call this shell script in any of the market available schedulers. The 2nd option is schedule these jobs using Data Stage director.