Search found 15603 matches

by ArndW
Wed Jan 17, 2007 10:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine to connect to DB2
Replies: 14
Views: 6824

In BASIC it would be along the lines of ConnectCommand = 'DB2 CONNECT to ':YourServer:' USER ':YourUser:' USING ':YourPassword QueryCommand = 'DB2 SELECT MAX........' EXECUTE ConnectCommand CAPTURING ScreenIO RETURNING ErrorCode ** and so on
by ArndW
Wed Jan 17, 2007 10:15 am
Forum: General
Topic: Input buferring
Replies: 8
Views: 2869

The error message goes a long way to explaining your problem. Your metadata for "Postcode" specifies a length that is shorter than the actual data contents for the field, hence the error message.
by ArndW
Wed Jan 17, 2007 6:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine to connect to DB2
Replies: 14
Views: 6824

Hmmm, don't see how a routine will be any faster than doing a singleton lookup. But you can achieve the calls by writing a routine that does a command line "DB2 CONNECT" and then executes the "DB2 {command}" and parses the captured output and passes the returned value back to the calling program.
by ArndW
Wed Jan 17, 2007 5:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reference lookup generated 100 rows
Replies: 7
Views: 1692

pratyusha - normally your analysis is correct, but note that the original poster stated that the reference contained only 1 record as well, which is why I asked for a bit more information.
by ArndW
Wed Jan 17, 2007 5:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine to connect to DB2
Replies: 14
Views: 6824

Why not use a DataStage server job to do this instead of writing a routine? You can use DS in several ways to effect this. A lookup stage with custom SQL is the first and easiest method that springs to mind.
by ArndW
Wed Jan 17, 2007 5:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Setting Job Variables in a stage and accessing it in another
Replies: 10
Views: 3281

Remember that if you use the COMMON block method as described above you will need to ensure that you declare your job to not use row buffering or use in-process buffering. If you do not do this, the separate TRANSform stages are started as separate processes and thus won't share the same COMMON bloc...
by ArndW
Wed Jan 17, 2007 5:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting count from a log of job
Replies: 6
Views: 1580

What do you mean by "count of entries"? Do you mean the number of log file entries for a job run?
by ArndW
Wed Jan 17, 2007 4:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reference lookup generated 100 rows
Replies: 7
Views: 1692

Could you explain your lookup - what kind of object are you referencing and is your lookup key actually a key in the referenced object?
by ArndW
Tue Jan 16, 2007 10:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File Full warning
Replies: 17
Views: 4270

somu_june wrote:...when I try to use this file to join with other file to load in to a single file I am getting the same warning in this job...
What size and type is the other file?
by ArndW
Mon Jan 15, 2007 9:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File Full warning
Replies: 17
Views: 4270

If you run the job as only one instance/node does it still abort writing the sequential file and what size does that file grow to before the job aborts?
by ArndW
Mon Jan 15, 2007 9:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File Full warning
Replies: 17
Views: 4270

Are you sure your data size isn't "1310720"? Anyway, I think you should add a before-job call to execute the "ulimit -a" command to see if your runtime attributes are the same as those you've displayed in your post.
by ArndW
Mon Jan 15, 2007 8:36 am
Forum: Site/Forum
Topic: Great Sixer!!!
Replies: 12
Views: 5137

Thanks for the comments! I was at the Antigua Cricket Grounds and the "Sticky Wicket" bar/restaurant less than 48 hours ago, otherwise I wouldn't have recognized the term and would have thought "deep sixer" - which means something totally different.
by ArndW
Mon Jan 15, 2007 8:33 am
Forum: DSXchange Testimonials
Topic: It is good not to be alone
Replies: 6
Views: 14788

Hallo Wolfgang & others; I just got back from being a bum in the Caribbean. Last night was the first time in a month that I slept in a bed on Terra Firma and it is strange to wear shoes and long pants again... I was sailing around and enjoying vacation - but I did have trouble connecting to the ...
by ArndW
Mon Jan 15, 2007 4:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: UVSH.EXE jobs stays active while job aborts in DatSatge
Replies: 3
Views: 1049

What kind of an abort did you have? Normally the executable finishes with the job; perhaps the uvsh.exe you see belongs to another process or user. If you have access to the UNIX truss command you could try to trace what the "rogue" uvsh.exe is actually doing.
by ArndW
Fri Dec 08, 2006 3:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dumping the hash file data to flat file easily
Replies: 9
Views: 3318

Do all your hashed files have the same or similar numbers of columns? If yes it is very easy to write a generic job to dump all hashed file contents to flat files.