Search found 288 matches

by dspxlearn
Wed Jun 03, 2009 8:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: datasets
Replies: 5
Views: 2646

:idea: So, for long term backup should we load them to sequential files eventually?
by dspxlearn
Wed Jun 03, 2009 8:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Difference between ISNOTNULL(string) and LEN(TRIM(string))&g
Replies: 3
Views: 1792

I suggest this code:

Code: Select all

If IsNotNull(string)
Then if Len(Trim(string)) > 0
        Then <do something>
Else <do something>
by dspxlearn
Wed Jun 03, 2009 8:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data needs to change
Replies: 5
Views: 2169

Seems, your duplicate post did not work :o

viewtopic.php?t=127512
by dspxlearn
Wed Jun 03, 2009 1:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data needs to change
Replies: 4
Views: 2518

It seems you are getting date timestamp before your string. USG123 20090403145343 NES2_Erc_VTTF2972.data USG104 20090515091147 HYD_MSS3_VTTF9741.data If this is always the same case, you could probably use something like Col1[21,Len(Field(Col1,'_',2))] Col1 --> Your source column in Varchar format
by dspxlearn
Wed Jun 03, 2009 1:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null handling in transformer
Replies: 19
Views: 11621

By viewing the data from the sequential file are you seeing a single space or multiple spaces or nothing for that paticular record?
by dspxlearn
Tue May 26, 2009 6:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dsjob returncodes
Replies: 4
Views: 3255

Check this out.

viewtopic.php?t=118771&highlight=return+codes

I had bookmarked this link long time back.

:!: Search would be helpful before posting and waiting for the reply. :!:
by dspxlearn
Tue May 26, 2009 6:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Delete Dataset in Datastage Parallel Jobs?
Replies: 8
Views: 19497

In fact you posted on a wrong forum!!
by dspxlearn
Tue May 26, 2009 5:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Delete Dataset in Datastage Parallel Jobs?
Replies: 8
Views: 19497

Tools --> Dataset management --> Small window pops up --> select the dataset file which was created --> Again a small window pops up showing you the nodes name and the segments --> select each one and hit on the delete button on the top --> Its gone!! :D Single try doesn't give results most of the ...
by dspxlearn
Tue May 26, 2009 5:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequencer looping failure
Replies: 1
Views: 1181

Sequencer looping failure

Hello, I was designing a sequencer in which a loop executes more than 280 times. Inside the loop there are couple of execute command stages executing few UNIX commands. At 258th iteration the sequencer is getting aborted with the below error. Attempting to Cleanup after ABORT raised in stage CSV_Mod...
by dspxlearn
Mon May 18, 2009 8:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: redirecting the execute command output
Replies: 3
Views: 1274

Thanks Craig!!

I must mark this thread as resolved asap.
Else, i will get 'Welcome Aboard" replies. :oops:
by dspxlearn
Mon May 18, 2009 7:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: redirecting the execute command output
Replies: 3
Views: 1274

redirecting the execute command output

Hi, Can we redirect the output of the execute command stage to a file inside the stage itself? Below is the inputs to the execute command stage: command: sed -n parameters: 1,10p /tmp/source.txt > testfile.txt When the job runs no file is being created. If don't send it to a file, i could see the ou...
by dspxlearn
Fri May 08, 2009 12:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date format
Replies: 5
Views: 1757

I used the string formatting instead of the conversions.
Thanks!!
by dspxlearn
Thu May 07, 2009 9:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date format
Replies: 5
Views: 1757

Date format

Hi, I need to convert the '04/01/2009' date in string format to '4/1/2009'. Basically, i need to trim out the leading zeros using Trim functions. My code: Trim('04/01/2009'[1,2], '0','L') :'-' : Trim('04/01/2009'[4,2], '0','L') :'-': Right('04/01/2009',2) Output will be 4/1/09. Instead of using this...
by dspxlearn
Tue Dec 16, 2008 4:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: IsValid() problems with non-standard dates
Replies: 21
Views: 8530

Hello ArndW,

By an chance, did you get to hear anything from IBM guys on this Ecase?

Code: Select all

It would seem that there is ECase 118247 open on this issue and is states 
by dspxlearn
Sun Nov 30, 2008 3:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capture reject records from log
Replies: 2
Views: 1342

Capture reject records from log

Hi,

I am wondering if we can capture the number of rejected records using the job log. Usually, if few records rejects the job will finish with warnings and it will show only the number of records loaded but not the number of records rejected.
Can you please let me know how this can be captured?