Search found 15603 matches

by ArndW
Wed Jul 18, 2012 7:33 am
Forum: General
Topic: Error selecting the log file
Replies: 9
Views: 3010

Save your job under another name, delete the original job, rename your copy back to the original name and recompile & run. This will be much faster and safer than trying to attempt to identify the logfile problem and fix it.
by ArndW
Wed Jul 18, 2012 7:23 am
Forum: General
Topic: Error selecting the log file
Replies: 9
Views: 3010

In which program are you seeing this error?
by ArndW
Wed Jul 18, 2012 7:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to Timestamp Conversion Error
Replies: 2
Views: 887

StringToTimestamp(In.Col,"%yyyy/%mm/%dd %HH:%nn:%ss %aa")
by ArndW
Wed Jul 18, 2012 7:01 am
Forum: General
Topic: Sending a query to Oracle via a routine
Replies: 3
Views: 1005

For test purposes, replace your

Code: Select all

Call DSExecute("NT", commande, result, SystemReturnCode) 
with

EXECUTE 'SH -C "':commande:'"' CAPTURING result RETURNING SystemReturnCode
PRINT 'Result returns "':CONVERT(@FM,'<cr>',result):'"'.
by ArndW
Wed Jul 18, 2012 5:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup Fileset,Fileset or Dataset for Reference
Replies: 9
Views: 3106

Yes, I did - I can't recall the volumes, but it was on a big AIX box with a fast SAN and I went up to a lot of Mb. I think I made the sizes such that the jobs ran at least 10 minutes so I could get a good signal-to-noise ratio and consistent results.
by ArndW
Wed Jul 18, 2012 5:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to enable Debug Bar for parallel jobs in DS 8.5
Replies: 8
Views: 3206

Did debugging parallel jobs get implemented at 8.5 or at 8.7?
by ArndW
Wed Jul 18, 2012 5:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup Fileset,Fileset or Dataset for Reference
Replies: 9
Views: 3106

A couple of years ago I did some comparitive testing for performance differences between lookup filesets and datasets and found that both performed with almost the same speed. Since lookup fileset were (and remain) black-boxes with no facility to view the data I chose to stick with using datasets ev...
by ArndW
Wed Jul 18, 2012 2:06 am
Forum: General
Topic: DSJobInfo and NotCompiled jobs
Replies: 5
Views: 1840

There is nothing broken here, in my opinion.

Since DSAttachJob returns an invalid handle, the call to DSGetJobInfo() will return the error code "DSJE.BADHANDLE"
by ArndW
Wed Jul 18, 2012 2:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null handling function called on a not nullable field
Replies: 4
Views: 8731

Re: Null handling function called on a not nullable field

..If (IsNull(column1) or TrimF(TrimB(column1))='') Then '****' Else TrimF(TrimB(Convert('"','',column1)))... An "OR" condition will evaluate all elements, thus if column1 were to be nullable the statement above would not work. But since "column1" is a stage variable it cann...
by ArndW
Tue Jul 17, 2012 9:46 am
Forum: General
Topic: DSJobInfo and NotCompiled jobs
Replies: 5
Views: 1840

How about: $INCLUDE DSINCLUDE JOBCONTROL.H EQUATE Comma TO "," JobList = DSGetProjectInfo(DSJ.JOBLIST) JobCount = DCOUNT(JobList,Comma) ThisJob = DSGetJobInfo(DSJ.ME,DSJ.JOBNAME) FOR I = 1 TO JobCount JobName = FIELD(JobList,Comma,I) IF ( JobName <> ThisJob ) THEN JobHandle = DSAttachJob(J...
by ArndW
Tue Jul 17, 2012 8:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Table definitions at runtime
Replies: 5
Views: 1626

Piece of cake with RCP. 1. Declare your source table to use the parameterised SELECT statement (you don't need to pass in the datatypes of the columns that you are selecting) 2. Do not define ANY column in the output link to this stage, just activate RCP in the tick box. 3. Make this link to go a da...
by ArndW
Tue Jul 17, 2012 7:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to create an array that contains packed field
Replies: 2
Views: 1794

I don't know if that is possible. The Server job pallette contains conversion routines to COMP-3; so that might be an option.
by ArndW
Tue Jul 17, 2012 12:31 am
Forum: General
Topic: How to get Schedule information while Import a dsx
Replies: 5
Views: 1366

Think of those Vnnn numbers as surrogate keys to other job components
by ArndW
Tue Jul 17, 2012 12:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CDC Stage producing strange results
Replies: 3
Views: 1332

That really does sound like a strange problem indeed. Can you make a test job, copied from you original one where you do an inner join instead of CDC stage and just output a peek stage. This would let you see if DataStage actually sees the 2 keys as being identical for this set of records - for inst...
by ArndW
Tue Jul 17, 2012 12:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to read a Seq File
Replies: 4
Views: 1833

I didn't look at the input file in detail and didn't notice that the days and months can be one digit.