Page 1 of 1

Import multiple jobs

Posted: Mon Sep 28, 2009 9:37 am
by vish08
I have multiple individual jobs(dsx files) that need to be imported into current porject.
It is taking time to import all jobs and for compiling them
What would be easy way to do this?

Posted: Mon Sep 28, 2009 10:06 am
by chulett
Concatenate the dsx files together and import them all at once. Then use the Multiple Job Compiler to compile them all at once.

Posted: Mon Sep 28, 2009 10:34 am
by vish08
I am getting .dsx files from ClearCase which need to be imported into project.
I am not sure how to concatnate them?Could you please elaborate on it?

Posted: Mon Sep 28, 2009 11:57 am
by nagarjuna
search for DSXCUTTER and DSXCONCATENATE ....you can find the perl script posted by one of our dsxchange member ...

Posted: Mon Sep 28, 2009 12:48 pm
by swades
vish08 wrote:I am not sure how to concatnate them?Could you please elaborate on it?
Open DSX in notepad and concate them to a single file or else FTP to unix and use concate command...

Posted: Mon Sep 28, 2009 1:03 pm
by chulett
For DOS:

Code: Select all

copy a.dsx+b.dsx+c.dsx d.dsx
For UNIX:

Code: Select all

cat a.dsx b.dsx c.dsx > d.dsx
fyi - either one supports wildcards.

Posted: Mon Sep 28, 2009 1:52 pm
by swades
chulett wrote:For DOS:
copy a.dsx+b.dsx+c.dsx d.dsx
Good to Know :D ....Never used DOS command.

Posted: Mon Sep 28, 2009 4:55 pm
by kduke
Not sure you can combine DSX files. There is a header record at the begining of each DSX file. It may ignore these when you try to import but I would not count on it.

Posted: Mon Sep 28, 2009 5:41 pm
by chulett
I'm 99% sure it handles them just fine. I'll run a quick test later and see.