Search found 109 matches

by Havoc
Wed Mar 07, 2007 2:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Finding Child Level
Replies: 4
Views: 2241

Re: Finding Child Level

I had a posted the same query earlier ... Maybe u should check out this link

viewtopic.php?t=106418&highlight=diff%2A+levels

I decided to go for the Oracle method .. used the LEVEL pseudocolumn, connect by, etc etc...
by Havoc
Tue Mar 06, 2007 11:10 pm
Forum: Site/Forum
Topic: "kumar_s" hits 4000 !!!
Replies: 15
Views: 11677

Congratulations kumar! ... keep it coming ... :)
by Havoc
Mon Mar 05, 2007 12:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Run MERGE sql in Oracle Enterprise Stage
Replies: 9
Views: 3852

Hmmm .. that wont work with the environment I've been setup in :( So, how does the DataStage Manager import metadata without a client connection? ODBC? I'm pretty sure you have sqlplus on your DataStage server (at least the node that has the DS Engine.) You need to check this as your method is not ...
by Havoc
Mon Mar 05, 2007 12:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Run MERGE sql in Oracle Enterprise Stage
Replies: 9
Views: 3852

It should work. Does your sql run as expected from sqlplus or your favourite sql tool? ... Yes it does ... Its running perfectly fine on my Oracle 9i install ... The job design : Row Generator -> Oracle Enterprise Stage (with Write method = Upsert and a User Generated SQL query) The SQL query looks...
by Havoc
Mon Mar 05, 2007 12:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Run MERGE sql in Oracle Enterprise Stage
Replies: 9
Views: 3852

Command line execute sqlplus and run your query that way? Seems awfully weird to invoke sqlldr just to run a query. Hmmm .. that wont work with the environment I've been setup in :( Wont a merge sql query work if i set the write mode to upsert and give The query as a user generated one ? Its basica...
by Havoc
Mon Mar 05, 2007 11:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Run MERGE sql in Oracle Enterprise Stage
Replies: 9
Views: 3852

Run MERGE sql in Oracle Enterprise Stage

Hi, I have a job design which looks like this :- Row Generator Stage -> Oracle Enterprise Stage The row generator stage is just a dummy stage to enable the Oracle Enterprise stage to run a complex merge sql query which updates a table. When I run, the job I get this error : OraADSTEST_TABLE,0: The c...
by Havoc
Sat Mar 03, 2007 6:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Merge Stage Buffer issue?
Replies: 1
Views: 891

Merge Stage Buffer issue?

There are 2000+ source sequential files each of around 600 KB. We are reading these files in a transformer, splitting and joining it using a merge stage. When we run the job, The Merge stage is failing with an error: 'Operator terminated abnormally,Received signal SIGBUS' How can we utilize the merg...
by Havoc
Wed Feb 28, 2007 9:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Weird problem with Sequential File Stage
Replies: 26
Views: 7199

When I give a blank filename or blank folder name, it got aborted. But interestingly with different error message Sequential_File_0,0: Source subproc: awk: Input line cannot be longer than 3,000 bytes. The input line number is 4. The file is /. The source line number is 1. What is your server flavo...
by Havoc
Tue Feb 27, 2007 5:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Weird problem with Sequential File Stage
Replies: 26
Views: 7199

My Bad!!! Its "File=?" and not File Name. I gave File = /dev/null and Filter = awk -F'\t' '{if( FILENAME != " #FileDirectory#/ " ) {print $0} else {exit 1}}' #FileDirectory#/#Filename# And when I give a file name which doesn't available, it gave out the error Sequential_File_0,0...
by Havoc
Tue Feb 27, 2007 10:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Weird problem with Sequential File Stage
Replies: 26
Views: 7199

I think it must be the FILENAME != "#FileDirectory#/". Ever. How come? Did you try to hard code the condition (ex. && 1 != 2 ) to exercise the else {exit 1} in order to see if the overall flow will work? When I tested it I deleted the value of the file parameter. I didn't blank it...
by Havoc
Tue Feb 27, 2007 5:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Weird problem with Sequential File Stage
Replies: 26
Views: 7199

What is the exact issue now? As trobinson and I mentioned, it gave out error when there is no file. You might have entered the awk command in option provided for "Filter". What did you mentioned under the option provided for "File name"? Thanks for the quick reply kumar... Yeah ...
by Havoc
Tue Feb 27, 2007 4:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Weird problem with Sequential File Stage
Replies: 26
Views: 7199

Sorry for bumping this old topic back up .. But, after a week, I still have not found a solution to the problem ... :cry: Kumar, did you mean we have to check for FILENAME = "/dev/null" in the initial If condition? I've still not found a solution to this problem.. Is there anyway we can le...
by Havoc
Thu Feb 22, 2007 2:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Weird problem with Sequential File Stage
Replies: 26
Views: 7199

Under the General Tab, you might use Filter command to this, are you using /dev/null in "File Name" option? ... Hi kumar, yes i am placing the following as the filter in the stage: awk -F'\t' '{if( FILENAME != " #FileDirectory#/ " ) {print $0} else {exit 1}}' #FileDirectory#/#Fi...
by Havoc
Thu Feb 22, 2007 12:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Weird problem with Sequential File Stage
Replies: 26
Views: 7199

What is the value that you have given in "Filename" option? The given option works. If I dont pass any value to parameter it gives out "DSD.SEQOpen GCI $DS.SEQOPEN error 11.|" from datastage. You mean the #Filename# parameter? ... Well for successfull run i just type in the File...
by Havoc
Thu Feb 22, 2007 12:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Weird problem with Sequential File Stage
Replies: 26
Views: 7199

/ at the path isn't necessarily giving a problem. Since a backslash is present in File path, it need to be quoted. awk -F"," '{if( FILENAME != /dir1/dir/) ..... giving out the error that you have reported, where as awk -F"," '{if( FILENAME != "/dir1/dir") ..... is not....