Search found 42189 matches

by chulett
Sun Jul 06, 2008 6:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: get user defined environment variable in job sequence
Replies: 11
Views: 3406

You could capture it using an Execute Command stage and 'echo'. Or add it as a job parameter to the sequence and set it to $PROJDEF. Depends on what 'based on an input parameter' means. :?
by chulett
Sun Jul 06, 2008 6:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: passing User defined Env variable in dsjob -run
Replies: 6
Views: 2186

How did you define the Environment Variables in your job? Did you set their default value to $PROJDEF? I would guess not if they are still using the "old" values.
by chulett
Fri Jul 04, 2008 7:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Merge stage in server jobs
Replies: 6
Views: 3565

Not mandatory as it will default to 'the current working directory' - i.e. your Project. Generally a Bad Idea, btw.
by chulett
Fri Jul 04, 2008 7:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp convertion needed for Oracl Insert
Replies: 8
Views: 3978

What do you believe the 'correct date and time format' is? Apparently not what Oracle believes it to be. If you are using generated SQL (as you should be IMHO) and a Timestamp datatype in the job (again, as you should be IMHO) then that format needs to be this: YYYY-MM-DD HH24:MI:SS If instead you a...
by chulett
Fri Jul 04, 2008 7:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cant execute numeric loop activity in sequence
Replies: 6
Views: 1886

You should be able to find discussions on this searching for a common parameter handling problem when pulling these parameter values from a file. Do an exact search for "[ParamValue/Limitvalue is not appropriate]" to turn them up. Basically, the output from the OS command is returned in a dynamic ar...
by chulett
Fri Jul 04, 2008 1:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cant execute numeric loop activity in sequence
Replies: 6
Views: 1886

manuel.gomez wrote:I set the routine activity trigger condition OK, but it seems routines dont return this status

'OK' means it checks for a zero, and since your routine returned a six...
by chulett
Thu Jul 03, 2008 6:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Acquiring MQ stage
Replies: 2
Views: 1777

During a DataStage 8 install I got a wizard prompt that asked if I wanted MQ and the stages showed up after the install. There might be a similar prompt on a DataStage 7 install There's no wizard and no MQ that comes with 7 that I've ever seen. What you do get, from what I recall, are the MQ stages...
by chulett
Thu Jul 03, 2008 11:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS log message
Replies: 2
Views: 878

Other than not creating the error in the first place, no.
by chulett
Thu Jul 03, 2008 7:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Identifying a Job Sequence in a dsx file
Replies: 3
Views: 1261

Yah, it was a little further down than I thought it would be when I went hunting. :wink:
by chulett
Thu Jul 03, 2008 7:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cant execute numeric loop activity in sequence
Replies: 6
Views: 1886

There's probably more than just a 6 there but only the 6 is visible. Suggest you take the value you cat from the file and do this to it before it gets to the Loop: Convert(@FM,"",YourValue) This will remove any Field Marks added by the command stage and should make the loop more ha...
by chulett
Thu Jul 03, 2008 7:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Special character in Target
Replies: 3
Views: 1263

First you need to determine how it got there, what the source was. This is typically caused by an NLS_LANG handling / conversion error during processing of the data.
by chulett
Thu Jul 03, 2008 7:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Format
Replies: 2
Views: 1008

First observation, you've got the Conv brothers backwards. IConv first, meaning innermost and then OConv second meaning outermost.
by chulett
Thu Jul 03, 2008 7:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Simple informations on datastage components
Replies: 3
Views: 1104

From your Start menu, navigate to 'Ascential DataStage / Online Manuals / DataStage Documentation'. From that pdf, scroll down and open the Server Job Developer's Guide for Server and the Parallel Job Developer's Guide for PX jobs. It's all there. I'd also suggest you check out the Designer Guide as...
by chulett
Thu Jul 03, 2008 7:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Conditional execution
Replies: 10
Views: 3010

The same way. The MKS Toolkit will have a 'cat' command, I assume, or you can use the DOS command 'type' which will accomplish the same thing.
by chulett
Thu Jul 03, 2008 7:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Identifying a Job Sequence in a dsx file
Replies: 3
Views: 1261

I'm sure you could just export one of each and check with Mr Eyeball. :wink:

If you did, you'd find an entry of JobType with various numeric values:

Code: Select all

JobType = "0"      (Server)
JobType = "2"      (Sequence)


I'll let you determine the rest, if you like.