URGENT! QTP creates datafile (.sf) but not dictionary file (.sfd)/ now in QUIZ too

Syed Shahul Hameed Mustaffa sshahulgm at gmail.com
Sun Sep 18 06:34:49 CDT 2005


Dear Joe,
 I tried changing the name of the SUBFILE and it worked. Thank you so much 
for your tip.
 Best Regards,
SYED.
 
 On 9/17/05, Joe Boyle <atla38 at dsl.pipex.com> wrote: 
> 
> and having said that I now see that you already have 'keep' syntax in 
> place.
> 
> 
> Usually this kind of problem is sorted out by deleting all subfile
> components that can be found of the same name, i.e. any file specs that 
> are
> returned by a command like 'dir c:\CW975SF7.* /s' (replacing c for any 
> other
> drives they might be on) - so long as you know they are subfile components
> and not files on which the whole of your application depends :)
> 
> Occasionally, bits of old subfiles with differing record layouts can be 
> left
> lying around which can block recompiles etc...
> 
> 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
> Joe Boyle
> Sent: 17 September 2005 18:10
> To: sshahulgm at gmail.com; powerh-l at lists.sowder.com
> Subject: RE: URGENT! QTP creates datafile (.sf) but not dictionary file
> (.sfd)
> 
> 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 createsthe .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 areaof the QTPunderneath.
> 
> ----------------------------------------------------------------------------
> -----
> 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/20050918/f9172204/attachment.htm


More information about the powerh-l mailing list