Search found 147 matches

by Titto
Fri Jul 22, 2005 12:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: STAGESTARTTIMESTAMP , STAGEENDTIMESTAMP
Replies: 9
Views: 2198

STAGESTARTTIMESTAMP , STAGEENDTIMESTAMP

I need to get the Stage Start timestamp and End Time stamp as part to log the timings and statuses of the each stage in my job. I am proving in Transformer stage where it write to a Seg log file DSGetStageInfo(DSJ.ME, DSStageName,DSJ.STAGESTARTTIMESTAMP) DSGetStageInfo(DSJ.ME, DSStageName,DSJ.STAGEE...
by Titto
Fri Jul 22, 2005 11:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write status in output file
Replies: 4
Views: 969

Thanks Arndw, I following the method of writing different HAsh file and writing to a Seq Output file using Transformer. I have one more question what kind of values does DSStageLastErr and DSLinkLaskErr macros set, I want to capture those to Log file. For example if stage or link completed succesful...
by Titto
Fri Jul 22, 2005 9:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write status in output file
Replies: 4
Views: 969

I am using a Seq file, as you said i can't use Seq file, hash file as it is going to be same key. So, how should i get the result what i am expecting.

thanks
by Titto
Fri Jul 22, 2005 9:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write status in output file
Replies: 4
Views: 969

Write status in output file

Hi,

Is it possible to use same file in 3 stages to write output status.
I am not able to write the first 2 stages status, i think it is overriding the last 2 stages statuses.

Thanks
by Titto
Mon Jul 18, 2005 7:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error while calling a job from Job Control Code
Replies: 14
Views: 7608

Hi Ray, May be my question was wrong. my requrement is - I will get a fine with values, i need to read those values and pass as parameters to next job and from that job to next job. I am trying to use JOB control to write a small code to read the seq file and Attach a Job with DSSetparam and call ne...
by Titto
Mon Jul 18, 2005 3:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error while calling a job from Job Control Code
Replies: 14
Views: 7608

Pass Parameter JOB Seq to another JOB Seq

Thanks Ray!!! I changed it - it is passing the parameters to next job and next job working fine but the main job aborted with following error "Job_Parms..JobControl (fatal error from DSGetJobInfo): Job control fatal error (-1) (DSGetJobInfo) Invalid job handle <Missing or NULL>" ----- I ha...
by Titto
Mon Jul 18, 2005 1:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error while calling a job from Job Control Code
Replies: 14
Views: 7608

Hi Sai,
I am kind of confused!!!
i added this code just before DSSetparm

If IsNull(JobHandle) Then
Msg = "job handle is Null:"
End

Guide me pls
by Titto
Mon Jul 18, 2005 1:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error while calling a job from Job Control Code
Replies: 14
Views: 7608

Hi Sai,

you mean

JobHandle = IsNull(DSAttachJob(TempJobName, DSJ.ERRFATAL))

Please clarify me!

Thanks
by Titto
Mon Jul 18, 2005 12:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error while calling a job from Job Control Code
Replies: 14
Views: 7608

Here is my Code Where A -to- K are values from ParameterFile and I am trying to call another job by passing A -to- K values as paramter. *---------------------------------------------------------------------------- * Get Parameters *-------------------------------------------------------------------...
by Titto
Mon Jul 18, 2005 12:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error while calling a job from Job Control Code
Replies: 14
Views: 7608

Error while calling a job from Job Control Code

Hi all, I am trying to run a job from Job Control in Job Parameters. Basically i get a file and i need to read the file to get the values as a parameters and call another job. But while i am running the main Job i am getting following error. "Job_Parms..JobControl (fatal error from DSSetParam):...
by Titto
Mon Jul 11, 2005 11:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Matching columns - Using TRIM
Replies: 2
Views: 1059

Matching columns - Using TRIM

Hi All, I have a input file which has CHAR(30) length column and i need to match this column with DB2 table CHAR(30) column to get the data, But the question is from the Input CHAR(30) i need to table only 28 char to match with table char values as the last 2 chars in input file has some value. So I...
by Titto
Fri Jul 08, 2005 12:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Search jobs that uses a particular file
Replies: 8
Views: 2451

where do we run the SQL provided by Kdude, is it in Universe Stage?
by Titto
Thu Jul 07, 2005 4:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 problem, Invalid string or buffer length. SQLSTATE=HY090
Replies: 6
Views: 4501

Same thing happenning with me also, Source is AS400 - DB2. I used User defined SQL to join 3 tables to get the data, when view the data it is perfectly retrieving the data but when I run the job it is aborting with "[IBM][CLI Driver] CLI0131E Invalid string or buffer length. SQLSTATE=HY090 SQLT...
by Titto
Tue Jul 05, 2005 8:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to load a DB2 table with Dummy?
Replies: 2
Views: 1593

How to load a DB2 table with Dummy?

Hi, How to load a DB2 table with Dummy? I need to clean up the table before inserting new rows. Yes there is an option in DB2 stage " Clean the table, then insert rows" but i need to use "User defined Insert statement" for my requirement. I tried with DELETE statement then INSERT...
by Titto
Wed Jun 29, 2005 11:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Phantom 20630
Replies: 4
Views: 1984

I guess i am moving Char value to Numeric value.
But how do we look the Line number it mention in the abort message..