Search found 4992 matches

by kcbland
Mon Dec 05, 2005 7:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Batch job FOR LOOP
Replies: 3
Views: 1420

Please paste formatted logic and use the Code tags to surround the logic. I have cleaned up your logic for you. Curr_Month_ini = "/dwtest/dw/data/CURR_MONTH.ini" for x=1 to 3 OpenSeq Curr_Month_ini To varFile Else Call DSLogFatal("Cannot open ":Curr_Month_ini: "- Abortin...
by kcbland
Mon Dec 05, 2005 3:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sending an Email
Replies: 2
Views: 607

1. Write a job to spool the table to a file. 2a. Write Batch job to run job #1, then either issue a unix command to check the file for data (wc -l is a good choice), or use the DSGetLinkInfo API to query job #1 for the link row count to get the row count. If a non-zero value is found then either iss...
by kcbland
Mon Dec 05, 2005 1:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ATTN: Ken & Arnd : Subtracting date/time to convert into
Replies: 4
Views: 1066

Glad you solved your problem, but I don't believe you were using the supplied function at:
http://www.dsxchange.com/viewtopic.php?t=85788

I used your date values and got an answer of 7200 seconds so I assumed your "Attn: Ken and Arnd" really meant Arnd because you weren't using my posted function.
by kcbland
Sat Dec 03, 2005 9:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Validating hash file
Replies: 10
Views: 1995

What do you mean by validate? Check that it exists? It's populated? It's structurally correct?
by kcbland
Fri Dec 02, 2005 3:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Code migration from Windows to Unix
Replies: 3
Views: 747

The .dsx export does not matter. What matters is in the job designs themselves any system calls to DOS specific commands need porting, as well as the slash usage, "\" needs to be "/".
by kcbland
Thu Dec 01, 2005 10:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: wht is DRS stage
Replies: 4
Views: 1628

ODBC uses the ODBC driver for a particular database, DRS is a stage that tries to make it seamless for switching from one database to another. It uses the native connectivities for the chosen target database.

Please read your manuals, this is clearly documented.
by kcbland
Thu Dec 01, 2005 10:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CRC32
Replies: 2
Views: 1054

Please use the Search facility. You'd have your answers in detail with various discussions on its usage.
by kcbland
Thu Dec 01, 2005 10:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: difference betwwn clear status file and clear log
Replies: 2
Views: 1124

Clear log removes informational messages about the jobs execution history. Clear status is used when a job mysteriously dies without leaving itself in a state that allows it to run again. Recompiling may not work, resetting is unavailable, etc. This is nicely documented in under the help button or t...
by kcbland
Wed Nov 30, 2005 11:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DataSets Vs Hash Files
Replies: 1
Views: 578

Please don't double post.
by kcbland
Wed Nov 30, 2005 11:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DataSets Vs Hash Files
Replies: 2
Views: 1342

No. They are like apples and oranges. They're in the fruit family (both hold data) but are not even close in usage capabilities.
by kcbland
Tue Nov 29, 2005 9:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can I output to a txt file from batch job???
Replies: 2
Views: 750

Search the forum for DEF FUN, which is required in Batch jobs to declare that a user written function needs to be used. You'll basically just put the line in the top of the Batch job.
by kcbland
Tue Nov 29, 2005 5:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Aggregation Unknown Failure
Replies: 4
Views: 1088

Your issue is probably that the keys need the "n" to force numeric as Craig mentioned. They will left justify instead of right justify sort. "sort -k 1,1n 2,2n" would sort fields 1 and 2 numerically.
by kcbland
Tue Nov 29, 2005 5:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: A list of Questions
Replies: 5
Views: 3213

Lali, a lot of those questions call for opinions rather than facts. They also need specifics to a given environment. An NT implementation on a 2 cpu machine is different than a Unix implementation on a 24 cpu machine. Same for the challenges and such. Disaster recovery and failover depend on how muc...
by kcbland
Mon Nov 28, 2005 5:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS.JOBCONTROLLER
Replies: 2
Views: 795

Check out the DS BASIC API DSGetJobInfo, if you give it the token DSJ.ME as the job handle and request the job name, your function will know the name of the job running it.