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

Deskin, Bob Bob.Deskin@Cognos.COM
Wed, 9 Mar 2005 14:05:26 -0500


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
> > file)?
> > 
> > On and HP3000 the subfile definitions stay in
> memory
> > (temp). On a Vax you can call $QUIZ from within
> QTP to
> > retain the subfile definitions. Neither of these
> tricks/options work
> > on "Powerhouse for Windows"
> > 
> > BTW, I worked with Steve B at Cognos for a week on
> > this problem back when I was converting and we
> both
> > agreed at the time that it would be easier to run interactive quiz 
> > until a solution could be found.
> Now
> > I guess I should go back to see if I can work
> through
> > it since everything else is done.
> > 
> > Ken
> > 
> > 
> > 
> >  --- Joe Boyle <atla38@dsl.pipex.com> wrote: > I
> beg to differ :)
> > 
> >>>Quiz runs fine in compiled form and you can use
> the
> >>
> >>AT ( or schedule )
> >>command for the batch processor.
> >>
> >>>Not sure about 'do external' calls to Cobol; you
> >>
> >>might have to look into
> >>using 'run command' as with VB scripts.
> >>
> >>>Regards, Joe.
> >>
> >>= = = = = = = = = = = = = = = = = = = = = = = = =
> = = =
> > 
> > Mailing list: powerh-l@lists.sowder.com
> > Subscribe: "subscribe" in message body to
> > powerh-l-request@lists.sowder.com
> > Unsubscribe: "unsubscribe <password>" in message
> body to
> > powerh-l-request@lists.sowder.com
> > http://lists.sowder.com/mailman/listinfo/powerh-l
> > This list is closed, thus to post to the list you
> must be a
> > subscriber.
> > 
> > 
> 
=== message truncated === 
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.sowder.com
Subscribe: "subscribe" in message body to
powerh-l-request@lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request@lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber. 
  
       This message may contain privileged and/or confidential information.  If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so.  Thank you.