SUBWORK1 error

Joe Boyle atla38 at dsl.pipex.com
Thu Nov 23 19:00:32 CST 2006


What happens if - just for testing purposes - you add syntax as below into
your script, and prior to the qtp call:

mkdir ./myunqqtploc
setenv PHTEMP ./myunqqtploc

Clearly, in a real world scenario you would have to make the actual folder
name unique ( e.g. incorporating a unique number into the folder name ) and
passing this into your script at runtime.

Also, if you type 'qtp dict=$MIPSHOME/obj/phd.pdc' at the unix prompt
followed by the qtp syntax below ( adjusted to your dictionary content ), I
would expect that after the syntax below is passed, that if you now type
'!ls $PHTEMP', also at the qtp prompt, you will see some files by the name
of subwork*... 

can cle
run n1
req q1

acc file_lock
sub  ./sf_file_lock keep include file_lock

bui defsf




-----Original Message-----
From: 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
fernando.olmos at hpa.com.au
Sent: 24 November 2006 00:06
To: powerh-l at lists.sowder.com
Subject: RE:SUBWORK1 error

Firstly, it's not "Unix", it's Sun Solaris (totally different from the
good 'ol Unix boxes of the 90s !!)    :)

Ok... the QTP is called from a C shell script (BAT file) as follows ...

#!/bin/csh -f

#--------------------------------------------------
#Points to where powerhouse has been installed
setenv PH_USR /usr/cognos/ph843d1
setenv PH_VER d1
source /usr/cognos/ph843d1/setpow.csh

setenv ORACLE_HOME /users/oracle/product/9.2.0


qtp dict=$MIPSHOME/obj/phd.pdc auto=$MIPSHOME/obj/mipst006.qtc
nostatistics

..etc other QTPs, etc..



It fails on that first QTP. Mind you... it doesn't fail ALL the time,
which is really annoying. AND it only fails on a particular user, and
again NOT all the time.

So it's like PH is creating the temp folder ok partially and other times
it cannot, which is when it failed with that error from my 1st email.

The $MIPSHOME is simply a variable for the location of the system's home
directory.

This USED TO WORK correctly in our old Unix system. Sun Solaris is a
totally different beast... even down to the way it handles IF THEN ELSE!
Give me the VMS or MPE systems anyday!

ok enough rant... :)

cheers


------------------
You don't mention how the qtp is being called, but if it is from
quick....
**********************************************************************
IMPORTANT
The contents of this e-mail and its attachments are confidential and
intended
solely for the use of the individual or entity to whom they are addressed.
If
you received this e-mail in error, please notify the HPA Postmaster,
postmaster at hpa.com.au,
then delete  the e-mail.
This footnote also confirms that this e-mail message has been swept for the
presence of computer viruses by Ironport. Before opening or using any
attachments, check them for viruses and defects.
Our liability is limited to resupplying any affected attachments.
HPA collects personal information to provide and market our services. For
more
information about use, disclosure and access see our Privacy Policy at
www.hpa.com.au
**********************************************************************

-- 
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l at lists.sowder.com
Subscribe: "subscribe" in message body to
powerh-l-request at lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request at 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.
Add 'site:lists.sowder.com powerh-l' to your search terms to search the list
archive at Google.



More information about the powerh-l mailing list