Search found 22 matches

by edmtenzing
Wed May 13, 2015 8:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file job - individual records going to separate files
Replies: 4
Views: 5597

Thank you Craig, this is helpful. Cheers
by edmtenzing
Tue May 12, 2015 8:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file job - individual records going to separate files
Replies: 4
Views: 5597

Hi Ray, my apologies - it aborted around 150K (I should've left out the bit about the record count in the image). L_CSTID_TF_O is outputting to hash file named ac_ar_lookup L_CST_MKT_SEGMENT_TF_O is outputting to a hash file called cst_mkt_segment_id_lookup It is the former that is having the issue....
by edmtenzing
Tue May 12, 2015 8:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file job - individual records going to separate files
Replies: 4
Views: 5597

Hash file job - individual records going to separate files

Hi all, I am facing a strange issue that I've never come across before, around hash file creation. I have a process that does two SQL extracts from a database, performs some basic transformation and outputs to a hash file. Here is a screenshot of the job: http://iforce.co.nz/i/h4mjjr1k.arl.png The p...
by edmtenzing
Mon Feb 23, 2015 2:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Performance issues - help with clean-up of files in /Scratch
Replies: 3
Views: 2167

Hi Ray, thanks for your response. I'm aware I can extend the script to clean up these files, but my question is more around at what point can they be deleted? i.e. older than X days? I wouldn't want to be cleaning up .ctl files or the like while/if they are being used by the application. Cheers
by edmtenzing
Sun Feb 22, 2015 9:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Performance issues - help with clean-up of files in /Scratch
Replies: 3
Views: 2167

Performance issues - help with clean-up of files in /Scratch

Hi all, I am a Data Warehouse Analyst using IBM Datastage v8.0 Build 1.2. This past month we have noticed a degradation in job run performance, and some of our more critical processes are taking a very long time to run (in comparison to run-times observed throughout last year). I have been reading I...
by edmtenzing
Sun Dec 19, 2010 9:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Carriage Return ^M ascii character 13
Replies: 4
Views: 4196

I tried this &h0D, but gave me fatal error if i put backslash \ prior to that, it will actually print out the string itself main_program: Syntax error: Error in "export" operator: Error in operator arg: Error parsing schema: In top-level property list: Expected value for property "...
by edmtenzing
Sun Dec 19, 2010 6:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Carriage Return ^M ascii character 13
Replies: 4
Views: 4196

Thanks! It does not work using hex notation (\x0D).

But tq for prompting the rare case using that CR only, I rechecked again, and found out that they actually need the Carriage Return & Line Feed.
by edmtenzing
Sun Dec 19, 2010 2:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Carriage Return ^M ascii character 13
Replies: 4
Views: 4196

Carriage Return ^M ascii character 13

Hi, I need to include the carriage return ascii char 13 or ^M at the end of the record. I have tried these using the sequential file properties, format 1. Record delimiter string = DOS format 2. Final delimiter string = \13 ---> this give me the output ^K, but if i tried other numbers, ^M still does...
by edmtenzing
Tue Nov 30, 2010 10:15 pm
Forum: General
Topic: row count check in a file, then run job
Replies: 12
Views: 6802

Thanks a lot for your guide and patient ya. It works now! I am so happy. Both command works. This is the first time i use this execute command, trigger with custom condition.
by edmtenzing
Tue Nov 30, 2010 7:19 pm
Forum: General
Topic: row count check in a file, then run job
Replies: 12
Views: 6802

This does not work, i tried LEFT as well, it still return filename. I got a solution to return the number only which is wc -l filename | awk '{print $1}' But my trigger to run the job still does not work when i put $commandoutput=0 to run the job (my job does not run). The log shows the ouput like t...
by edmtenzing
Tue Nov 30, 2010 2:28 pm
Forum: General
Topic: row count check in a file, then run job
Replies: 12
Views: 6802

Thanks! I got &CommandOutput work out. When i set the &CommandOutput=1

but when i execute the command wc-1 filename. The status in the log

" Output from command ====>
0 filename "

output comes out with filename, not 0 or 1 or 2. So the trigger does not work.
by edmtenzing
Mon Nov 29, 2010 7:49 pm
Forum: General
Topic: row count check in a file, then run job
Replies: 12
Views: 6802

Thanks ya. The command works, but the trigger part, still confusing to me. what i need to do is to check whether is there any rows return in the file, if there is no rows return (row count=0) then i need to run another job. The trigger 'expression type', which one i should use? If i use 'custom and ...
by edmtenzing
Mon Nov 29, 2010 3:45 pm
Forum: General
Topic: row count check in a file, then run job
Replies: 12
Views: 6802

row count check in a file, then run job

Hi,

I need to check the row count for a file. If it is having more than 1 row, then i run job 1, else i run job 2. How do i do this in a job or sequencer. Thank you
by edmtenzing
Thu Feb 18, 2010 7:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creating XML from multiple tables with one to many relations
Replies: 1
Views: 1539

Creating XML from multiple tables with one to many relations

My XML file has got multiple levels which is sourced from number of database tables. For example; <A> <B\> <C\> <D> <E> <E> <\D> <D> <E> <E> <\D> <\A> There are many elements and there could be up to 20 children for an element. Depending on the requirement, the number of children can change. I have ...
by edmtenzing
Sun Jan 17, 2010 5:09 pm
Forum:
Topic: Help on Data Lineage
Replies: 1
Views: 1714

Help on Data Lineage

Hi, We are looking at generating data lineage at the data element level. When a report is generated for the data element lineage, the report doesn't show the database table associated with the data element. Eg. CLNT is the source data element from table Source. In a datastage job, the data element g...