Search found 653 matches

by ogmios
Thu Apr 13, 2006 11:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: upgrade DS server 7.5 to DS server 7.5.1.a
Replies: 8
Views: 3407

Other environments ... but from time to time we get back to good old DataStage :D
by ogmios
Thu Apr 13, 2006 11:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to pass UNIX script(Procedure) output to job parameter?
Replies: 12
Views: 8158

hjob=DSAttachJob("demojob",DSJ.ERRWARN) status=DSRunJob(hjob,DSJ.RUNNORMAL) Unixcmd="/fdev/users/11001/Proc.shl" CALL DSExecute("UNIX",Unixcmd,ScrOutput,RetCode) ErrCode=DSSetParam(hjob,"ScrOutput",ScrOutput) You first run demojob and then you still want to p...
by ogmios
Thu Apr 13, 2006 11:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Mulitple update to the table using DataStage
Replies: 8
Views: 6865

Re: Mulitple update to the table using DataStage

Your mail has some "holes" in it... but let's try. You need to populate a table with fields from a source, the updates have the same primary key but the logic for the calculation is different. And you can't do it in a single SQL, e.g. your groupings are different. 2 SQLs as input one table...
by ogmios
Thu Apr 13, 2006 11:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date convertion
Replies: 7
Views: 2320

Re: Date convertion

Try the following, should be pretty close to what you want:

Code: Select all

Oconv(Iconv(%Arg1%,  "D4YMD[4,2,2]"), "D/")
Ogmios
by ogmios
Thu Apr 13, 2006 10:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Delete file after FTP
Replies: 48
Views: 9432

Re: Delete file after FTP

One of the reasons I never use ftp stage but always shell out to get the file via an OS script. What you want to do is not in the ftp file stage.

Ogmios
by ogmios
Thu Apr 13, 2006 10:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC Fecth failed
Replies: 3
Views: 2448

If you look at the DB2 error codes it's an arithmetic overflow.

Ogmios
by ogmios
Thu Apr 13, 2006 10:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: XML Input stage
Replies: 8
Views: 2995

Re: XML Input stage

Not the expert on XMLInput but if I remember correctly you don't read an XML input file with a Sequential Stage :D . You use a FolderStage to point to the XML file and connect that to XMLInput. "There is one crucial design requirement of XML Input - you need to pass it an input link contain a U...
by ogmios
Thu Apr 13, 2006 9:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job report
Replies: 5
Views: 2145

Re: Job report

Nothing out of the box exists like that. As of v7.5 you can make a report for a single job from designer (clicking on the button looking like internet explorer on the toolbar). But if you're a bit skilled in any quick and dirty language: perl, python, .... you can easily generate such a list from ds...
by ogmios
Thu Apr 13, 2006 9:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: upgrade DS server 7.5 to DS server 7.5.1.a
Replies: 8
Views: 3407

I suggested to first check with Ascential/IBM for a patch. For some things they have patches and doing an upgrade from 7.5 to 7.5.1.a seems a bit overkill. Don't know whether a patch really exists. Most of my installations are currently 7.5.1.a and the Oracle stage seems to work correctly in there. ...
by ogmios
Thu Apr 13, 2006 8:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: upgrade DS server 7.5 to DS server 7.5.1.a
Replies: 8
Views: 3407

Re: upgrade DS server 7.5 to DS server 7.5.1.a

The Oracle stage is known to work... not work... work... not work ... on and off since version 4. Best is also to log a case with Ascential/IBM... sometimes they have workarounds/patches available. For the upgrade if you really want to go ahead: - DataStage always has an installation guide. - Going ...
by ogmios
Thu Apr 13, 2006 4:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS Admin related query
Replies: 3
Views: 2761

A version that returns less clutter is: SELECT INSTANCE, MODIFIER, DTM, REASON FROM UNNEST DS_AUDIT ON MODS A WHERE CLASS = '2' AND DTM > '2006-04-10 00:00:00' AND DTM = (SELECT MAX(DTM) FROM UNNEST DS_AUDIT ON MODS B WHERE CLASS = '2' AND A.INSTANCE = B.INSTANCE) ORDER BY DTM Fill in the date after...
by ogmios
Thu Apr 13, 2006 4:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS Admin related query
Replies: 3
Views: 2761

You can use the following to see changes after a certain date:

Code: Select all

SELECT * FROM DS_AUDIT WHERE DTM > '2006-03-05 12:00:00';
I also have some queries to unnest the data in DS_AUDIT, but have to search for them a bit.

Ogmios
by ogmios
Thu Apr 13, 2006 3:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performance Improvement
Replies: 14
Views: 5455

For the original question on making it faster. I suppose you're using the ODBC stage (seeing the error messages)... switch to the oracle stage or the DRS one to see a significant speed increase. For DB2 the speed difference between ODBC and the DB2 stage is usually not that big... Between ODBC and O...
by ogmios
Wed Mar 15, 2006 4:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: "*DataStage*DSR_LOADSTRING" Internal data error.
Replies: 11
Views: 8546

djdinjan wrote:Hi all, I had run the command and it said "No such file or Directory".

Any suggestions on how to fix this file.

Thanks,
Dinesh
Run it in the project where the file resides

Ogmios