I need a DSX-Cutter

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

mctny wrote:so does this DSX cutter work for version 7.1, i.e., jobs designed with DS version 7.1 server edition and exported into a dsx file?
Sure.
Last edited by chulett on Wed Jun 27, 2018 7:09 am, edited 1 time in total.
-craig

"You can never have too many knives" -- Logan Nine Fingers
mctny
Charter Member
Charter Member
Posts: 166
Joined: Thu Feb 02, 2006 6:55 am

Post by mctny »

can someone explain how to install it on windows? do I have to install cygwin or can I do it in Ms Dos prompt? will I use the last code that is written in this thread or will I use both, ( i.e, the last and the second from the last) ?
Thanks,
Chad
__________________________________________________________________
"There are three kinds of people in this world; Ones who know how to count and the others who don't know how to count !"
Cowmix
Charter Member
Charter Member
Posts: 26
Joined: Sat Apr 01, 2006 2:11 am

Post by Cowmix »

For the Perl based cutter in this thread you can use Cygwin but you can also use ActiveState Perl:

http://www.activestate.com/Products/ActivePerl/

The Perl cutter works fine but it has a few issues:

1. It only 'cuts' jobs and nothing else like shared containers, etc.
2. It drops some lines from DSX files it processes that contain certain meta-characters.

In a few days I'll try to post my cutter that I wrote that, in theory, will correct these two issues. Mine will have a requirement of installing Python instead of Perl...

thanks!
jdmiceli
Premium Member
Premium Member
Posts: 309
Joined: Wed Feb 22, 2006 10:03 am
Location: Urbandale, IA

Post by jdmiceli »

Here is a link for a bunch of Perl scripts I have written, including a cutter, joiner, and parameter block replacer. Feel free to use them!

viewtopic.php?t=113429&highlight=perl

Bestest!
Bestest!

John Miceli
System Specialist, MCP, MCDBA
Berkley Technology Services


"Good Morning. This is God. I will be handling all your problems today. I will not need your help. So have a great day!"
Post Reply