Search found 153 matches

by battaliou
Thu Mar 24, 2005 9:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Control question with multi-instance jobs
Replies: 10
Views: 2447

Cool, post the code. I would have passed the invocation id down to the sub job as a seperate parameter...
by battaliou
Mon Mar 21, 2005 6:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to get all the tablenames used in DSX
Replies: 8
Views: 4122

If you have to use SQL to extract table usage from your repository, maybe you should consider setting up a few i desciptors? You'll have to issue the following commands from Administrator: ED DICT DS_DSJOBOBJECTS ID1 I 0001 = I 0002 = @RECORD<13,7> 0003 = ----: FI ED DICT DS_DSJOBOBJECTS ID2 I 0001 ...
by battaliou
Fri Mar 04, 2005 9:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Equivalent to Incomplete Column in Parallel Sequential File
Replies: 4
Views: 3576

Hello thiagol If you've established your number of columns, you could always "doctor" your incoming data in a transformer which adds the extra columns onto your source. To do this, you simply read your input data as a single string (ie only one column in the source stage), use dcount to es...
by battaliou
Tue Mar 01, 2005 11:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problems extracting data from Lotus Notes using NotesSQL
Replies: 16
Views: 10444

I can confirm that this is the case. I got hold of the NotesSQL301.exe file, uninstalled 3.02, rebooted, installed 3.01 and now my odbc drivers work as expected.
by battaliou
Fri Feb 25, 2005 8:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Determining DataStage Version.
Replies: 13
Views: 8001

Inside the datastage administrator, in any project, execute the following command:

Code: Select all

CT VOC RELLEVEL
This will give you your release level.
by battaliou
Fri Feb 25, 2005 5:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Pandora's Box - Using DS NLS
Replies: 8
Views: 2007

Hello Arnd

Converting to NLS was very easy. The knock on effect only seemed to affect dates. For example a standard date in non nls looks something like 2005/02/25 whereas in NLS its 2005 02 25.

Code: Select all

OCONV(DATE(),'DYMD[4,2,2]')
This issue affected some of our function calls.

Regards
Martin Battaliou
by battaliou
Thu Feb 24, 2005 10:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Pandora's Box - Using DS NLS
Replies: 8
Views: 2007

I edited my uvconfig file (NLSMODE 0) to disable NLS in my current environment. I had to do a uvregen as well, but everything reverted ok.
by battaliou
Thu Feb 17, 2005 4:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSP.Open GCI Error in Link
Replies: 15
Views: 8259

I got a very similar error from DB2 on an AS400:
Package "NULLID .SYSSH000" was not found. SQLSTATE=51002 ... DSP.Open GCI $DSP.Open error -100.
Solution was to bind the database from the ODBC settings.
by battaliou
Thu Feb 10, 2005 4:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: warnings...is it ok to ignore them?
Replies: 10
Views: 4125

Your job will run ok, but this is not best practice in EE as you should specifically define type conversions. I think you will find a slight gain in performance on your job too.
by battaliou
Mon Feb 07, 2005 6:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: datastage questions
Replies: 5
Views: 3492

These questions look like they've been drawn up by people who have little experience in coding the product. I'm particularly appalled at the "read only routine" and universe configuration questions. The answer here surely is "Why?" If you are concerned with any of the above issue...
by battaliou
Mon Feb 07, 2005 5:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: converting rows to columns
Replies: 6
Views: 2893

You could use BASIC:

Code: Select all

openseq 'in.txt' to f else return
openseq 'out.txt' to t else return
loop
 out = ''
 for i = 1 to 3
  readseq rec from f else return
  if out = '' then out = rec else out := ',':field(rec,' ',2)
 next i
 writeseq out to t else return
until 1=2 do repeat

by battaliou
Wed Feb 02, 2005 8:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Joining multiple sequential files
Replies: 4
Views: 2686

I'm still keen on the SQL relational approach. One of the problems I have using hash files is that the source data seems to have a one to many relationship e.g. column matnr may not be unique in file mvke.txt. An outer join will fix that in Oracle by returning all of the relationships. Maybe you cou...
by battaliou
Mon Jan 31, 2005 6:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using sorter in parallel
Replies: 3
Views: 2102

EE sort

I think your question regards sorting data in parallel streams? If this is the case, better to partition your data along your sort critria, and sort seperately. You'll find an exponential improvement in performance. Of course there is a memory impact on using multiple sorting (especially if your par...
by battaliou
Mon Jan 10, 2005 5:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job set the own parameters
Replies: 8
Views: 5209

I dont want to cause any derision here, but the code posted above will need to be modified as the datastage logger will have problems accessing the file variable FileVar (improper data type) You would probably be better off creating a new variable e.g. FileName = Arg2:'\':Arg1 and using that instead...
by battaliou
Tue Dec 14, 2004 6:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to compile jobs thru unix commands and which one to use.
Replies: 6
Views: 2947

Osh code is generated by the client, ie Designer, so no unix commands can help you to compile here. Remember you should use "force compile" to ensure the entire job is compiled. Why is your "reset job" not working? Simply generating the same osh should have no benefit for you. I ...