Search found 18 matches

by mprashant
Fri Mar 11, 2005 2:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Append to an existing seq file using WriteSeq command ?
Replies: 8
Views: 6886

The code for SEEK is as follows

Code: Select all

SEEK FILE,-1,2
      Then
         Call DSLogInfo ("Appending to File" : FileName,"JobControl")
      End
      Else
         Call DSLogInfo ("Unsuccessful","JobControl")
      End
Thanks xcb and mhester

Prashant
by mprashant
Fri Mar 11, 2005 1:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Append to an existing seq file using WriteSeq command ?
Replies: 8
Views: 6886

Yes xcb the file does get created. It was code Arnd helped me out with. Also thank you all for your help. I got it to work.
by mprashant
Thu Mar 10, 2005 3:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Append to an existing seq file using WriteSeq command ?
Replies: 8
Views: 6886

Append to an existing seq file using WriteSeq command ?

I have an existing sequential file that was generated by an earlier DS job - joblog.txt in the below example. Now In my job Control code for a set of different jobs I need to add a few more lines to this file. But I seem to be overwrting whats already existing in that file. I have attached my code b...
by mprashant
Thu Mar 10, 2005 10:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Genrating a report ( not job log ) in a specifc format.
Replies: 6
Views: 2358

Hey Arnd, Thanks a lot for your response. The after job routine works, though how do I pass the value for rowcount to the routine. FOr example I got the value for rowcount from the previous job and passed it on to a job parameter called ROWS in the current job. Now this I want to write to the sequen...
by mprashant
Tue Mar 08, 2005 7:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Genrating a report ( not job log ) in a specifc format.
Replies: 6
Views: 2358

Genrating a report ( not job log ) in a specifc format.

Hi I am trying to generate a report at the end of a DatatStage job. I have all the values I need. My report should look like : DAtA QUALITY ANALYSIS FOR $ TABLE No of rows extracted from Source - $ ROWCOUNT N o of rows extracted from Targett -$ ROWCOUNTTGT No of rows that do not match - $MISMATCH KE...
by mprashant
Tue Jul 27, 2004 7:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performance Tuning.
Replies: 3
Views: 2036

Now the look ups were against Universe databases and I changed all that to the DRS stages and it now runs in 5 min. I split the look-ups over a couple of more transformers, turned on the inter-process buffering, increased the read write cache size for the Hashed Files to 999 MB, tried playing around...
by mprashant
Mon Jul 26, 2004 6:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performance Tuning.
Replies: 3
Views: 2036

Performance Tuning.

Hello I have a huge job that has performance issues. It takes 1 hr 25 min to move data across for 2100 rows! The size of the data is not too huge however there are 2 transformers directly connected with over 20 look ups each to universe stages. The resaon for universe stages is beacuse the has files...
by mprashant
Tue Jun 08, 2004 12:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Specifying a DSN
Replies: 9
Views: 4828

Hey Ray, I'm not too sure I understood you very clearly.I'm not very familiar with DS Basic.I right now do have to add a new DSN for each load and I really dont like that.Can I in some way create a DSN on the fly based on what you were saying?We dont need the DSN after the load is complete. I was lo...
by mprashant
Tue Jun 08, 2004 12:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Specifying a DSN
Replies: 9
Views: 4828

Hey Ray
It actually is a very strange way to run a IT shop.The business demands it though.They are in the legal doucment services.SO the number of databases created is arbitrary even though the tables created in this database may have the same metadata most of the time.

regards
Prashant
by mprashant
Mon Jun 07, 2004 5:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Specifying a DSN
Replies: 9
Views: 4828

The table definitons do change sometimes.But If we assume them to be constant the database changes everytime.So there is a different database for every load even though the table in the database may be the same.So I have to point to a different database each time right?This I need to specify in my D...
by mprashant
Mon Jun 07, 2004 5:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Specifying a DSN
Replies: 9
Views: 4828

Its not about passing the parameter to the job...which in any case is already been defined.Its creating a new DSN to point to that particular
server.database.tablename each time the parameters change.
by mprashant
Mon Jun 07, 2004 11:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Specifying a DSN
Replies: 9
Views: 4828

Specifying a DSN

Hi, I have developed jobs using DataStage to replicate a Data Transfer process.The problem I face is that for every transfer there is a new DataBase which means that I have to create a new DSN Every time to import my table definitions .For example these are my source definitions: Load01 Server: PSSQ...
by mprashant
Wed May 12, 2004 3:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: TO Check If a DOS filepath exists using Basic.
Replies: 14
Views: 6714

Failed to compile test harness error

When I used the modified code it worked in the morning.Now when I try to run it, it gives me a " Failed to compile test harness error".Do you have any clue as to what that means. Also in the morning it wasnt reading files stored on an other server.I mean it used to open files on the Ascent...
by mprashant
Tue May 11, 2004 7:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: TO Check If a DOS filepath exists using Basic.
Replies: 14
Views: 6714

Ray, I did not completely understand your code. But I tried using it and compiling it and it gave me the following: WARNING: Variable 'FINFO$IS.FILEVAR' never assigned a value. Compilation Complete. openseq Arg1 to testfile Then Ans = 0 Else Ans = 1 closeseq testfile is what I wrote and it works for...
by mprashant
Tue May 11, 2004 9:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: TO Check If a DOS filepath exists using Basic.
Replies: 14
Views: 6714

Filepath

The Basic Manual says not to use this as a transform but basically I need to check this for 60,000 rows. The file path is a column in my Sql server table. So if i write a routine and call it before my transformer stage executes I need to write the ones that do not exist to a sequential file and not ...