Search found 9 matches

by scboyce
Wed Apr 26, 2006 7:37 am
Forum: General
Topic: I need a DSX-Cutter
Replies: 48
Views: 67940

I have a fix for the bug. It turns out that I improperly used the mkdir function in the script. I was passing 777 for the MODE where I needed to be passing 0777. The bug seemed to only cause issues in the CYGWin environment. The script was working fine under RH Linux, Solaris, HPUX and DOS (ActiveSt...
by scboyce
Tue Apr 25, 2006 6:24 pm
Forum: General
Topic: I need a DSX-Cutter
Replies: 48
Views: 67940

Wow. I have duplicated the issue.
I ended up with a directory with a permission of "dr----x--T" and none of the files are visible or exist. No error messages are generated by the script. Working on it...., I'll post resolution once I know more.
by scboyce
Tue Apr 11, 2006 8:00 am
Forum: General
Topic: I need a DSX-Cutter
Replies: 48
Views: 67940

ParsDSX.pl should work without mods in CYGWIN environment...

Hi guys. It's been a while. I have since moved on and have not used DataSatage for a few years. I have moved over to the dark side and have been using Informatica Power Center for the last three years. As I recall, I had both ActivePerl (http://www.activestate.com) and CYGWIN (http://www.cygwin.com)...
by scboyce
Mon Dec 15, 2003 3:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading a text file but short of last record
Replies: 6
Views: 4182

Text files on unix by definition must have a trailing Linefeed (CHR10). All UNIX utilities will make sure that any non-zero byte file will have a trailing LineFeed. Vi for example will always put a LineFeed as the very last character in the file, even if it did not have one to begin with. Nice progr...
by scboyce
Wed Nov 19, 2003 8:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to 'diff' two versions of the same job
Replies: 10
Views: 5352

Well obviously, the DSX file does contain alot of "gobbly gook", but usually, the differences show up as recognizable snippets of code that make sense to the developer. Most of the time the only difference is some mapping code or job control code. Try it, you would be surprised how readabl...
by scboyce
Tue Nov 18, 2003 8:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to 'diff' two versions of the same job
Replies: 10
Views: 5352

Re: Thank you all for the help.

This is exactly the question one should be able to answer very quickly when managing code in terms of change control. This question is another reason I wrote ParseDSX.pl which is posted elsewhere in this forum. Look for "DSX Cutter" as the main thread title. Basically, ParseDSX will extrac...
by scboyce
Sun Nov 16, 2003 7:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using of '~' (Unix Home directory) instead of hardcoding
Replies: 18
Views: 7500

Another alternative is to use the $HOME environment variable which is standard variable created at login time under most UNIX environments.
by scboyce
Mon Nov 10, 2003 8:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Accessing Excel Sheet with ODBC
Replies: 6
Views: 4545

I always say, "When in doubt, Perl can do it!" This is quite a common requirement. Albiet, one I would like to say no to since it is quite easy to get bad data in a spreadsheet. However, we typically don't have the power to say no. Assuming you have controls on data content quality, wouldn...
by scboyce
Mon Nov 03, 2003 11:03 am
Forum: General
Topic: I need a DSX-Cutter
Replies: 48
Views: 67940

Re: I need a DSX-Cutter

I created two perl scripts a while ago to do just this. It's great for source code control since you typically want to do change control at the job/routine level. ParseDSX.pl will split a DSX file into separate DSX files, one per job/routine in the same folder structure that they appear in DataStage...