Search found 42189 matches

by chulett
Wed Apr 27, 2016 9:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Eliminating Carriage return Line feed characters
Replies: 7
Views: 7334

I for one would be curious what "all the different solutions" are that you tried and also what you mean by "the job fails"... specifically what about it fails, what error messages are you seeing? If the issue is reading the file, it's too late to try to handle them in the job and...
by chulett
Tue Apr 26, 2016 4:55 pm
Forum: General
Topic: Subtract Hours from Current Timestamp
Replies: 7
Views: 3248

Perhaps Ray is still giving away his BASIC routines to do date and time math, that would certainly make things easier. Otherwise I think you're going to need do some of your own. Something like: 1. IConv to convert the time to internal format 2. Subtract 18000 (5 hours in seconds) 3. Handle any 'und...
by chulett
Tue Apr 26, 2016 4:25 pm
Forum: General
Topic: Subtract Hours from Current Timestamp
Replies: 7
Views: 3248

You were too quick. I removed my post when I noticed you said "in a User Variable stage" (which means a Sequence job) and I thought you were looking for a Parallel function. While I was removing it you replied.

No it does not and we're in the wrong forum to boot. Hang on a sec.
by chulett
Tue Apr 26, 2016 12:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: decimal value in datastage transformer
Replies: 3
Views: 1968

Yup, it would need to be decimal(8,5) to get the output you are looking for.
by chulett
Tue Apr 26, 2016 7:13 am
Forum: General
Topic: Connect DB2 from DataStage using Routines
Replies: 10
Views: 3254

Worrying about how the DB2 Connector handles it isn't going to help, in my opinion, as they are completely different mechanisms and environments. You need a solution to the problem you are seeing with it at the OS level. Unfortunately, I'm not aware of any 'setting' that would allow your problematic...
by chulett
Mon Apr 25, 2016 11:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem loading timestamp using ODBC Connecter
Replies: 8
Views: 8360

You are facing the same issue in a Server job? Assuming your problem is with a parallel job, please start a new post and detail for us exactly what the issue is that you are having.
by chulett
Mon Apr 25, 2016 7:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture number of rows processed
Replies: 4
Views: 2162

Rejected records? We don't need no stinking rejected records! :P
by chulett
Mon Apr 25, 2016 11:43 am
Forum: General
Topic: shell script permission denied error
Replies: 6
Views: 2983

From a permissions standpoint when you say "when I execute" that's only a valid test if you are logged in as the same user that executes the job.
by chulett
Mon Apr 25, 2016 11:09 am
Forum: General
Topic: Connect DB2 from DataStage using Routines
Replies: 10
Views: 3254

Okay... DSExecute with a shell type of SH is the same as ExecSH from Before/After or the Execute Command stage, so we're good there. To really nail down exactly what the issue is, any chance as a test you could have the password changed to something without special characters (temporarily) to confir...
by chulett
Mon Apr 25, 2016 9:52 am
Forum: General
Topic: Connect DB2 from DataStage using Routines
Replies: 10
Views: 3254

Sorry, still just gathering information. So actually you are doing "db2 connect" from the command line using ExecSH, it would seem. And passing in the parameter as part of the command line, yes? I'm wondering if the parameter is defined as a string or an encrypted password and also wonderi...
by chulett
Mon Apr 25, 2016 8:00 am
Forum: General
Topic: Connect DB2 from DataStage using Routines
Replies: 10
Views: 3254

So how exactly is your routine 'connecting to DB2'? Is your password coming in as a job parameter or are you 'hard coding' it as part of this routine?
by chulett
Mon Apr 25, 2016 7:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture number of rows processed
Replies: 4
Views: 2162

So you want to capture the number of rows processed without any evil routines? Add an aggregator from the transformer, count the records and write that to your second target.
by chulett
Fri Apr 22, 2016 8:04 am
Forum: General
Topic: How do you remove a folder with spaces in the name?
Replies: 17
Views: 9342

Spaces like that can lead to madness, yes. :wink:

Andy, the original issue remains unsolved unless Ray's SQL is an answer to handling folder names with spaces in them. Anyone care to confirm / deny?
by chulett
Thu Apr 21, 2016 12:01 pm
Forum: General
Topic: dscmdimport - Failed to attach to the project AGAIN..
Replies: 4
Views: 3440

:idea: Dave, just in case you hadn't noticed it - there is a Reply to topic link at the top and bottom of every page that let's you reply without quoting everything from the post you are replying to.

Thanks.
by chulett
Thu Apr 21, 2016 10:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Output decimal to sequential file without the dot
Replies: 2
Views: 1446

And you don't want the decimal point? Don't define it as decimal. Perhaps use an integer, that or convert it to a string before writing to the flat file.