Search found 53125 matches

by ray.wurlod
Sun Aug 12, 2012 11:14 pm
Forum: General
Topic: Create Email Messages in HTML format
Replies: 5
Views: 3840

The after-job subroutine can be used to execute a command in an operating system shell (use ExecDOS or ExecSH as appropriate). This can be made conditional on successful completion of the job.
by ray.wurlod
Sun Aug 12, 2012 10:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to Perform Custom Query Join in JOIN Stage
Replies: 3
Views: 1363

Welcome aboard.

The Join stage only performs an equi-join on sorted inputs.

Probably easiest is to copy one table into the other database and use that database's SQL capabilities to effect the custom join.
by ray.wurlod
Sun Aug 12, 2012 6:50 pm
Forum:
Topic: Microsoft SQL Server Master Data Services (MDS)
Replies: 0
Views: 1095

Microsoft SQL Server Master Data Services (MDS)

Has anyone used Business Glossary and/or Metadata Workbench in conjunction with Microsoft SQL Server MDS (formerly Bulldog, formerly Stratature +EDM)? If so, can you please either respond here with how you accomplished it, or reply off line?
by ray.wurlod
Sun Aug 12, 2012 5:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unix Commands in DS for every input record
Replies: 4
Views: 1743

In a parallel job you should be able to use an External Filter stage. This executes a well-formed UNIX command. Its sdtin is mapped from the stage's input link, and its stdout is mapped to the stage's output link.
by ray.wurlod
Sat Aug 11, 2012 4:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Compare Current Record with Previous record
Replies: 5
Views: 3597

That's an overly complex solution. It can be done readily with two stage variables. The only thing that is important is the order of execution (a) of the stage variables and (b) of the data (what does "previous" mean when the data are partitioned?).
by ray.wurlod
Sat Aug 11, 2012 4:57 pm
Forum: General
Topic: Update Job Control Table using File Name,File date
Replies: 3
Views: 1576

How do you provide the file name to the job?
What is file date in this context?
What is batchno?
by ray.wurlod
Fri Aug 10, 2012 2:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: pad string
Replies: 15
Views: 7438

General question to all contributors to this thread: which of the suggested approaches is most efficient (fewest CPU cycles) and which is least efficient?
by ray.wurlod
Fri Aug 10, 2012 2:08 am
Forum: General
Topic: Director Monitor Detail
Replies: 7
Views: 1596

You can indeed click on a stage (name), or even on a link (name), in Director's Monitor view.
I tend to concur with Arnd's thought, without having run any tests.
by ray.wurlod
Fri Aug 10, 2012 2:05 am
Forum: IBM QualityStage
Topic: Quality Stage Help
Replies: 4
Views: 2410

If you have the software you have the tutorial - it's in the manual set.

You can find RedBooks by searching www.ibm.com.
by ray.wurlod
Thu Aug 09, 2012 7:52 pm
Forum: General
Topic: routine for getting message type,message detail from job log
Replies: 6
Views: 1981

If you want a server routine the main calls will be
DSGetNewestLogId()
DSGetLogSummary()
DSGetLogEventIds()
DSGetLogEvent()

Read about these in the DataStage BASIC manual.
by ray.wurlod
Thu Aug 09, 2012 3:46 pm
Forum: General
Topic: Project move to another server
Replies: 3
Views: 1047

I did tell you the correct procedure.

PS: Can you get premium membership?
by ray.wurlod
Thu Aug 09, 2012 3:45 pm
Forum: General
Topic: execute command for readinging sequentialfile in looping
Replies: 5
Views: 1942

You posted at 00:11 my time. I was not paying a whole lot of attention at that time.
by ray.wurlod
Thu Aug 09, 2012 3:43 pm
Forum: General
Topic: EXECSH at the end of a job called by a sequence
Replies: 21
Views: 6889

Not exit alone.

Code: Select all

# Capture exit status of sqlplus immediately following sqlplus command
set errorcode=$?

# To exit from script with that error code
exit $errorcode
by ray.wurlod
Thu Aug 09, 2012 3:41 pm
Forum: General
Topic: giving dynamic end loop parameter in a loop end activity
Replies: 2
Views: 702

It's easy to do if you use a "list of things" loop rather than a counted loop. If you must have a counter (and ask yourself why - there is no real need for a priori knowledge of the count) generate it using a user variables activity or, perhaps, an Execute Command or Routine activity.
by ray.wurlod
Thu Aug 09, 2012 3:38 pm
Forum: IBM QualityStage
Topic: Is it possible to standardize the international persons
Replies: 3
Views: 2931

... for US company names. EXPCOM is not really multi-national.