Search found 15603 matches
- Mon Jan 30, 2006 2:44 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Joining A sequential file and Database table
- Replies: 11
- Views: 2791
Rajesh, take a look at the documentation on the "merge" stage in DataStage Server edition, you will find that this addresses your question, at least partially. You might also think about loading the table to a hashed file and doing a lookup on that (you can load it to memory if it fits to further in...
- Mon Jan 30, 2006 1:05 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Read from nth last line
- Replies: 7
- Views: 1864
DataStage BASIC does not allocate contiguous space for strings, it uses a very nifty internal mechanism to store a string as a linked list; and each element in this construct has a different length (I think it's based on a Fibonacci series). This means that you won't need to malloc the whole chunk o...
- Sun Jan 29, 2006 6:02 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Read from nth last line
- Replies: 7
- Views: 1864
- Sun Jan 29, 2006 4:30 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Read from nth last line
- Replies: 7
- Views: 1864
Since a sequential file on UNIX and Windows is never indexed; you will need to make at least one full pass through the file to get this information, even if your file is fixed length. To limit it to one full pass, read each line and keep count, storing the {n} last lines in a list. If your number {n...
- Sun Jan 29, 2006 2:52 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: regarding DSattachjob
- Replies: 7
- Views: 2591
- Sat Jan 28, 2006 11:45 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Command line commands for datastage
- Replies: 7
- Views: 4472
You can get a pretty good list by entering the command "HELP"; but of the hundreds of commands you will get only a few will be of use or helpful for you. The main concept behind DataStage is that you can use the graphical client software instead of the text commands. You cannot "enter DataStage" fro...
- Sat Jan 28, 2006 11:43 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: regarding DSattachjob
- Replies: 7
- Views: 2591
- Sat Jan 28, 2006 1:59 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to Append data into a sequential file through routine.
- Replies: 4
- Views: 1294
I can't tell you why this routine isn't working the way you want. If it is part of a derivation or a stage variable or a constraint in a transform stage then it will get executed for each row of data, no exceptions. You will need to use the debugger and/or some logging statements in your routine to ...
- Sat Jan 28, 2006 1:55 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Access DS Repository By C++ application
- Replies: 12
- Views: 2869
The DataStage engine is still quite close to what IBM now own and sell as UniVerse. You can download the manuals from IBM's web pages and one of the utilities documented is the UCI (UniVerse Call Interface) and Unibjects which describes the API you can use to call UniVerse from a language such as C+...
- Fri Jan 27, 2006 8:24 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Problem When Writing to Sequential File
- Replies: 6
- Views: 1680
Force a length by using a derivation like In.ColName[1,3] to limit it to 3 chars regardless of source length. Does the error still occur? And I am quite confused by you saying that in some cases you found an extra character but the file was perfect. It is never wise to mix CHAR and VARCHAR types and...
- Fri Jan 27, 2006 7:42 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to Append data into a sequential file through routine.
- Replies: 4
- Views: 1294
From you description the 1st part of your question isn't answerable; if you call your routine 3 times it should get executed 3 times. You need to revisit your transformer code to see what is happening. You can position to the end of a sequential file by issuing a SEEK F2, 0, 2 ELSE CALL DSLogFatal...
- Fri Jan 27, 2006 7:34 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: At row 2000, link "DSLink6"
- Replies: 10
- Views: 2916
- Fri Jan 27, 2006 6:11 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Job Sequence
- Replies: 1
- Views: 852
- Fri Jan 27, 2006 5:35 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Problem When Writing to Sequential File
- Replies: 6
- Views: 1680
Could you add a dummy column to your output with the derivation of LEN(PXI_OUT_1_Lnk.MED_NON_COVD_REAS_CD ) to make 100% certain that this string is of length 3 and doesn't contain padded spaces and/or non-displayable characters? The length limitation given in DataStage server jobs will not truncate...
- Fri Jan 27, 2006 5:16 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: DSJobReport.dsx for version 5.2
- Replies: 3
- Views: 1201