Search found 15603 matches

by ArndW
Tue Oct 26, 2010 9:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sequential file
Replies: 13
Views: 2720

If you want to add a string to a filename in a DataStage job, then you would need to use a job parameter; you can compute the date in a job sequence calling that job and pass in the date as one of your parameters.
by ArndW
Tue Oct 26, 2010 9:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Row Delim
Replies: 11
Views: 2617

This code takes fields 1-4 of string Merge_Out.CRC_ROW as delimited by value of the character in RowDelim and then trims all blanks from the beginning and end of the string. for example, if RowDelim is the semicolon character ";" then if Merge_Out.CRC_ROW = " Hello;there;Fellow;DSXcha...
by ArndW
Tue Oct 26, 2010 6:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creating packed field in Sequential File stage
Replies: 2
Views: 1209

The process of turning a string number or integer into a packed field is mathematically simple, but best done using the complex flat file stage as Ray has suggested. If you really want to do the math yourself it would be simplest to use a server job and a short BASIC routine, as the functions to per...
by ArndW
Tue Oct 26, 2010 6:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: View data Related Querry
Replies: 6
Views: 2667

It would be extremely helpful if you would also post your SQL.
by ArndW
Tue Oct 26, 2010 5:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SFTP from Unix to Windows server
Replies: 3
Views: 1909

DataStage itself does not do this, it is an operating-system level command. You would need to call an external shell script or command in order to do this, but if authentification exists between the computers it is a simple command call.
by ArndW
Tue Oct 26, 2010 5:54 am
Forum: General
Topic: Job dependency report
Replies: 6
Views: 3525

I declared 2 columns and then added a Job Parameter SequenceName and then edited your SELECT to read "SELECT DS_JOBS.NAME, DS_JOBOBJECTS.NAME FROM DS_JOBS, DS_JOBOBJECTS WHERE DS_JOBS.NAME = '#SequenceName#' AND DS_JOBOBJECTS.OBJIDNO = DS_JOBS.JOBNO AND DS_JOBOBJECTS.OBJTYPE = 'J' AND DS_JOBOBJ...
by ArndW
Tue Oct 26, 2010 5:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issues compiling Parallel External Routine
Replies: 16
Views: 6055

How have you declared your routine, "ParsenExtract" (is that spelling correct?); is it in your own .dll or custom routine definition?
by ArndW
Mon Oct 25, 2010 8:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Config file warning...
Replies: 10
Views: 5440

No, you misunderstand the message. Depending upon your flavour of UNIX, the command you need to issue is "swap -l"
by ArndW
Mon Oct 25, 2010 8:34 am
Forum: General
Topic: how to stop job after unix script returns value 1
Replies: 7
Views: 2449

The basic approach you chose by calling the script via the execute command stage is the correct method. But you aren't interpreting the returned string correctly - most likely due to extraneous new line character(s). Output your returned value to the log file to see what you've got. p.s. Any post ma...
by ArndW
Mon Oct 25, 2010 7:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: in-built function to upload the value from job to sequence?
Replies: 5
Views: 1415

Does only 1 row go through this transform stage, or do you need to emulate logic "if any 1 row is INVALID then set user status to invalid, otherwise leave result as valid"?
by ArndW
Mon Oct 25, 2010 7:30 am
Forum: General
Topic: ExceptionHanlder is not working
Replies: 4
Views: 1413

Does that mean that the exception handler is working in other jobs but not in this one, or that the mail activity in general is working?
by ArndW
Mon Oct 25, 2010 7:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: database connection
Replies: 2
Views: 1550

Could you post the exact error message and exact (using cut-and-paste) use of the parameter in your job?
by ArndW
Fri Oct 22, 2010 8:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lengths for Varchar Fields
Replies: 4
Views: 1489

No significant downside and no difference at Version 8.1 to the former version. You will have to ensure that you don't write a VarChar value that is longer than the target (e.g. an Oracle table) can contain, but using unterminated VarChar columns within DataStage jobs is not a problem - in fact it i...
by ArndW
Fri Oct 22, 2010 4:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date difference function
Replies: 1
Views: 1162

In server your date columns are either in internal format or in display format. The internal formats are numeric and thus you can subtract one from another and the resultant integer is the difference in days between the two dates. If your dates are in string format, you would need to convert them to...