Search found 15603 matches

by ArndW
Sat Jul 19, 2008 1:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate Key generator using DB SEQ option
Replies: 6
Views: 4430

A "sequence" needs to be created in the database in order to use it, these are not associated with tables. You will need to issue a command such as: CREATE SEQUENCE MySequence INCREMENT BY 1 START WITH 1 NOMAXVALUE CACHE 10; and then you can use the construct "select MySequence.NextVal from dual;"
by ArndW
Sat Jul 19, 2008 1:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: strange compiling problem in transformer
Replies: 8
Views: 4744

I wonder if your compile just has too many warnings. You can get rid of them by changing some, or all, of your implicit conversions to explicit conversion functions. Usually the big difference between stage variables and derivations that pops up is that stage variables are not nullable; but this pro...
by ArndW
Sat Jul 19, 2008 12:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Abort a job
Replies: 7
Views: 1913

Aha, thanks Ray - I thought I had edited out the "0" and put in "1" after I posted the message. As Ray correctly pointed out, the value of "0", which is the default, means unlimited rows and wouldn't have the desired results. I just re-read your post and you mentioned the input parameter, not a data...
by ArndW
Fri Jul 18, 2008 9:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: file to mainframe with different record layout
Replies: 4
Views: 789

Your example shows 3 different records, but all have the same layout; your rule seems to be to drop the last column. This is probably why nobody responded initially.
by ArndW
Fri Jul 18, 2008 9:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: strange compiling problem in transformer
Replies: 8
Views: 4744

Re: strange compiling problem in transformer

RAJEEV KATTA wrote:...If I remove the stage variable its not compiling...
If you want a qualified response, please post the error message and the stage variable/derivation to your thread.
by ArndW
Fri Jul 18, 2008 8:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Abort a job
Replies: 7
Views: 1913

Create a transform output link that only gets a record when you want the job to abort and limit that link to 0 records.
by ArndW
Fri Jul 18, 2008 7:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: return error code with deffun fucntion ?
Replies: 8
Views: 2496

The DEFFUN line is used at compile time, not at runtime.
Do you use the LectureParam() function anywhere in the job?
by ArndW
Fri Jul 18, 2008 5:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NOT CONNECTING TO PROJECT
Replies: 6
Views: 2655

can you, from a DOS shell window, execute "telnet {dsserver name} 9080"? If it works you will get a response and a timeout after a minute or two, if it isn't opened then you won't get a connection.
by ArndW
Fri Jul 18, 2008 1:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2API stage
Replies: 2
Views: 1025

Where are you displaying this date-as-string, and are you certain this is a PX and not a Server job?
by ArndW
Fri Jul 18, 2008 12:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to fetch info from scheduler
Replies: 5
Views: 2024

I can't recall the way the lines are formatted, but can you no use a simple DataStage job to "clean" up the data in the file?
by ArndW
Thu Jul 17, 2008 10:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to read a xls file
Replies: 5
Views: 1583

Please use search next time as recommended, this subject is covered at least once a month. Check out this thread for example.
by ArndW
Thu Jul 17, 2008 9:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Not able find the Websphere Session ID
Replies: 5
Views: 1814

If you look at session management in the websphere admin window you should find this session id.
by ArndW
Thu Jul 17, 2008 9:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Create Excel File
Replies: 4
Views: 3982

No, DataStage cannot create and write the MS-Excel file format on UNIX. There are ways to do this, but all involve purchasing extra software.
by ArndW
Thu Jul 17, 2008 9:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: datasource is notepad
Replies: 8
Views: 1913

Use a transform stage with stage variables. One variable could be "svLineNo" and be derived as "IF In.Column='UNCERTIFIED - 5 YEAR' THEN 0 ELSE svLineNo+1". Then, depending on the value of svLineNo, you can output the appropriate column/line value out of the transform stage.
by ArndW
Thu Jul 17, 2008 6:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage log
Replies: 4
Views: 1862

If the UNIX command line isn't available either, then schedule a regular DataStage job which creates output text files from the logs and FTPs or mails them out.