Search found 15603 matches

by ArndW
Wed Oct 31, 2007 4:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Converting/Adding 8 character into a 12 character string
Replies: 1
Views: 805

This is all pretty simple string manipulation since you aren't working with variable length strings. Try doing it in 2 steps, one to right-align the numeric, then the second to do the string insertions

1. In.Col[1,1]:FMT(In.Col,"11'0'R")
2. do you explicit positional changes.
by ArndW
Wed Oct 31, 2007 5:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Metadata not found
Replies: 4
Views: 1965

Just to confirm - by saying the "same job" you mean one that was exported and reimported by yourself so that there is no chance of a mistake? Are DEV and PROD the same version with the same configuration files?
by ArndW
Wed Oct 31, 2007 2:21 am
Forum: General
Topic: Regarding Fatal warning in the transfomer.
Replies: 12
Views: 4437

Try using an actual delimiter, i.e.

Code: Select all

Field(LNK_DETAILS_CUST.FIRST_NAME,' ',1)
by ArndW
Wed Oct 31, 2007 12:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Support for large dates - say 5874897-12-31
Replies: 7
Views: 2727

This might be an argument for a BASIC transform stage and the ICONV()/OCONV() functions.
by ArndW
Tue Oct 30, 2007 11:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: trouble in oracle stage
Replies: 3
Views: 870

I you know this limitation and understand it, just deprecate the warning message (or suppress it completely) using the message handler facility in DataStage.
by ArndW
Tue Oct 30, 2007 11:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Import Orchestrate Schema Error
Replies: 7
Views: 2095

Try "gullible". If that doesn't work, ask your local DataStage administrator for it, or ask the system administrator for it

It might be easier, though, to just do what I suggested in the first post. It is simpler, quicker and doesn't require dsadm access.
by ArndW
Tue Oct 30, 2007 8:34 pm
Forum: General
Topic: Using Regular Expression in Transformer Stage Constraint
Replies: 8
Views: 10686

Please post your first couple of lines, BEGIN HEADER is not DS/BASIC code. Also, read up on the OCONV() function with date conversion, look at the examples, try them and then ask any remaining questions. Few people are willing to write a lengthy answer to an open-ended question when you know the ans...
by ArndW
Tue Oct 30, 2007 6:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Row Count
Replies: 6
Views: 1762

Re: Row Count

...I am using DSGetLinkInfo(DSJ.ME,"Transformer1","DSLink2", DSJ.LINKROWCOUNT) to find the record count. I use this function in transformer 2. You will not get the correct row count this way. You need to call the DSGetLinkInfo() function from the after-job subroutine or from outside of the job itse...
by ArndW
Tue Oct 30, 2007 5:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: filetransfer using server job
Replies: 4
Views: 1712

I'm confused by your answer - do you not wish to use the FTP stage in your job or can you not find it in your palette? The common methods of NFS Mount, SCP, RCP and FTP are all available to you from DataStage using shells. You need to decide which method you should use and then implement that in Dat...
by ArndW
Tue Oct 30, 2007 5:40 pm
Forum: General
Topic: Regarding Fatal warning in the transfomer.
Replies: 12
Views: 4437

Great - you (and we) are now certain that the error is in the transform stage. Make a copy of the job and start removing derivations until the error goes away - that way you can find out which exact column derivation is causing the problem.
by ArndW
Tue Oct 30, 2007 5:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Import Orchestrate Schema Error
Replies: 7
Views: 2095

Does the file exist and if so, what are the permissions? Does your userid have write permission to that directory?
by ArndW
Tue Oct 30, 2007 5:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How do i extract only data that is inside the commas
Replies: 3
Views: 1228

This looks like the classic use of the FIELD() function. I'm not sure exactly what you are trying to do ("between the commas" is vague).

But

Code: Select all

FIELD('"Deutche Bank",fee,Income from Deutche bank', ',', 2)
would return the string 'fee'.

Is that what you are looking for?
by ArndW
Tue Oct 30, 2007 5:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: REINDEX
Replies: 4
Views: 1339

If you do the REINDEX and log into the Director/Designer/Manager to find that you can see no jobs - don't despair, it means that there were users logged in during the REINDEX and you just need to do it again.
by ArndW
Tue Oct 30, 2007 5:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: RETURN statement error
Replies: 1
Views: 846

These are program FUNCTIONs, and thus need to return a single value. The correct syntax in these is "RETURN({value})". I'm not going to look at your code in detail, but probably you want a "RETURN(Ans)"
by ArndW
Tue Oct 30, 2007 5:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dataset Deletion Error
Replies: 4
Views: 4755

Please check the UNIX access rights to the DataSet descriptor file and to the partfiles referenced by the descriptor - do you have delete rights? When you used the "orchadmin -rm {dataset}" command what messages did you get?