Search found 219 matches

by parag.s.27
Wed Dec 06, 2006 2:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change Job Parameters at run time(middle of execution)
Replies: 1
Views: 774

Change Job Parameters at run time(middle of execution)

Hello , Is there any function by which we can change the job parameters of a job while it is under execution. To elaborate,the output of my job is a single sequential file.The name of this target file is parametrized using job parameters. Now the requirements is to create different target files as a...
by parag.s.27
Thu Nov 30, 2006 4:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Get source file at runtime
Replies: 1
Views: 947

Get source file at runtime

For folder stage,we are reading multiple flat files of a particular naming convention. We are putting all the output into a single flat file and we want to print the name of the source file(only once) in output file when the data from a new file begin....ie. the file which is currently being read fr...
by parag.s.27
Fri Nov 10, 2006 2:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Does datastage have the capabilty to write to a EXEL Spreads
Replies: 7
Views: 7583

Yes you can write in an excel using datastage. Just use an ODBC stage. Create DNS driver for excel in ODBC in Administrative tools. After creating the DNS. When you will open the ODBC stage in DS, you can select that DNS and you can link the excel. Keep in mind the fact that this answer is pretty m...
by parag.s.27
Thu Nov 09, 2006 10:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Does datastage have the capabilty to write to a EXEL Spreads
Replies: 7
Views: 7583

Yes you can write in an excel using datastage.

Just use an ODBC stage. Create DNS driver for excel in ODBC in Administrative tools.

After creating the DNS. When you will open the ODBC stage in DS, you can select that DNS and you can link the excel.
by parag.s.27
Fri Jul 07, 2006 2:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HTML to XML transform
Replies: 4
Views: 868

Hi All, Thanks for the reply..... I've found afreeware that converts HTML to XML.....now i'll need to transform this XML as per my need and again generate a XML... I just wanted to know that...in my server edition i do not have a folder stage...so by using XML input, XML transformer, and XML Output ...
by parag.s.27
Thu Jul 06, 2006 8:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HTML to XML transform
Replies: 4
Views: 868

HTML to XML transform

Hi All,

I have one situation...where we have to take some data from a HTML page and transform it to an XML output....how can we do that in server job....

i have DS version as 7.5.1.A..

Thanks in advance
by parag.s.27
Thu Jun 22, 2006 9:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate a Sequential file with a header and footer??
Replies: 14
Views: 4028

My mistake as usual...

hope this will help : -

first create file with header and detail data....and then use another link collector to include trailer to that newly created file.....

yup its complex....

so
Header + Detail = 1st link collector..
then
Header + Detail + Footer = 2nd link collector
by parag.s.27
Thu Jun 22, 2006 8:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Urgent question: How to dynamic set file names parameter
Replies: 9
Views: 3032

that is USERVARIABLE stage----->Routine Activity Stage---->then for ur final job give file path here for file name use and the stage name use: - <Routine Stage Name>.$ReturnValue every time this value should be fed to the job as a parameter
by parag.s.27
Thu Jun 22, 2006 8:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Urgent question: How to dynamic set file names parameter
Replies: 9
Views: 3032

If you know the exact column from where this data is comming then write a routine to read data from file...use help..

then in a sequence use routine execution stage to extact the data and pass it through a user variable stage...and now use this variable in file names
by parag.s.27
Thu Jun 22, 2006 7:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Same job with different functions
Replies: 5
Views: 1272

hey thanks all...

I used Kumar's method...its working
by parag.s.27
Thu Jun 22, 2006 7:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate a Sequential file with a header and footer??
Replies: 14
Views: 4028

to be more precise Header Data sequential file |if Stgcnt1=1 then (write the header data)1\ | ------>transformer--------->details2----------------2---Link collector | |if Stgcnt2=1 then (write footer data)3--/ footer Data sequential file
by parag.s.27
Thu Jun 22, 2006 7:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate a Sequential file with a header and footer??
Replies: 14
Views: 4028

no it will coz i did that just include 2 stage variables stgcnt1 and stgcnt2

then increment as stgcnt1+1 for stgcnt1
and
stgcnt2+1 for stgcnt2

and apply constraint..
for header- if stgcnt1=1 then.......
then simply details
and then footer as
if stgcnt2=1....

coz this will be satisfied only once
by parag.s.27
Thu Jun 22, 2006 7:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate a Sequential file with a header and footer??
Replies: 14
Views: 4028

Yes you can do it in a single job......
just create 3 files with header, details and footer....

and then use Link collector having proper link execution order...
by parag.s.27
Thu Jun 22, 2006 3:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Same job with different functions
Replies: 5
Views: 1272

Same job with different functions

Hi All, I am using a single job in a sequence for abt 5 times i.e same job is running 5 times in a single sequence. The first time it is executed it generates a balance sheet file for dec, next time jan and so on... Now i need that 1st time when it runs in the sequence it should simply overwrite the...
by parag.s.27
Tue Jun 13, 2006 5:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Duplicate Lookup Values
Replies: 7
Views: 2712

Ya i think i should make a seperate job and include in the sequence......
else thr is no option it seems....