Search found 103 matches

by sagar deshmukh
Thu Apr 28, 2011 4:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue wit data extraction
Replies: 2
Views: 3401

Issue wit data extraction

I Have query defined in Teradata enterprise stage as below: select trim( Fsc_Yr_Num-1 || '0101') as TIMEID from dev_user_view.cldr where cldr_dt = '#Current_Date#' '#Current_Date#' is a parameter which I am passing through sequencer. But the job aborts with below error : Teradata_Enterprise_24,0: AP...
by sagar deshmukh
Wed Apr 27, 2011 3:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Current date in Teredata
Replies: 9
Views: 6789

Hi Thanks this solution is working.... but again i have issue when i am putting a where clause as


where CLDR_DT = CURRENT_DATE - 1

for this clause it fails.
by sagar deshmukh
Wed Apr 27, 2011 1:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Current date in Teredata
Replies: 9
Views: 6789

Tried that, its not working.
by sagar deshmukh
Wed Apr 27, 2011 12:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Current date in Teredata
Replies: 9
Views: 6789

Current date in Teredata

Hi, Could you please suggest me how can I get current date if I am executing below Query in Teradata Enterprise stage. Query : SELECT PREV_YR_DT,DATE FROM cldr This query works fine in SQL editor but when I am executing in Teradata enterprise stage its failing. Is there any way to get Current Date t...
by sagar deshmukh
Wed Apr 13, 2011 4:09 am
Forum: General
Topic: Server routine help needed
Replies: 6
Views: 4505

Thanks A lot this really helped.
by sagar deshmukh
Tue Apr 12, 2011 6:18 am
Forum: General
Topic: Server routine help needed
Replies: 6
Views: 4505

Hi,

I am geting mail like this :

Code: Select all

-----Original Message-----
From: DataStage-Development@.com [mailto:DataStage-Development@.com]
Sent: Tue 4/12/2011 7:33 AM
To: Sagar Deshmukh
Subject: rJobHandle Failed !
 
SummaryArray

by sagar deshmukh
Tue Apr 12, 2011 5:48 am
Forum: General
Topic: Server routine help needed
Replies: 6
Views: 4505

Hi, Sorry for wrong words, 1)I am getting error logs as below : SummaryArray = DSGetLogSummary(rJobHandle, DSJ.LOGFATAL, JobStartTime, JobEndTime, 0) these error logs captured in "SummaryArray" needs to pass to the below DSSendMail , which is not happeing here.... Mail = DSSendMail("F...
by sagar deshmukh
Tue Apr 12, 2011 5:09 am
Forum: General
Topic: Server routine help needed
Replies: 6
Views: 4505

Server routine help needed

Hi , I have written a routine to extract the Fatal error logs and send it through mail. Routine is as follows : - $INCLUDE DSINCLUDE JOBCONTROL.H ***CallingProgName = DSJ.ME rJobHandle = DSAttachJob(Jobname, DSJ.ERRNONE) JobStartTime = DSGetJobInfo(rJobHandle, DSJ.JOBSTARTTIMESTAMP) JobEndTime = DSG...
by sagar deshmukh
Tue Apr 05, 2011 1:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSTAGE-TERA-0113`:`Row rejected.
Replies: 4
Views: 4841

DSTAGE-TERA-0113`:`Row rejected.

Hi, I have simple job, Seq stage --> Trasformer --> Teradata. I am reading just one record from Seq file, I have manually edited the record, everything is perfect about the record.. Record :- "C",74236526445,"HORIZON",64.00,"EA","OZ","64 OZ",789788,&...
by sagar deshmukh
Tue Feb 08, 2011 9:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Remove Box character
Replies: 6
Views: 3763

convert(char(00),"", ABCD)

This is working, thanks for your help.
by sagar deshmukh
Tue Feb 08, 2011 8:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Remove Box character
Replies: 6
Views: 3763

sorry for the 20 previously mentioned..just downloaded another hex editor here its showing 00..this is the hex value
by sagar deshmukh
Tue Feb 08, 2011 6:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Remove Box character
Replies: 6
Views: 3763

Hi, I am really sorry , I am not aware of this..How to do this?
by sagar deshmukh
Tue Feb 08, 2011 4:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Remove Box character
Replies: 6
Views: 3763

Remove Box character

Hi, I have a job where I am pulling data from VSAM using ODBC then trasformer and then finally loading into Teradata DB. for one of the column i am getting BOX character, In hex editor the value of BOX character is 20. I tried below functions, but nothing is working for me please help me out. functi...
by sagar deshmukh
Mon Aug 23, 2010 4:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Implicit conversion from source type string[max=20]
Replies: 7
Views: 6762

Hi

My target source everything is 20 bytes...That is why I am wondering why this is happeing?