mass compilation
Joe Boyle
atla38 at dsl.pipex.com
Wed Nov 15 09:09:32 CST 2006
Hi Vikrant,
It is always best to keep the list involved - I know some unix, but I am no
expert - and more detailed questions like this would be answered in more
depth by others.
I have no idea what the error is, perhaps you could delete the qtc file
before running the command.
I suspect that if you added syntax 'build $qtcloc/uniquefile' to the end of
each source file you could preset the location of each qtc by presetting
variable qtcloc, but I have not actually tried this myself.
The qtc file location might also be set using the procloc qtp parameter, but
I'm not sure and I have no documentation on that.
As for output errors try adding syntax 2>>filespec.err to the command line.
Regards, Joe.
_____
From: Vikrant Shahir [mailto:vikrant.shahir at gmail.com]
Sent: 15 November 2006 14:05
To: Joe Boyle
Subject: Re: mass compilation
Hi Joe,
Thanks a lot ..... the commands works very well and overwrites the qtc, but
on UNIX command prompt it gives us one error/warning "ksh: Q: not found".
One more thing .....can we redirect the file name which is compliled and
method by which we can redirect the out put to one file, to reffer the erros
we are geeting while mass-complilation.
Thanks again Joe,
Regards,
Vikrant.
On 11/15/06, Joe Boyle <atla38 at dsl.pipex.com> wrote:
The complete command would be something like 'echo exit | qtp auto=${temp}'
_____
From: Joe Boyle [mailto:atla38 at dsl.pipex.com]
Sent: 15 November 2006 13:34
To: 'Vikrant Shahir'; ' <mailto:powerh-l at lists.sowder.com>
powerh-l at lists.sowder.com'
Cc: 'vinityadnik at gmail.com'; ' vamsi.coe at gmail.com'
Subject: RE: mass compilation
Or possibly even 'echo exit | qtp auto=abc.qts' which will auto exit qtp
after - probably easiest to pre delete ( or cp elsewhere ) your current
q%c's.
_____
From: powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com [mailto:
powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com
<mailto:powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com> ] On Behalf
Of Joe Boyle
Sent: 15 November 2006 13:29
To: 'Vikrant Shahir'; powerh-l at lists.sowder.com
Cc: vinityadnik at gmail.com; vamsi.coe at gmail.com
Subject: RE: mass compilation
It is pretty much what you have e.g. qtp auto=abc.qts - which will produce
your qtc file
_____
From: powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com [mailto:
powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com
<mailto:powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com> ] On Behalf
Of Vikrant Shahir
Sent: 15 November 2006 12:49
To: powerh-l at lists.sowder.com
Cc: vinityadnik at gmail.com; vamsi.coe at gmail.com
Subject: mass compilation
Hello,
I have what seems to be a trivial question, but have not been able to
find a definite answer and your help would be greatly appreciated.
Situation:-
We generally compile PowerHouse source file in following manner to obtain
executable:-
Q T P (PowerHouse 8.43.D)
> use < source.qts>
but this above procedure is slow/manual and cannot be used for compiling
large no. of files at once.
Question:-
Is there any easy batch compilation method for powerhouse program?say 100
files at once.
Trials done:-
I have written one script
#!/bin/ksh
for temp in `cat qts-file` # qts file contains list of qts programs
do
# Need Power-House command to complile the qts program.
done
we know qtp auto=abc.qtc runs the qtc from UNIX prompt we need equivalent
command to complile the qts program from UNIX command prompt.
Regards,
Vikrant Shahir.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20061115/1cdaedc4/attachment.htm
More information about the powerh-l
mailing list