Search found 9 matches

by jayednewman
Thu Mar 20, 2008 1:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need to get the non-matches
Replies: 3
Views: 1532

You have two non-matches: (1) Those, which are in the seq-File and not in Oracle (2) Those, which are in Oracle and not in seq One way is to read the the key of the seq-file completly into oracle and make there two minus. (1) minus (2) and (2) minus (1) I need the rows that are in the Oracle table ...
by jayednewman
Wed Mar 19, 2008 11:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need to get the non-matches
Replies: 3
Views: 1532

Need to get the non-matches

I currently have a sequential file that has 12,669,842 records and an Oracle table with roughly the same number of rows. What is the best way to get non-matched rows from the Oracle table? I've thought about just creating two hashed files and using my sequential file/hashed file as the reference str...
by jayednewman
Fri Feb 29, 2008 2:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How do I remove the old timestamp values at the target leve?
Replies: 5
Views: 2051

As an alternative (but probably not a preferred one), you can always use Rank in your select statement and get everything where Rank > 1
by jayednewman
Fri Feb 29, 2008 11:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ReadSeq status codes
Replies: 10
Views: 3185

Works like a charm!

CmdString=("cat ":TEMPDIR:ExtractCriterionJob:CriteriaFileNm)
MsgTxt=CmdString
Call DSLogInfo(MsgTxt, DSJobName)

CALL DSExecute("UNIX", CmdString, CriteriaValues, ReturnCode)


Thanks!!
by jayednewman
Fri Feb 29, 2008 10:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ReadSeq status codes
Replies: 10
Views: 3185

How do you list them. I've tried several different approaches. I've listed them like you would in a ksh: CALL DSExecute("UNIX", "cat $TEMPDIR$ExtractCriteriaJob$CriteriaFileNm", CriterionValues, ReturnCode) I've treated them like normal DS params: CALL DSExecute("UNIX",...
by jayednewman
Fri Feb 29, 2008 10:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ReadSeq status codes
Replies: 10
Views: 3185

Can you pass variable file paths and file names into your unix cat? I have parameters set for those values since this file will be moved to different environments.
by jayednewman
Thu Feb 28, 2008 2:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ReadSeq status codes
Replies: 10
Views: 3185

That's what I thought. Thanks for clearing that up!!!
by jayednewman
Thu Feb 28, 2008 12:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ReadSeq status codes
Replies: 10
Views: 3185

Re: ReadSeq status codes

[quote="chulett"]Helps to make proper use of the 'code' tags so your formatting is preserved. Where, exactly, are you getting this "status of 1"? :? I'm out putting the status in the message log with "MsgTxt = "Rslt = ":Status" and it's giving me a status of 1...
by jayednewman
Thu Feb 28, 2008 9:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ReadSeq status codes
Replies: 10
Views: 3185

ReadSeq status codes

I am creating a sub routine to read in one parameter from a sequential file. I keep getting a status of 1 which is "An end-of-file" was encoutered. I have this set up to check the return code and flag it for any rc that's not 0. What is causing this error and how do I fix it. here is the j...