Search found 198 matches

by mystuff
Thu Aug 21, 2008 6:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: calling script error
Replies: 6
Views: 31142

ksucheta007 wrote:Try you using ExecSH in your Before job subroutine rather than a routine to execute the Shell Script .
whats the difference?? they both mean same.


And I want to log the output of the director + capture the return code, therefore using DSExecute instead of DSU.ExecSH
by mystuff
Thu Aug 21, 2008 4:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: calling script error
Replies: 6
Views: 31142

calling script error

I am gettitng the following error when I am trying to call a script through before job subroutine. RoutineTest..BeforeJob (): SH: /opt/home/xxx/script.sh -H mass -P parameterfile.txt: not found When I copy the same from the log and execute on the unix box, this scripts runs fine (to check for any sy...
by mystuff
Wed Aug 20, 2008 9:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: output from hashed file
Replies: 47
Views: 15439

Thanks for all your help. Wouldn't have reached this far without your help.
by mystuff
Mon Aug 18, 2008 11:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: output from hashed file
Replies: 47
Views: 15439

1) (b) Correct. But the arguments to SETPTR are purely numeric. So its ONLY the values in FMT plays the role, Whatever (low) values for Line Length and Number of Lines per Page in SETPTR wouldn't matter. 2) The documentatin for SETPTR http://infotools.ru/uv/09/0916.htm and FMT in pdf of BASIC doesnt...
by mystuff
Fri Aug 15, 2008 5:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: output from hashed file
Replies: 47
Views: 15439

a) (a) If you're trying to display fields from the hashed file itself omit the word DICT from the query. In what sense do you mean "fail"? I am trying to read the column names from the hashed file so I need the DICT. And the reason I want to look for FIELD.DEF is because it has the column...
by mystuff
Fri Aug 15, 2008 11:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: output from hashed file
Replies: 47
Views: 15439

First of all I would like to thank for the patience shown in replying my questions. I went through some homework and have few questions/clarifications a) I was trying to select just one field from DICT hashed file and used the query below. It works fine SETPTR statement SELECT FIELD.DEF FMT "13...
by mystuff
Mon Aug 11, 2008 8:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: output from hashed file
Replies: 47
Views: 15439

a) OK, try it without the ".". LIST DICT H_DAY_ID LPTR 4 It works for me with or without the ".". I tried to the statement above and it worked i.e. able to write a file wihtin &HOLD&. But now I am back to my same question.. As the output from >SETPTR 4,1000,200000,0,0,3,...
by mystuff
Wed Aug 06, 2008 10:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Spliiting a single row into multiple row
Replies: 7
Views: 2496

you have to use a function and loop around it.
by mystuff
Wed Aug 06, 2008 8:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: output from hashed file
Replies: 47
Views: 15439

ray.wurlod wrote:LIST.DICT is not SQL so does not take a terminating ";" character.
Even when I remove the ; , the same happens (i.e. the file doesn't get created in &HOLD& directory). Basically I want to obtain result from LIST.DICT and parse the column names.
by mystuff
Tue Aug 05, 2008 4:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: output from hashed file
Replies: 47
Views: 15439

ray.wurlod wrote:The file is overwritten if no new SETPTR command has been executed.
I have executed the setptr prior to the list.dict statement. There isnt any file.
by mystuff
Tue Aug 05, 2008 4:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Matching records between sources
Replies: 9
Views: 3414

I am looking for all the records from the database where the first four charters Change the 1,3 in the code to 1,4 then????????? If you are looking for dynamic join and based on your requirement. 3. In the output, I am looking for all the records from the database where the first four charters in t...
by mystuff
Tue Aug 05, 2008 3:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ORA-01461
Replies: 9
Views: 1936

Looks like a mismatch of datatype.

In the oracle stage, you might be having a datatype for a field defined as long. But in the database same field is of different datatype.
by mystuff
Tue Aug 05, 2008 8:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: output from hashed file
Replies: 47
Views: 15439

Thanks, I am able to view the file. However, does the SETPTR works only for select statements? I tried the below SETPTR 4,1000,20000,0,0,3,BANNER listtest,BRIEF LIST.DICT HashOther LPTR 4; But I don't see the file getting created. If I have SETPTR 4,1000,20000,0,0,3,BANNER hashedfile,BRIEF SELECT * ...
by mystuff
Mon Aug 04, 2008 4:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: output from hashed file
Replies: 47
Views: 15439

Hi, Thanks for the response. I executed similar statement SETPTR 4,1000,20000,0,0,3,BANNER MyOutput,BRIEF SELECT * FROM HashOther LPTR 4; a) But I am not able to cd (change directory) to &HOLD& or read the MyOutput file. when I execute find . -follow -name HashOther I get the result ./&H...
by mystuff
Fri Aug 01, 2008 3:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Database comparison
Replies: 8
Views: 2410

You are right, I didnt read that first post properly. But highlighted stating same database or dblink to write the query. EXCEPT, MINUS statemetns for huge tables takes potentially long time. left outer join works pretty well in that case. Coming back to the question posted Do you have a DBLINK (I p...