Search found 5168 matches

by kumar_s
Thu Mar 16, 2006 5:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Script to abort the job
Replies: 5
Views: 1135

Create a shell script to check the size of the file and based on the return code direct the sequence to act accordingly. [[ -s $IFM_INPUT_001 ]] RC=$? if [ $RC -ne 0 ] ; then return 0 fi if [ RC -eq 0 ] ; then return 1 fi Use the above to check the size. If the filesize is 0Kb then the above will re...
by kumar_s
Thu Mar 16, 2006 3:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performance problem with Job (Flat file to Oracle)
Replies: 29
Views: 8079

How about the Commit Interval for the current job?
by kumar_s
Thu Mar 16, 2006 3:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Explicit sort vs. Sort in the join stage?
Replies: 2
Views: 809

Ok I assume the 'click box auto' that you mean is the Auto partiton. Yes by enabling auto partiton, orchestrate it self will introduce a sort and partiton the data based on the key specifed in the join stage. But based on the previous experience (of all who use this this forum) it is all better and ...
by kumar_s
Thu Mar 16, 2006 2:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File size limit
Replies: 7
Views: 5504

A workaround. ls -1 /dir/filepattern*.txt > xxx.txt; cat /dir/filepattern*.txt >> xxx.txt Add this in before job subroutine. and read xxx.txt as 'specific file'. Now the first line of the xxx.txt will have the filename. In transformer @INROWNUM = 1 can be used to grasp the first line.
by kumar_s
Thu Mar 16, 2006 2:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File size limit
Replies: 7
Views: 5504

opdas wrote:How do I get the file names? Do I have to do some changes in setings?
Coz I get File Column Name as "/dir/filepattern*.txt" the same thing I pass in File Pattern.

If you just want to get the file name, just pass the path name alone, it will read all the filename present in the directory.
by kumar_s
Wed Mar 15, 2006 10:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: unable to run DS job
Replies: 10
Views: 3241

Well, in that case, try to restart the server.
Try executing the command in Adminsitrator client.

Code: Select all

COUNT DS_JOBOBJECTS 

Make sure you get a valid count number rather than an error.
by kumar_s
Wed Mar 15, 2006 6:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: trigger performance (server and parallel)
Replies: 12
Views: 3347

Two input to a join, emp and emp_chg. Check the same in a transformer.
if( (emp.empno=emp_chg.empno) and
(emp.ename<>emp_chg.empno or
emp.job <> emp_chg.job or
.....
.....
......
)
) then
"y"
......
.....
.......

Load it in to emp.
by kumar_s
Tue Mar 14, 2006 10:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: scratch space issue
Replies: 4
Views: 988

Some time not all the jobs produced during run time where cleaned. If this is that serious, it may be worth cleaning the tmp directories manually (periodically).
by kumar_s
Tue Mar 14, 2006 10:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Merge Sequential Files
Replies: 16
Views: 3607

lstsaur wrote:Hi Guys,
Champa's job is running on Windows platform; there is no "CAT" command to concatnate the files. Am I missing something?

Then 'TYPE' would help.
by kumar_s
Tue Mar 14, 2006 10:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in "odbcread"
Replies: 5
Views: 1392

Try to make use of Alais name.
Use user defined SQL. And redefine the the name of the column in the metadata as without '-' (like M_User) and use the SQL as

Code: Select all

SELECT M-User AS M_User,..... From <Table_Name>
by kumar_s
Tue Mar 14, 2006 7:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in "odbcread"
Replies: 5
Views: 1392

What is the stage you are using.
A workaround. Try to create a View without any special character and use it.
by kumar_s
Tue Mar 14, 2006 6:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fatal Error with succesfull Completion
Replies: 10
Views: 3381

Nothing mention in release notes about these, upto to my knowledge. Best place to get it confiremed, contact your service provider and rasie a case with IBM tech people.
by kumar_s
Tue Mar 14, 2006 6:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Any tool for DS work as "diff" command for unix?
Replies: 3
Views: 1362

If you interested in comparing the individual component residing in the job then check out the code available in the following link.
http://www.dsxchange.com/viewtopic.php? ... Properties