Search found 324 matches

by sachin1
Thu Jan 17, 2008 10:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: aggrigating the data
Replies: 9
Views: 2262

Re: aggrigating the data

in derivation just put column name as it is and see what do you get without checking group by check box.
by sachin1
Thu Jan 17, 2008 9:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: aggrigating the data
Replies: 9
Views: 2262

Re: aggrigating the data

just to give u an example SQL> select * from tbb1; COL1 COL2 DT1 ---------- ---------- --------- 1 1 17-JAN-08 1 1 18-JAN-08 1 1 19-JAN-08 1 2 19-JAN-08 2 2 19-JAN-08 1 1 21-JAN-08 ---------------------------------------above is input -------------------------- you want an output like SQL> select co...
by sachin1
Thu Jan 17, 2008 9:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: aggrigating the data
Replies: 9
Views: 2262

Re: aggrigating the data

do you want all the columns to be propageted.
by sachin1
Wed Jan 16, 2008 10:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: First Day of the month
Replies: 5
Views: 2704

Hello as mentioned by kcbland that first day is always 1 then below code can help you.


'01':'-':OCONV(month.first(month.tag(date()))-1,'D-MY[2,4]')
by sachin1
Wed Jan 16, 2008 3:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Create Account Name for a Hashed File
Replies: 6
Views: 2837

if it is left blank, it uses current projcet or account for its storage.
by sachin1
Thu Jan 10, 2008 7:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating pdf files from datastage
Replies: 3
Views: 3284

Re: Creating pdf files from datastage

as said by Andrw you need to take help of some third party tool.
by sachin1
Thu Jan 10, 2008 12:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: What is the use of pivot stage?
Replies: 3
Views: 2093

Pivot is an active stage that maps sets of columns in an input table to a single
column in an output table.

hope you have a pdf named "pivot.pdf" deployed with your Datastage software, that can help you know more.
by sachin1
Thu Jan 10, 2008 12:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting bulk data
Replies: 4
Views: 1975

hello friend,

my question is how are you going to segregate records in file, when you read all files in directory in one go.

becuase for folder stage we have only filename(key) and Records columns to work with.
by sachin1
Tue Jan 08, 2008 8:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Column to rows
Replies: 8
Views: 3996

your two input columns will be colname and colvalueinp.
by sachin1
Tue Jan 08, 2008 8:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Column to rows
Replies: 8
Views: 3996

Hello, In hurry i tried working for your doubt. job design like Input file ----->Transformer------>(2 output) you will require two stage variables. one colvalue and other valuecolumns.(stage variables). your two input columns will be colname and colvalue. define for colvalue -->colvalue :',': DSLink...
by sachin1
Wed Dec 19, 2007 10:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing Parameters from one server job to another in runtime
Replies: 3
Views: 1743

Re: Passing Parameters from one server job to another in run

hello please let us know where have your parameters like prev_Year, Month, Week, count, been stored, in sequential file or database.
by sachin1
Wed Dec 19, 2007 5:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server Routine
Replies: 6
Views: 2884

Re: Server Routine

hello, imagine your file named CRT_Requests_15112007.csv is in directory 'd:\datastage\data\india1\sachin' below code check's if file is present and does further processing. fichier2 = d:\datastage\data\india1\sachin\CRT_Requests_15112007.csv OpenSeq fichier2 to fic2 then CloseSeq fic2 Call DSLogWar...
by sachin1
Thu Dec 13, 2007 2:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: "Transformer Stage Constraint" to be parameterised
Replies: 5
Views: 3031

Re: "Transformer Stage Constraint" to be parameter

i agree with WoMaWil , where the code is to be put in constraint of transformer stage to populate values in target seq file according to your parameterized month value.
by sachin1
Wed Dec 12, 2007 7:57 am
Forum: General
Topic: I want to send a mail after the job with job status?
Replies: 4
Views: 1873

Re: I want to send a mail after the job with job status?

you can write a after job subroutine, which will track your job for successful execution and send a job status in mail. you can use Status_value = DSGetJobInfo (DSJ.ME, DSJ.JOBINTERIMSTATUS) * Status_value Returns the status of a job after it has run all stages and controlled jobs. IF Status_value =...
by sachin1
Mon Dec 10, 2007 2:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Any alternative for Substrings function?
Replies: 2
Views: 1008

Re: Any alternative for Substrings function?

hello dear taking your request into consideration,

following could help you,

suppose your string is str1=;1234567890' so your output will be like str1[3,10]:str1[1,1]

and the output is like 345678901

this is one of the method i think is efficient.