Search found 6797 matches

by DSguru2B
Tue Apr 10, 2007 7:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential processing of Files
Replies: 43
Views: 11926

The second file can only support a reject mode and not an input stream to your second transformer. What exactly are you trying to achieve. From your design and explanation it is clear that you are reading from a sequential file and writing to another which inturn is writing to another. Why do you ne...
by DSguru2B
Tue Apr 10, 2007 7:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling C program from DataStage Job
Replies: 16
Views: 6469

Any where. Depends upon your requirement. You can call it in the before/after job subroutine or before/after stage subroutine.
by DSguru2B
Tue Apr 10, 2007 6:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling C program from DataStage Job
Replies: 16
Views: 6469

Before job subroutine, 'ExecSh'. Not a stage but a pre-process that can execute command line utilities and programs/commands.
by DSguru2B
Tue Apr 10, 2007 6:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage vs COBOL
Replies: 12
Views: 5590

So Craig, you have a 360 huh, you seem more like a, WII person :wink:
by DSguru2B
Mon Apr 09, 2007 5:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error Connecting from Client in Windows to DS Server in Unix
Replies: 19
Views: 6065

So your getting the "Invalid Userid and password" error now? That clearly says it all. Make sure your username and password is valid :?
by DSguru2B
Mon Apr 09, 2007 5:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Hash table warning
Replies: 3
Views: 2189

Search the forums. This has been asked and answered before.
Try the following link
http://www.dsxchange.com/viewtopic.php? ... +has+grown
by DSguru2B
Mon Apr 09, 2007 2:06 pm
Forum: General
Topic: Parameterizing output of Job
Replies: 9
Views: 2872

Search the forums. This has been covered extensively before.
by DSguru2B
Mon Apr 09, 2007 1:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dynamic file creation based on a value
Replies: 9
Views: 2134

I finally got a chance to write a small bat script to do this for you. Here ya go. @echo off REM Set variables set last="" set fileToParse=%1 set tmpFile=%2 for /f "tokens=1-4 delims=/.- " %%A in ('date /t') do (set Dow=%%A&set mm=%%B&set dd=%%C&set YYYY=%...
by DSguru2B
Mon Apr 09, 2007 1:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Installing DB2 plug in
Replies: 1
Views: 531

Try a search. This has been covered before.
by DSguru2B
Mon Apr 09, 2007 1:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: concatenate two fields in Transformer
Replies: 9
Views: 12979

I dont think there is an easy solution. You cannot concatenate null to another string and expect to get the other string. It will always give you null. You will have to change your jobs. The other easy way that I can see is to update your source to a space whereever a null is present. But even for t...
by DSguru2B
Mon Apr 09, 2007 1:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to know how to clean up datasets (whose header is gone)
Replies: 3
Views: 987

ArndW posted a method to get rid of these orphaned datasets by analyzing their magic number. He has posted commands to do so. Search for it.
by DSguru2B
Mon Apr 09, 2007 1:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading the Target
Replies: 13
Views: 3150

Code: Select all

OCONV(in.Col, "MC/N") 

Use the above for alphabet column. This will give you A-, B+ etc.

Code: Select all

OCONV(in.Col, "MCN") 


Use the above for numeric field. This will give you only numbers.
by DSguru2B
Mon Apr 09, 2007 12:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading the Target
Replies: 13
Views: 3150

Ok now your confusing me, I thought that you wanted to capture other characters like (-) and (+) etc. Isnt that the case? Once again, for only extracting numerics use DIGITS(in.Col) OR OCONV(in.Col, "MCN") for only alphabets use LETTERS(in.Col) OR OCONV(in.Col, ...
by DSguru2B
Mon Apr 09, 2007 12:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting a nullable Source to a non-nullable result
Replies: 4
Views: 3456

Well, is your target column set as nullable or not nullable? Make it the same as the field your fetching from the lookup. You might not need the modify stage as this is a new column that your fetching. If you were changing an existing non-nullable column to nullable then, I believe, you will have to...
by DSguru2B
Mon Apr 09, 2007 12:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Implicit Conversion From Source Type
Replies: 4
Views: 1182

Then your target should be defined as either decimal(5,2) or decimal(19,4), depending upon what table your searching.