Search found 20 matches
- Tue Mar 17, 2009 2:35 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: EBCDIC numeric check
- Replies: 9
- Views: 4928
We found a workaround for this issue. Read the EBCDIC file in a SEQ file Stage allowing all Nulls(i.e.Nullable=Yes on all fields) . the non numeric fields are implicitly replaced by a NULL value/s (High Values \xFF in our case) and we eliminate the need for checking if data is numeric - inside the D...
- Fri Feb 06, 2009 8:20 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: EBCDIC numeric check
- Replies: 9
- Views: 4928
Thanks guys.. Ray- I had a similar suggestion from a collegue telling me to maybe check the last bit of the packed field to compare if that is numeric. A COBOL program to do the unpacking would take a long time (because of the size of the data) and consume resources on the mainframe. I am trying a w...
- Thu Feb 05, 2009 3:15 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: EBCDIC numeric check
- Replies: 9
- Views: 4928
- Thu Feb 05, 2009 2:39 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: EBCDIC numeric check
- Replies: 9
- Views: 4928
- Thu Feb 05, 2009 11:28 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: EBCDIC numeric check
- Replies: 9
- Views: 4928
EBCDIC numeric check
Is there any way we can check if a particular EBCDIC field is numeric ? I am reading an ebcdic file in a parallel job and reading the field as char because I need to do the numeric check. I tried the NUM() and ISVALID(int32,)functions but its not returning true even if its numeric value in the field...
- Wed Jan 21, 2009 8:56 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: writing High Values into Asci or Binary File
- Replies: 6
- Views: 2969
(I am continuing this thread as I didnt want to open a new one..hope no one minds) I am able to get perfect high values and low values through a server job using function - char(255) and char(0) but when I try to use the same in parallel jobs, I am unable to achieve the same result. (using sequentia...
- Tue Dec 16, 2008 1:46 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: best practice to handle billion records
- Replies: 3
- Views: 2497
Re: best practice to handle billion records
ofcourse you should use the DB2 EE stage for extract, update and loading of the records. I have used the DB2 EE stage extensively and its extremely fast. just that you need to set it up properly. Also as someone suggested, use all indexes and do a query tuning exercise before you put your code in pr...
- Fri Dec 05, 2008 1:46 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Bulk Load Job failing
- Replies: 9
- Views: 3987
Actually the job runs fine if the directory is changed I believe if you can load from one directory and similar permissions exist for the same user, then u should be able to load from any other directory ! try going to the directory in UNIX prompt with that user and opening the file. also 'type in ...
- Thu Dec 04, 2008 11:28 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Restart variable in Sequence
- Replies: 4
- Views: 3109
Try to implement some logic as such At the start of the sequencer, create an empty file. delete this file on successful completion of the sequencer. can use after-jopb subroutine. When starting the sequencer, try to see if file is present. If its present it means the seq is restarted after abort - c...
- Thu Dec 04, 2008 11:16 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Retrieving Identity Column values from DB2/UDB
- Replies: 11
- Views: 11233
Re: Retrieving Identity Column values from DB2/UDB
DB2 has a function 'nextval' - try and use it in a script . call this script in the before job subroutine. passing a parameter to this script as how many times the nextval command should execute could be done ,if you include in a while/for loop.. I presume that ID column is using a DB2 sequence obje...
- Thu Dec 04, 2008 11:07 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Error during loading rows in DB2 database
- Replies: 5
- Views: 2870
Re: Error during loading rows in DB2 database
Try to make a workaround job and insert a sort and remove-duplicates stage before the final o/p.(keys for sort and remove dupes should be same.) In this workaround, remove the DB2 stage and instead get all the records in a dataset. Then you can compare the rows from the job monitor to the original j...
- Tue Nov 25, 2008 10:42 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Cleaning up datastage internal files
- Replies: 4
- Views: 2907
Try the following command in the DS Administrator: SELECT * FROM DS_JOBS WHERE NAME='jobname' Or SELECT JOBNO FROM DS_JOBS WHERE NAME='jobname' you should get the job number from the above query ex: 123. The RT_LOG123 will contain log information for the job. similarly rest of the files with 123 num...
- Tue Nov 25, 2008 10:29 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: default value for Nullable decimal fields
- Replies: 5
- Views: 2622
- Tue Nov 25, 2008 10:28 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Lookup and Defaults (NULLS)
- Replies: 6
- Views: 2285
- Wed Nov 19, 2008 5:50 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How does a user-defined query works?
- Replies: 4
- Views: 2442
you can also try and test the query outside of datastage by replacing each '?' by the actual values from the input.
if that query returns any rows, then investigate further with datastage, else the data that you are trying to fetch is failing to meet some condition in your user defined SQL.
rgds,
Nik
if that query returns any rows, then investigate further with datastage, else the data that you are trying to fetch is failing to meet some condition in your user defined SQL.
rgds,
Nik