Search found 56 matches

by nirdesh2
Mon May 11, 2009 5:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file read problem with a timestamp
Replies: 7
Views: 7963

Re: Sequential file read problem with a timestamp

Set the NullFieldValue in Format tab under the default value in target sequential file. Set it to "".
by nirdesh2
Mon May 11, 2009 3:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file read problem with a timestamp
Replies: 7
Views: 7963

Re: Sequential file read problem with a timestamp

If Timestamp column is having null values then correct way to read the timestamp column will be using varchar datatype and then convert it into Timestamp. If value is null then use setnull() function to set the null values.
If IsNotNull(d3) Then StringToTimestamp(d3) Else SetNull()
by nirdesh2
Mon May 11, 2009 3:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file read problem with a timestamp
Replies: 7
Views: 7963

Re: Sequential file read problem with a timestamp

If Timestamp column is having null values then correct way to read the timestamp column will be using varchar datatype and then convert it into Timestamp. If value is null then use setnull() function to set the null values.
by nirdesh2
Mon May 11, 2009 3:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: condition check
Replies: 3
Views: 1412

Re: condition check

You can use Alpha() for checking A-Z & a-z and Num() function for checking 0-9 digits. I think this will help you to check any special character.
by nirdesh2
Mon May 11, 2009 3:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: condition check
Replies: 3
Views: 1412

Re: condition check

You can use Alpha() for checking A-Z & a-z and Num() function for checking 0-9 digits. I think this will help you to check any special character.
by nirdesh2
Mon May 11, 2009 3:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file read problem with a timestamp
Replies: 7
Views: 7963

Re: Sequential file read problem with a timestamp

You can read the data using varchar and then convert it into Timestamp if the column value is not null.
by nirdesh2
Sat May 09, 2009 12:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job export utility
Replies: 5
Views: 1355

I am looking for that script...If some one can provide some idea or sample script then it will be very helpfull.Can someone provide necessary ds command that needs to be used in script..
by nirdesh2
Sat May 09, 2009 4:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job export utility
Replies: 5
Views: 1355

Job export utility

We have 100 jobs in dev environment and we have to move all the job in test environment. We have to export single job at a time. we cant take the export of full project at a time(This is the requirement). Is there any command or utility that can be used to take export of all the jobs(one job at a ti...
by nirdesh2
Fri May 08, 2009 4:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: COMBINE RECORDS
Replies: 3
Views: 2371

You can use stage vaaiables in Transforme to implement this logic. Compare the currect record with previous record and concate the value in one column till keys are same and then you can use Column import and remove duplicate stage to remove duplicate record and retain the last record..
by nirdesh2
Wed May 06, 2009 6:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: TIMESTAMP CONVERSION
Replies: 8
Views: 3312

Re: TIMESTAMP CONVERSION

You can use the following function to convert the date into desired format DD[1,2]:'-':DD[3,2]:'-':DD[5,2]:' ': DD[7,2]: ':' :DD[9,2]: ':' :DD[11,2]

*Note: Smilies disabled in post - Content Editor*
by nirdesh2
Wed May 06, 2009 6:27 am
Forum: General
Topic: Getting part of a filename
Replies: 16
Views: 8583

You can use 'File Name Column' option to get the filename with the file data.
by nirdesh2
Tue May 05, 2009 2:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file delimiter problem
Replies: 2
Views: 1162

Re: Sequential file delimiter problem

Just Press the Enter at the end of the file and try to run your job.
by nirdesh2
Tue May 05, 2009 2:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: What is the purpose of TMPDIR in Administrator.
Replies: 3
Views: 1860

Thnaks a lot for your valuable response.
by nirdesh2
Wed Apr 29, 2009 3:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data type check
Replies: 6
Views: 2627

You can use NUM function to check numerical(integer) value and Alpha function to check string values.
by nirdesh2
Wed Apr 29, 2009 3:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data type check
Replies: 6
Views: 2627

You can use NUM function to check numerical value and Alpha function to check string values.