Search found 73 matches

by JezT
Tue Jan 04, 2005 9:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataTypePicComp
Replies: 35
Views: 10150

Is there not a simple answer as to how to do it within DataStage and then I can do the "earn and learn" later. It's just that we are working to a pretty tight deadline and this requirement has only just been discovered !!
by JezT
Tue Jan 04, 2005 8:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataTypePicComp
Replies: 35
Views: 10150

The PICture definition of the source field is PIC10(10).

What do you mean by compiler ?

And there won't be any negative numbers in the source field.
by JezT
Tue Jan 04, 2005 8:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataTypePicComp
Replies: 35
Views: 10150

DataTypePicComp

The SDK Routine DataTypePicComp converts a COBOL PIC COMP into an integer.

Is it possible to do the reverse (i.e. convert a CHAR field into a COBOL PIC COMP) within datastage ?
by JezT
Tue Jan 04, 2005 7:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CFF Stage
Replies: 1
Views: 992

CFF Stage

I am running a job that produces a three column sequential file. One of the columns is a 10-digit Customer Number that has leading zeros if the number is not 10-digits long. This file is transferred to another department for them to input on to their system but before it is transferred, the customer...
by JezT
Tue Jan 04, 2005 2:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Computation of Field
Replies: 2
Views: 987

Computation of Field

I am running a job that produces a three column file. One of the columns is a 10-digit Customer Number that has leading zeros if the number is not 10-digits long. This file is then transferred to another department for them to input on to their system. They have requested that the Customer Number fi...
by JezT
Fri Dec 24, 2004 5:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Leading Zero's on Numeric Fields
Replies: 3
Views: 2877

Leading Zero's on Numeric Fields

I am wanting ao add leading zero's to a numeric field if it is not 10 characters long.

I know the FMT Function is used for string fields but what can I use for a numeric field ?
by JezT
Wed Dec 22, 2004 9:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Numeric Validation
Replies: 10
Views: 2363

Numeric Validation

I am wanting to do some data checking on several fields within a source file.

I need to check that 3 of the fields only contain numeric characters otherwise the row should be rejected.

Any suggestions ?
by JezT
Wed Dec 22, 2004 3:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Inaccessible Jobs
Replies: 1
Views: 536

Inaccessible Jobs

I am trying to access some of my jobs but keep getting the following error:
This item has no design time information
I have re-indexed the project as has been advised on another topic but this has made no difference.

It is not happening for other jobs, just this one.

Any ideas ????
by JezT
Mon Dec 20, 2004 9:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Shared Container with 2 Natural Keys
Replies: 1
Views: 712

Shared Container with 2 Natural Keys

I am using a shared container to look up a surrogate key for a given natural key. However, the problem is that the column in the source file which is used as a natural key relates to 2 different fields within the DB2 table in the shared container. Therefore, depending on which row is being passed in...
by JezT
Thu Dec 09, 2004 8:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 Lookups on a Load Job
Replies: 2
Views: 735

DB2 Lookups on a Load Job

I have a load job that is adding a field to a Customer DB2 table. In my source file that I am loading up, I have 18 rows (2 different rows for each ID of 1-9). If I do a lookup on the table and then add the data directly to the DB2 table (so that the lookup and target table are linked to the same tr...
by JezT
Wed Dec 01, 2004 6:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating a File Header
Replies: 4
Views: 985

Creating a File Header

I have created two after job routines. One adds a trailer to the output file from a job and the other is meant to add a header. The problem is that although the Write Trailer works fine, the Write Header routine is adding the line at the bottom of the file and not the top. Any suggestions ? Is there...
by JezT
Thu Nov 18, 2004 2:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stripping Rows from a Sequential File
Replies: 6
Views: 1668

Cheers Rasi

That works a treat !!

Jez
by JezT
Wed Nov 17, 2004 8:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stripping Rows from a Sequential File
Replies: 6
Views: 1668

Stripping Rows from a Sequential File

I have a file of about 10,000 rows in with 3 columns (IP_ID, CDU_CIN and PTYP_SVAL). Most of the rows have unique IP_ID's (which is the Key field) but there are some that have duplicates. I am wanting to strip out these duplicates and to leave the occurence of the IP_ID which has the highest value i...
by JezT
Fri Nov 12, 2004 4:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Splitting Concatenated Strings
Replies: 4
Views: 2467

Splitting Concatenated Strings

I have a file consisting of multiple rows containing multiple Surrogate Keys concatenated together against a single Natural Key. For example, Surr Key Nat Key 1:2:3:4 ABC 5:6:7:8 DEF I am now wanting to split this concatenated string up so that for every instance of a surrogate key, a row is created...
by JezT
Wed Oct 06, 2004 7:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Inserting Blank Rows into a file
Replies: 7
Views: 2843

Craig

The only problem with that is the source table does not actually contain Quarter Hour Slots. It contains a time that the telephone call was received and then this is passed into a transformer which calculates which Quarter Hour Slot within the day that call falls into.

Jez