Search found 42189 matches

by chulett
Mon Nov 10, 2008 2:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in mail notification activity
Replies: 12
Views: 3929

It does get deleted normally, was hoping it might not have with the failure. Add this line to top of your "dssendmail_template.txt" file in the job's project:

cat sendmail_*.sh

This will capture the generated contents into the job's log. Don't forget to remove the line when we're done.
by chulett
Mon Nov 10, 2008 1:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in mail notification activity
Replies: 12
Views: 3929

Can you still find the .sh shell script mentioned above after the failure? If so, can you post the contents wrapped in [code] tags?
by chulett
Mon Nov 10, 2008 1:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequence
Replies: 15
Views: 2819

The Sequence job must abort (so the status says "Aborted/Restartable") for this to work. Which is what the "Automatically handle" option does for you - or you need to ensure it happens, with something like the Terminator stage, for instance.
by chulett
Mon Nov 10, 2008 1:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: job not getting compiled
Replies: 9
Views: 4960

What does "not getting compiled" mean? What happens when you try - do you get an error or... ? Have you tried a "force compile"? :?
by chulett
Mon Nov 10, 2008 1:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generate new column at runtime
Replies: 4
Views: 1810

There's no automated way to do what you want. AFAIK, you will need to treat the record as one long varchar field in job and append the columns and field delimiters based on what you find in the input.
by chulett
Mon Nov 10, 2008 1:31 pm
Forum: General
Topic: How to Attach a Log File in Email-Notification activity
Replies: 12
Views: 10207

As noted above, you would need to create a routine to dump the desired log to a text file, then that file can be added as an attachment to a Notification email. The "7.5 version" reference was for the attachment part, not the job log part.
by chulett
Mon Nov 10, 2008 12:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pivoting a Single column
Replies: 5
Views: 1578

Setup whatever you think the maximum number of columns are and use Field() to populate each. Filter the empty/null ones out afterwards.
by chulett
Mon Nov 10, 2008 11:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generate new column at runtime
Replies: 4
Views: 1810

Re: Generate new column at runtime

krishna81 wrote:there is no consistency in delimited fields.

What does this mean? :?
by chulett
Mon Nov 10, 2008 10:55 am
Forum: General
Topic: Reg ORA_NLS33 env variable
Replies: 5
Views: 2365

That would seem to be the case, yes, if what you are saying is true. Only you can compare the user profiles and tell, of course.
by chulett
Mon Nov 10, 2008 10:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to request the job (parallel, sequence) version?
Replies: 11
Views: 2722

You need to enter it as posted, things are case-sensitive there to a great degree. And it loves the upper cases. :wink:
by chulett
Mon Nov 10, 2008 10:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequence
Replies: 15
Views: 2819

Exactly, it's all right there. At the very least enable the 'Add checkpoints' option and possibly the 'Automatically handle' one as well, depending on how explicitly you want to code your triggers.
by chulett
Mon Nov 10, 2008 7:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: can we use routines of datastage in unix script
Replies: 4
Views: 1986

Short answer? Yes.

Actually, 'dsjob' is a UNIX function heavily documented in the included pdfs and here as well. You cannot use it 'through the Administrator'. :?
by chulett
Mon Nov 10, 2008 7:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User defined SQL in Oracle Stage
Replies: 9
Views: 2711

I imagine that could be if they are overridden in the dsenv file. Check the second log entry for the job, that will show all environment variables in play while the job was running.
by chulett
Mon Nov 10, 2008 7:07 am
Forum: General
Topic: Trim function
Replies: 3
Views: 1524

Or:

Code: Select all

ScreenOutput<3>

Will just pull the third entry in the returned dynamic array.
by chulett
Mon Nov 10, 2008 7:03 am
Forum: General
Topic: Reg ORA_NLS33 env variable
Replies: 5
Views: 2365

That would be a question for your DBA.