URGENT! QTP creates datafile (.sf) but not dictionary file (.sfd)
Joe Boyle
atla38 at dsl.pipex.com
Mon Sep 19 03:30:41 CDT 2005
Actually Syed, I suggested that you look in all directories for subfile
components which may have been left behind, and which might be blocking
attempts to create a new subfile.
To find these components I suggested the commanddir c:\CW975SF7*.* /s. The
objective is to delete any files of this name before recompiling, and then
running your qtp again.
I also suggested changing the C to any other drives you might have (and I
see that this has confused the issue) I had in mind the following dir
D:\CW975SF7*.* /s or dir U:\CW975SF7*.* /s, rather than your
interpretation which is to use c:\XW975SF7 instead :)
Regards, Joe.
________________________________________
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
Syed Shahul Hameed Mustaffa
Sent: 19 September 2005 07:34
To: Robert Edis
Cc: PowerHouse List
Subject: Re: URGENT! QTP creates datafile (.sf) but not dictionary file
(.sfd)
Dear Joe, Robert,
I posted a reply which unfortunately has not reached.
I tried to change the name (as guided by Joe) and it worked.
I was executing the qtp from a command prompt. So there was no chance of any
code executing after the completion of this qtp.
I appreciate your help.
Best regards,
SYED
On 9/19/05, Robert Edis <robeconsult at sbcglobal.net> wrote:
I think the problem may be code OUTSIDE of QTP. The
comment at the end of the code says the subfile is
purged at the end of the job. It could be that the
.sfd file is successfully purged but for some reason
(e.g. file being open) the .sf file is NOT being
deleted.
Look at the job logic rather than the QTP code for the
answer.
Blue
--- Syed Shahul Hameed Mustaffa <sshahulgm at gmail.com>
wrote:
> Dear Gurus,
> Quick Intro: I am migrating a PH/MPEIX application
> to PH4GL/AXIANT/WINDOWS.
> I have a QTP that creates a subfile. It creates the
> .sf file but it doesn't
> create the .sfd file.
> There are other Requests that create other subfiles
> within the same file.
> They are ok.
> Only one subfile is giving me this problem.
> Can anyone help me out of this issue please?
> I'm listing excerpt of the problem area of the QTP
> underneath.
>
>
----------------------------------------------------------------------------
-----
>
> Request SET-HEADINGS
> Access *$UEV_SUBFILE_PATH\CW975SF6
>
> sort on UNIT_NO on PRD_KEY
>
> Temp MONTH01 num*8
> Item MONTH01 = UN_AVG_CI if MTH-CNT=1 reset at
> UNIT_NO
> Temp MONTH02 num*8
> Item MONTH02 = UN_AVG_CI if MTH-CNT=2 reset at
> UNIT_NO
>
>
;-----------------------------------------------------------
> Temp NUM-HEAD01 num*8
> Item NUM-HEAD01 = UN_TOT_HEAD if MTH-CNT=1 reset at
> UNIT_NO
> Temp NUM-HEAD02 num*8
> Item NUM-HEAD02 = UN_TOT_HEAD if MTH-CNT=2 reset at
> UNIT_NO
>
>
;-----------------------------------------------------
> Temp SUM-CI01 num*8
> Item SUM-CI01 = UN_SUM_CI if MTH-CNT=1 reset at
> UNIT_NO
> Temp SUM-CI02 num*8
> Item SUM-CI02 = UN_SUM_CI if MTH-CNT=2 reset at
> UNIT_NO
>
>
;--------------------------------------------------------------
> Temp HEAD01 char*8
> Item HEAD01 = MM_KEY + "/" + YY_KEY if MTH-CNT = 1 &
> reset at UNIT_NO
> Temp HEAD02 char*8
> Item HEAD02 = MM_KEY + "/" + YY_KEY if MTH-CNT = 2 &
> reset at UNIT_NO
>
> Subfile $UEV_SUBFILE_PATH\CW975SF7 KEEP at UNIT_NO
> include & ;this file will
> be
> UNIT_NO , & ;purged after the run
> MONTH01 , &
> MONTH02 , &
> NUM-HEAD01 , &
> NUM-HEAD02 , &
> SUM-CI01 , &
> SUM-CI02 , &
> HEAD01 , &
> HEAD02
>
----------------------------------------------------------------------------
--------------------
>
> REGARDS,
>
> SYED
> > --
> = = = = = = = = = = = = = = = = = = = = = = = = = =
> = =
> 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.
>
--
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.
More information about the powerh-l
mailing list