Hi,
DataStage won't know wheather the data you are going to load has NULL or Not. That's why it is giving a warning message. You can better discard that message. But if you want to get rid of that msg, as Kumar told, use Modify stage.
Search found 28 matches
- Mon Feb 27, 2006 3:20 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: null metadata
- Replies: 8
- Views: 3239
- Wed Feb 22, 2006 5:20 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Loop in Transformer
- Replies: 12
- Views: 6774
- Wed Feb 22, 2006 4:20 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Loop in Transformer
- Replies: 12
- Views: 6774
Hi, As long as you are going to write the output to a sequential file it is very simple. Assume that your field delimiter is tab and record delimiter is new line. What you have to do is create a output stage with only one field and the field value will be fld = Str(link.Name:'\t':link.Age:'\n',link....
- Wed Feb 15, 2006 3:14 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: To check the sequence of the input file
- Replies: 9
- Views: 4080
Hi Srividhya, Still you can follow whatever tardifma's logic with a little change. create fields current_key,old_key, current_last_field and old_last_field. Even you can use your input fields instead of defining current_key and current_last_field. Now define each field like this in the same sequence...
- Wed Feb 15, 2006 2:29 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Doubt in Lookup
- Replies: 1
- Views: 1749
- Mon Feb 13, 2006 4:38 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Avoid Concatenate/constants in Transformer
- Replies: 7
- Views: 3284
Hi Aliso, Even if you want to do the concatenation after several steps, still u can do the hard coding in the source stage itself. In the source stage instead of concatenating there, pass that value as a separate column and at the place where you want to concatenate, there just concatenate the fields.
- Tue Feb 07, 2006 3:56 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Fatal Error: Caught unknown exception in main program
- Replies: 13
- Views: 10355
- Tue Feb 07, 2006 1:25 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Fatal Error: Caught unknown exception in main program
- Replies: 13
- Views: 10355
- Tue Feb 07, 2006 12:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Fatal Error: Caught unknown exception in main program
- Replies: 13
- Views: 10355
Hi Ray, I feel that, the configuration file may not be the reason, because we are using the same config file for all our jobs. Below is my OSH code. Parallel job initiated # OSH / orchestrate script for Job EquipmentSAPFileLoad compiled at 23:38:24 07 FEB 2006 #######################################...
- Mon Feb 06, 2006 3:30 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Fatal Error: Caught unknown exception in main program
- Replies: 13
- Views: 10355
I am sorry ArndW. I wanted to type 'I am getting the same error message', ie main_program: Fatal Error: Caught unknown exception in main program: terminating. Contents of phantom output file => DataStage Job 63 Phantom 7246 I am getting this error message after the DS loading the data to the flat fi...
- Mon Feb 06, 2006 1:43 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Fatal Error: Caught unknown exception in main program
- Replies: 13
- Views: 10355
Hi Arndw, Thanks for your information. As u said, when I ran the job, it told me the error. Actually I had messed up variables. After fixing the problem, it executed. But after the job completion, I am still getting the error. In fact, the # of rows in the table were written to the file successfully...
- Mon Feb 06, 2006 12:06 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: TRANSFORMER cf SWITCH speed benchmark
- Replies: 8
- Views: 3921
Hi, I have not done such a comparison. But as mentioned in the help file, SWITCH stage is analogous to C switch statement. So, if ur selection is a simple if ... then .... else .... TRANSFORMER stage would be a better choice, but if u have a nested if stmt like if .... then .... else if... then ... ...
- Mon Feb 06, 2006 11:49 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Fatal Error: Caught unknown exception in main program
- Replies: 13
- Views: 10355
Fatal Error: Caught unknown exception in main program
Hi, I have a job which is created for doing a simple job: create flat file from a sql server table. So, my job has odbc stage -> transformer -> sequence stage. I added the transformer stage just to change data type of some of the fields, basically from timestamp to varchar. Now, when I compile and t...
- Thu Feb 02, 2006 2:04 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Discrepancy in records
- Replies: 2
- Views: 1633
- Thu Feb 02, 2006 11:40 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Rows to single Column
- Replies: 2
- Views: 1482
Hi Madhav, There are multiple ways to do that. If you want it to write to a sequential file, you can read each record and whle writing it to a sequential file, write it with the record delimiter as 'comma(,)'. So all the records will be written to a single record. Other way is, create 2 stage variab...