Search found 4992 matches

by kcbland
Thu Oct 13, 2005 10:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CHECKING STRING AT FTP SERVER
Replies: 7
Views: 1076

Look at using remsh or rsh to run remote commands on foreign servers. Better yet, why not just have a process running on that foreign server to monitor local files and once IT sees the trailer record it either creates a "ready" companion file or moves the file into a different area?
by kcbland
Thu Oct 13, 2005 9:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Delete Log
Replies: 3
Views: 1032

Search the forum, there's a method recently discussed to select from the DS_JOBS hash file to get a job's internal storage number. That number is used in the naming convention for the supporting hash files of a job design (RT_LOGnnnn being the one in which you're interested).
by kcbland
Thu Oct 13, 2005 9:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CHECKING STRING AT FTP SERVER
Replies: 7
Views: 1076

Well, how good are you at DOS .bat file writing? If you're limited to Windoze, you've only that scripting language, unless the server has perl or java. Performance might be an issue with DOS scripting.
by kcbland
Thu Oct 13, 2005 9:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CHECKING STRING AT FTP SERVER
Replies: 7
Views: 1076

Write a C/java/perl program/script to return TRUE/FALSE if the last line is your trailer record. Execute it remotely and act accordingly.
by kcbland
Thu Oct 13, 2005 8:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CHECKING STRING AT FTP SERVER
Replies: 7
Views: 1076

Your problem is that the file on the FTP server isn't complete until it has a text string at the bottom of the file. At that time you wish to fetch it from the site. Given that there are limited Windoze commands for doing what is equivalent to a Unix tail command, can you tell us what options you do...
by kcbland
Thu Oct 13, 2005 8:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: key generate
Replies: 5
Views: 979

Search the forum for the numerous examples of using stage variables on sorted data to assign the ranking number. It's very easy, you'll need the data sorted in the desired order and then setup 3 stage variables to do the work.
by kcbland
Thu Oct 13, 2005 8:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Upgrade from 4.1 to 7.5
Replies: 4
Views: 991

Yes it's safe. Change every job that uses a Sequential stage to have the correct slashes and file types for unix. Change all ExecSH calls to have the appropriate slashes as well. Change all DSExecute calls to have the Unix platform option, as well as any slashes. Update any BASIC functions, routines...
by kcbland
Thu Oct 13, 2005 8:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Simple date from Seq file not uploading to Oracle
Replies: 9
Views: 1852

The ORAOCI stage adds a To_DATE() to all columns where the datatype is DATE when using generated SQL. You need to make sure your datatypes say DATE and get all your dates into YYYY-MM-DD HH24:MI:SS format, or atleast YYYY-MM-DD in order to take advantage of generated SQL. If you wrote user-sql, it's...
by kcbland
Thu Oct 13, 2005 7:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NO OF WEEKS
Replies: 6
Views: 1590

That's correct, left to right when you don't have these ( guys ).
by kcbland
Thu Oct 13, 2005 7:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: upgradation
Replies: 2
Views: 782

And also don't post the same question in multiple forums.!!! :evil:
by kcbland
Wed Oct 12, 2005 6:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Counting number of columns in a CSV file
Replies: 8
Views: 8190

Because of the rigid metadata paradigm of sequential file stages, we've all been impacted by the poor implementation of delimited files with embedded delimiters in poorly quoted data files. When both DS Server and PX encounter these files, they parse them poorly, but how can anyone blame them? You c...
by kcbland
Wed Oct 12, 2005 6:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NO OF WEEKS
Replies: 6
Views: 1590

There are no datatypes in DS Server. You need to write a function to subtract dates. Better yet, have one that understands dates and time. Here's one I posted a long time ago:

http://www.dsxchange.com/viewtopic.php?t=85788

Create a function and paste this logic into it, it will do what you need most of the way. Have fun.
by kcbland
Wed Oct 12, 2005 3:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job has source from multiple files
Replies: 2
Views: 717

No. You can, however, use a Batch job to execute a system level command to get the list of files to process, and then, in a loop using the DS job control API's, start the job(s) necessary to process each file, passing the filename as either a parameter or moving the file into position for processing...
by kcbland
Wed Oct 12, 2005 3:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: unable to connect
Replies: 4
Views: 1122

ping alpha.iml.com from your PC to make sure alpha.iml.com is in your hosts.ini file. If that isn't getting thru, you need to get that DNS into your hosts.ini file after obtaining the IP address.