Can we export joblog to a file

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Post by DSRajesh »

yes
Last edited by DSRajesh on Mon May 19, 2008 7:52 am, edited 1 time in total.
RD
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Post by DSRajesh »

Its simple to create the job
Last edited by DSRajesh on Mon May 19, 2008 7:53 am, edited 1 time in total.
RD
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

If you look, you'll notice the jobs are not producing 'excel' files but rather simple 'csv' or comma separated value files. They can then be opened by Excel and (if desired) saved back as an xls file.

Take all the defaults in the Sequential File stage and you'll get a csv file, but you'll probably want to include column name headers as well.
-craig

"You can never have too many knives" -- Logan Nine Fingers
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Post by DSRajesh »

ll
Last edited by DSRajesh on Mon May 19, 2008 7:54 am, edited 1 time in total.
RD
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

There's a wealth of information here on getting information out of job logs, all you need to do is search for it. Check the online help for the various DSGetLog related functions, if you want to write a routine, or the Command Line Interface section in the Server Job Developer's Guide if you want to tackle this from a scripted standpoint.

Jeawin has offered to send their jobs to anyone for the asking, why not ask them? Or download ETLStats from Kim Duke's website. Not only will you get the full ETLStats goodness, but there will be lots of examples on how to farm the crap out of your job logs. And I mean 'crap' in a good sense. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Post by DSRajesh »

yes
Last edited by DSRajesh on Mon May 19, 2008 7:53 am, edited 1 time in total.
RD
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

hi Jeawin,

can u send me your jobs to priyadarshikunal@gmail.com

thanks in advance
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
bnet2
Participant
Posts: 1
Joined: Sat Dec 06, 2008 1:44 pm
Location: 93130

Can we export joblog to a file

Post by bnet2 »

hi jeawin
I desperately sought a routine that allows you to set the log of the director,
I came across your example that I draw my attention,
I wanted to know me if you can share your solution
Can u send me your jobs to bnet_2@yahoo.fr :?:
Thank you in advance
Nobody is perfect, ....I'm Nobody
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

If you checked, you'd find they haven't posted here in a while so good luck with that. Did you read the entire thread? Ray noted a post with everything anyone would need to get them going, give it a shot:

viewtopic.php?t=90083
-craig

"You can never have too many knives" -- Logan Nine Fingers
mandyli
Premium Member
Premium Member
Posts: 898
Joined: Wed May 26, 2004 10:45 pm
Location: Chicago

Post by mandyli »

Hi

I am also facing same kind of issue.

Can you please provide code for this?


Thanks
Man
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Did you even bother to look at the link Craig posted, or do you just want everything handed to you on a silver platter?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
pandujoy
Participant
Posts: 70
Joined: Tue May 13, 2008 1:37 pm

Re: Can we export joblog to a file

Post by pandujoy »

if u r using DS8.1 or 8.0.1 ..go to the information analyzer and import ur log file...thats pretty easy :)
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Re: Can we export joblog to a file

Post by ray.wurlod »

pandujoy wrote:if u r using DS8.1 or 8.0.1 ..go to the information analyzer and import ur log file...thats pretty easy :)
DSXchange is NOT a mobile telephone!!! Please DO NOT use SMS-style abbreviations.
:x
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply