URGENT! QTP creates datafile (.sf) but not dictionary file (.sfd)
Joe Boyle
atla38 at dsl.pipex.com
Sat Sep 17 12:09:44 CDT 2005
Hi Syed,
you have to code as 'keep include' to create a permanent subfile; if you
leave off 'keep' the subfile lasts only as long as the qtp session.
Regards, Joe.
_____
From: Syed Shahul Hameed Mustaffa [mailto:sshahulgm at gmail.com]
Sent: 17 September 2005 15:06
To: powerh-l at lists.sowder.com
Cc: Joe Boyle
Subject: URGENT! QTP creates datafile (.sf) but not dictionary file (.sfd)
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20050917/12df6d3b/attachment.html
More information about the powerh-l
mailing list