Search found 452 matches

by vivekgadwal
Sat Oct 31, 2009 7:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF Stage - Configuring Record delimiter
Replies: 21
Views: 12290

If there is no line terminator then there must exist some indicator of the length of the variable part. I don't believe the CFF stage can deal with these as yet. However, you can read with a Sequential File stage as a single string per line and parse subsequently with a Transformer stage. Thanks Ra...
by vivekgadwal
Fri Oct 30, 2009 8:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF Stage - Configuring Record delimiter
Replies: 21
Views: 12290

This symbol? :? Funny...that is exactly how I am right now...puzzled!! :wink: CHAR(10) would be a LF but you shouldn't have to use a function to specify it. A CR is a CHAR(13) btw. I don't use this stage and the documentation is a little sparse, so I'm gonna have to guess on a couple of things. You...
by vivekgadwal
Fri Oct 30, 2009 7:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF Stage - Configuring Record delimiter
Replies: 21
Views: 12290

Look at the file with a hex viewer (UltraEdit is good) and determine what the line terminator actually is. It can't be NONE, because of the short records. Thanks Ray. I tried to look at the End-of-Record using Textpad, but it showed me this symbol and I couldn't find it in the ASCII chart. I will t...
by vivekgadwal
Fri Oct 30, 2009 6:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF Stage - Configuring Record delimiter
Replies: 21
Views: 12290

You might be better off finding out why you have short records. Fixed is fixed and that means each record needs to always be just that - a fixed constant length. Can you verify if they start off that way on the source system? FTP can strip rather than preserve trailing spaces in records and thus ho...
by vivekgadwal
Fri Oct 30, 2009 3:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF Stage - Configuring Record delimiter
Replies: 21
Views: 12290

CFF Stage - Configuring Record delimiter

Gurus, I need help with regards to the configuring of CFF Stage, specifically how to configure when a Fixed-width file will be occasionally missing the last two fields. Scenario : We have a fixed-width file being FTP'ed by Mainframe onto a server and that flat file is being successfully processed by...
by vivekgadwal
Thu Oct 29, 2009 12:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Informatica Table Definition Conversion to Datastage
Replies: 13
Views: 14794

True...and from what I understand from the documentation, ODO clause will not get flattened as opposed to using just the OCCURS clause.
by vivekgadwal
Thu Oct 29, 2009 12:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Informatica Table Definition Conversion to Datastage
Replies: 13
Views: 14794

Well...you are right Craig in the sense that, you have to flatten Occurs in order to read the data. CFF does that flattening work for us. Now, in 8.x, IBM has included the support for the following: > GROUP > REDEFINES > OCCURS > OCCURS DEPENDING ON However, I too have a limited experience using CFF...
by vivekgadwal
Thu Oct 29, 2009 11:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Informatica Table Definition Conversion to Datastage
Replies: 13
Views: 14794

AFAIK, both 'occurs' and 'redefines' are not supported. Craig, CFF stage supports Occurs as well as Redefines. I did not understand what you exactly meant by "not supported"! Now you are treading into deeper water. Complex flat files (with occurs, etc.) are handled in a more proprietary w...
by vivekgadwal
Thu Oct 29, 2009 9:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Informatica Table Definition Conversion to Datastage
Replies: 13
Views: 14794

Find something (DataStage?) to read the xml metadata from the other tool. Manipulate that metadata and create whatever other file type that you are most comfortable with..... study a .dsx....... Ernie, Thanks a lot for your help. I am trying the "STUDY DSX AND EDIT IT" approach and I code...
by vivekgadwal
Tue Oct 27, 2009 5:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Informatica Table Definition Conversion to Datastage
Replies: 13
Views: 14794

Ernie, I have the following questions regarding your answer. There are lots of ways to get metadata for tables "into" DataStage, among them being reverse engineering of a table .dsx (export one and take a look at it --- it's not that difficult -- and also has been discussed in the forum in...
by vivekgadwal
Thu Oct 15, 2009 8:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Abnormal termination of stage Jobname.transfermerstahename d
Replies: 8
Views: 3509

Re: Abnormal termination of stage Jobname.transfermerstahena

Hi, Anybody suggest me how can we slove the below error : Abnormal termination of stage Jobname.transfermerstahename detected Murali, After any such errors happen, if you simply re-set the job, not run it again, you might get a log of what that error is. If you are having any such error log being d...
by vivekgadwal
Thu Oct 15, 2009 7:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: FTP to mainframe
Replies: 6
Views: 2537

Well it was worth a shot. Now to convince them to use scripting. Thanks for the help. Craig is right. I had the same issue with FTP stage, when I am trying to do the FTP commands like "quote site". IBM told us that it is a limitation of the FTP stage (cannot execute the FTP commands). So,...
by vivekgadwal
Tue Oct 13, 2009 8:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: To Check for a Zero byte file using datastage server jobs
Replies: 4
Views: 2303

Re: To Check for a Zero byte file using datastage server job

...to check for a zero byte file which is received at datastage inbound path. You can also write a routine in DataStage and use the OpenSeq functionality in it. There is a STATUS array and one of the fields in that array is 0 if the file is a zero byte file or not. This is a little more complicated...
by vivekgadwal
Thu Sep 17, 2009 8:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: PICKNULL in UNCONFIG file
Replies: 6
Views: 3114

chulett wrote:Realize that he said it may do so, not that it does. Hence the suggestion to check with support.
Okay! I misunderstood the "may be" portion :)
Thanks all for your help! I am marking this topic as resolved.
by vivekgadwal
Wed Sep 16, 2009 6:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: PICKNULL in UNCONFIG file
Replies: 6
Views: 3114

I would expect Iconv() or Oconv() would be used with server job stage types to effect unmasking of decimals and various other conversions. So, yes, even if you're using OCI, it may be so. Thanks Ray. It is indeed very interesting to know that beneath the covers, even for an OCI stage, DataStage use...