Running Quiz witin QTP WAS: (Anyone have Moved from VMS to WINDOWS?)

Ken Langendock Ken@Langendock.com
Wed, 9 Mar 2005 14:12:24 -0500 (EST)


Sorry.. I wasn't actually referring to YOU (bob or
cognos)...
More of a Third-person situation.


 --- "Deskin, Bob" <Bob.Deskin@cognos.com> wrote: 
> I wasn't suggesting that we (Cognos) would delete
> the folder
> automatically. Once out of a PH component, there's
> nothing we can do.
> However, if it was desired, the developer could
> easily add the
> appropriate delete/remove commands into the batch
> compile job.
> 
> Bob
> 
> -----Original Message-----
> From: powerh-l-admin@lists.sowder.com
> [mailto:powerh-l-admin@lists.sowder.com] On Behalf
> Of Ken Langendock
> Sent: March 9, 2005 2:00 PM
> To: powerh-l@lists.sowder.com
> Subject: RE: Running Quiz witin QTP WAS: (Anyone
> have Moved from VMS to
> WINDOWS?)
> 
> 
> This sounds like a good solution.
> 
> You could also leave the folder around until the
> next
> bulk compile to make it easier to do quick compile
> fixes if you used the same parameter in a QZS.bat
> file.
> 
> This would also help with compiling QDESIGN source
> that references a subfile in Windows (another
> problem
> I just remembered).
> 
> Ken
> 
>  --- "Deskin, Bob" <Bob.Deskin@cognos.com> wrote: 
> > Actually, in researching Ken's request I found
> that
> > on UNIX, when you
> > start a component, a temporary directory is
> created,
> > but it is shared by
> > all components until the original one is exited.
> So
> > if you start QTP,
> > you might get something like ph7658.tmp. If you
> run
> > QUIZ from QTP, QUIZ
> > will share the same directory. Once you exit the
> > original QTP, the
> > directory is deleted. This means that you can use
> > the technique for
> > running QUIZ from QTP.
> > 
> > The downside of this is that if you run QUIZ from
> > QUIZ, there's only one
> > quizsave.qzs file and the original QUIZ's source
> is
> > lost.
> > 
> > On Windows, each component creates its own unique
> > folder. So there's no
> > problem with sharing files. On the other hand,
> > there's a problem in that
> > you can't share files.
> > 
> > What I'm thinking of is a new program parameter
> that
> > does two things.
> > First it specifies the name of the folder within
> the
> > folder specified by
> > the PHTEMP environment variable. Second, it
> > instructs the various PH
> > components NOT to delete anything when they
> > terminate. The user would be
> > responsible for deleting the folder once they were
> > finished. This would
> > be intended for batch/bulk compiles and would be
> > available on both UNIX
> > and Windows. It would be quite simple to specify a
> > name for the folder
> > and then delete it automatically in the bulk
> compile
> > process.
> > 
> > Bob
> > 
> > -----Original Message-----
> > From: Darren Reely
> > [mailto:darren.reely@latticesemi.com]
> > Sent: March 9, 2005 1:44 PM
> > To: Deskin, Bob
> > Cc: powerh-l@lists.sowder.com
> > Subject: Running Quiz witin QTP WAS: (Anyone have
> > Moved from VMS to
> > WINDOWS?)
> > 
> > 
> > Bob,
> > 
> > How does this affect Unix? I perform this action
> > during compiling a few
> > programs with no ill effect. Even in batch mode. 
> I
> > do not do this 
> > during run time as far as I can recall.
> > 
> > We are using Solaris 8 and PH 8.23.D7.
> > 
> > Darren
> > 
> > 
> > Deskin, Bob wrote:
> > > Thanks Stephen. This should help anyone
> migrating
> > to Windows,
> > > regardless of the source platform. And I'll bet
> it
> > can be modified for
> > 
> > > UNIX.
> > > 
> > > Bob
> > > 
> > > -----Original Message-----
> > > From: powerh-l-admin@lists.sowder.com
> > > [mailto:powerh-l-admin@lists.sowder.com] On
> Behalf
> > Of
> > > shulbert@littlejohnfrazer.com
> > > Sent: March 9, 2005 9:43 AM
> > > To: Ken@Langendock.com
> > > Cc: powerh-l@lists.sowder.com
> > > Subject: RE: Anyone have Moved from VMS to
> > WINDOWS?
> > > 
> > > 
> > > ken,
> > > you can run quiz from inside qtp, but the
> > temporary folders used by
> > > each will be different, so you can't by default
> > use the subiles from
> > > one in the other. we solved this problem by
> using
> > a batch file to copy
> > 
> > > the subfile definitions from the temporary
> folder
> > from qtp into the
> > > one for quiz. if you run quiz from inside qtp
> the
> > folder structure
> > > looks like
> > > this:
> > > 
> > > <current>
> > > -> tmp<number1>  (qtp temp folder)
> > > ---> tmp<number2>  (quiz temp folder)
> > > 
> > > so you have to copy all the files from
> > tmp<number1> to
> > > tmp<number1>\tmp<number2>. in dos terms this
> > becomes (win2k):
> > > 
> > > 	if not "%phtemp%"=="" copy %phtemp%\..\*.sfd
> > %phtemp%
> > > 
> > > you'll get an error on exiting quiz if you don't
> > then delete these, so
> > > use:
> > > 
> > > 	del /q /f %PHTEMP%\*.sfd
> > > 
> > > put these in batch files and call them inside
> > quiz.
> > > a generic compile script is included (.txt to
> get
> > round daemons). hope
> > 
> > > this helps. regards, stephen.
> > > 
> > >    
> > > 
> > > 
> > > 
> > >  -----Original Message-----
> > > From: 	ken.langendock@rogers.com
> > [mailto:ken.langendock@rogers.com]
> > > Sent:	Wednesday, March 09, 2005 2:23 PM
> > > To:	powerh-l@lists.sowder.com
> > > Subject:	RE: Anyone have Moved from VMS to
> > WINDOWS?
> > > 
> > > Ok guys, it's been almost a year since I tried
> to
> > > resolve the issue I had. How did you guys solve
> > the
> > > problem of compiling all your code in batch (bat
> 
=== message truncated ===