Search found 14 matches

by ZDC
Wed Oct 01, 2008 4:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQLServer varchar returning truncated string
Replies: 4
Views: 2077

Nothing seems wrong with the ODBC con . I have checked it using C# code and it returns the proper value and not a truncated one.
any other setting i should check for ?
by ZDC
Tue Sep 30, 2008 5:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQLServer varchar returning truncated string
Replies: 4
Views: 2077

I am afraid it is giving me the same result with LongVarchar as well :cry:
by ZDC
Tue Sep 30, 2008 4:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQLServer varchar returning truncated string
Replies: 4
Views: 2077

SQLServer varchar returning truncated string

Hi, I am reading a varchar(8000) column from MSSQL Server 2000 using SQLServer enterprise Stage. The actual value in the column is 2300 characters. The output from the job is a truncated string of 255 characters followed by char(0) characters. The total character count in the output is 8000. sorry i...
by ZDC
Fri Aug 08, 2008 5:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling a MSSQL server Stored procedure
Replies: 0
Views: 786

Calling a MSSQL server Stored procedure

Hi,

I need to call a MSSQL server stored procedure from DS and the stored procedure stage in this version only supports Oracle .

Is there any way I can call this SP other than using SP stage?

I found Ray's comment saying it can be done using an ODBC stage (?)

thanks,
by ZDC
Thu Jul 31, 2008 6:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove "," from a file to read each field
Replies: 4
Views: 1784

It looks like your record will have minimum 4 cols ..
If so you can read your file using following schema in seq file stage
Col1
Col2
Col3
Col4
RemCol
(?)
by ZDC
Thu Jul 31, 2008 6:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: date Format YYYYMMDD check
Replies: 10
Views: 3786

how about this ...

If DateStr=DatetoString(StringtoDate(DateStr,"%yyyy%mm%dd"),"%yyyy%mm%dd") Then valid else invalid
by ZDC
Thu Jul 31, 2008 6:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Partitioning sort and Sort Stage
Replies: 5
Views: 4297

Partitioning sort and Sort Stage

description : I got a job abort with an err saying " xf_OpCnt,0: Fatal Error: Unable to initialize communication channel on SRVDA007. This is typically caused by a configuration problem. Examples of typical problems include: 1) The temporary directory, identified by $TMPDIR and/or the scratch d...
by ZDC
Wed Dec 05, 2007 9:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Difference between times
Replies: 8
Views: 2852

Hi , while using hoursfromtime function if hours from Time 1 is greater than hours from Time 2 just add 24 to the time 2 hrs and then do the calculations. eg. Time 1 - 23:59:59 Time 2 - 00:00:01 if hoursfromtime(Time 1)>hoursfromtime(Time 2) then {hoursfromtime(time2)+24} else hoursfromtime. so outp...
by ZDC
Wed Dec 05, 2007 5:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Difference between times
Replies: 8
Views: 2852

Hi there, If you have two time columns like 20:20:20 as HH:MM:SS then i think it can be done this way, use hoursfromtime,minutesfromtime and secondsfromtime function in variables, get the difference between two columns in variables in hours,minutes and seconds. multiply diff in hr by 3600,min by 60 ...
by ZDC
Thu Nov 29, 2007 11:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Is RCP works with Aggregator ?
Replies: 5
Views: 2976

if RCP is used for Aggregator stage only those column will go to output , which are there in the mapping tab of aggregator on the left side(left side on the mapping tab).I have tried it once with sequential file as input to aggregator and sequential file as output to aggregator. Is this interview qu...
by ZDC
Thu Nov 29, 2007 10:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dsenv & orchadmin
Replies: 9
Views: 8132

Hi csrazdan,

I tried it and it worked

cheers,
ZDC
by ZDC
Thu Nov 29, 2007 10:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting Date format from YYYY-MM-DD to YYYYMMDD
Replies: 12
Views: 19713

Hi there,
As DSGuru suggested ...
Just go to
format tab>type defaults and then go for the date ,
change the format string to %yyyy%mm%dd in the output tab,it will work for sequential file as i have done this in past.No need to worry about datatype.



Cheers,
ZDC
by ZDC
Fri Nov 23, 2007 9:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: IConv function behaving differently in DS 7.5.2 and 7.5
Replies: 18
Views: 5737

Sai, This is hit and trial solution,Please use Oconv function with different options for the value 14567 in 7.5.2 version and check out for which option it returns you value 20071118 or 2007 11 18 and then use that option. if it didnt work then please contact ascential suport for this problem. I hop...
by ZDC
Fri Nov 23, 2007 6:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: IConv function behaving differently in DS 7.5.2 and 7.5
Replies: 18
Views: 5737

Hi there,

Actually it sounds very strange.Could you provide some sample date data and differences in results in the DS versions.

Cheers,
ZDC