Error while executing QTP - Memory fault (invalid address).
Syed Shahul Hameed Mustaffa
sshahulgm at gmail.com
Wed Dec 14 06:53:40 CST 2005
Dear Joe,
The code seems to work when I changed the following
access *$UEV_SUBFILE_PATH\CW620SF4 link CLD_COMPUTER_NO to &
CLD_COMPUTER_NO of COW_LOC_D IN CWDB &
and CLD_COMPUTER_NO OF CW620SF4 to &
CLD_COMPUTER_NO of COW_D IN CWDB
to
access *$UEV_SUBFILE_PATH\CW620SF4 link CLD_COMPUTER_NO to &
CLD_COMPUTER_NO of COW_LOC_D IN CWDB &
link CLD_COMPUTER_NO OF COW_LOC_D to &
CLD_COMPUTER_NO of COW_D IN CWDB
The original code was
access *$UEV_SUBFILE_PATH\CW620SF4 link CLD_COMPUTER_NO to &
CLD_COMPUTER_NO of COW_D IN CWDB &
and CLD_COMPUTER_NO to &
CLD_COMPUTER_NO of COW_LOC_D IN CWDB
I re-wrote it as the former.
Please advise me if the change will cause any problems.
Regards,
SYED.
On 12/14/05, Joe Boyle <atla38 at dsl.pipex.com> wrote:
>
> I just noticed that while your QTP output states,
>
> The permanent subfile will be overwritten.
> File: $UEV_SUBFILE_PATH\CW620SF8
>
> your QTP code is no longer referencing subfile $UEV_SUBFILE_PATH\CW620SF8.
> It might be worth a recompile before you go any further.
>
> Regards, Joe.
>
>
> -----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
> Joe Boyle
> Sent: 14 December 2005 09:26
> To: 'Syed Shahul Hameed Mustaffa'
> Cc: 'PowerHouse List'
> Subject: RE: Error while executing QTP - Memory fault (invalid address).
>
> Well in that case, and assuming that there are no other subfile components
> lying around with different default column sizes, and assuming that the
> qshow commands below don't show any mismatch, I would have to say it's
> likely to be a bug and you should contact Cognos Support for a fixed RBF.
>
> Qshow
> >Show sub $UEV_SUBFILE_PATH\CW620SF4
> >Show sub $UEV_SUBFILE_PATH\CW620SF8
> >exit
>
> If the file layouts from the commands above match the layout of your
> tables,
> and the field sizes are large enough to take the table contents,
>
> You could try quiz using syntax below, to see if quiz gives the same
> problem, having first deleted all $UEV_SUBFILE_PATH\CW620SF8* files,
>
> Acc * $UEV_SUBFILE_PATH\CW620SF4
> Set sub name $UEV_SUBFILE_PATH\CW620SF8 keep
> Rep summ all
> go
>
>
> in fact it might be worth using the same approach in qtp purely to see if
> it
> works.
>
>
> 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: 14 December 2005 07:05
> To: Joe Boyle
> Cc: PowerHouse List
> Subject: Re: Error while executing QTP - Memory fault (invalid address).
>
> Thank you Joe for your tip.
> Very sorry for misleading you.
>
> I lately found that the following statement gives me a different error
> (after I commented out most of the code)
> Statement:
> request FOURTH-PASS on calculation errors report
> set lock file request
> access *$UEV_SUBFILE_PATH\CW620SF4 link CLD_COMPUTER_NO to &
> CLD_COMPUTER_NO of COW_D IN CWDB &
> and CLD_COMPUTER_NO to &
> CLD_COMPUTER_NO of COW_LOC_D IN CWDB
> output COW_D IN CWDB update
> item CM_MOVED_LDATE = T_DATE
>
> Error:
> Executing request FOURTH-PASS ...
>
> ----------------------------------------------------------------------------
> ---
> The permanent subfile will be overwritten.
> File: $UEV_SUBFILE_PATH\CW620SF8
>
> ----------------------------------------------------------------------------
> ---
> Variable size mismatch. key column #2
> [1]
> File: COW_D
> Linkitem: CLD_COMPUTER_NO 150648
> Action Taken: Run terminated.
>
> ----------------------------------------------------------------------------
> ---
> I checked the tables and field sizes. Everything seems to be ok.
> What could be the problem?
> Regards,
> SYED
> On 12/13/05, Joe Boyle <atla38 at dsl.pipex.com> wrote:
> It's possible that some dodgy subfile components might be laying around
> and
> messing things up. Try 'dir /s c:\* CW620SF8*' and delete any unexpected
> subfile parts.
>
> You will need to this for all your disks, in my experience qtp/quiz can
> place these subfile parts in the strangest of places.
>
> Regards, Joe.
>
>
> -----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
> Joe Boyle
> Sent: 13 December 2005 14:52
> To: 'Syed Shahul Hameed Mustaffa'; 'PowerHouse List'
> Subject: RE: Error while executing QTP - Memory fault (invalid address).
>
> you could try using the full path, I saw a few problems like this a while
> back,
>
> subfile $UEV_SUBFILE_PATH\CW620SF8 keep include &
> $UEV_SUBFILE_PATH\CW620SF4
>
> Of course, the cynical among us ( you know who you are ) might suspect
> that
> subfile CW620SF4 is also empty - shame on you ;)
>
> 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: 13 December 2005 14:34
> To: PowerHouse List
> Cc: Joe Boyle
> Subject: Re: Error while executing QTP - Memory fault (invalid address).
>
> Dear Gurus,
>
> The following code seems to generate the error
>
> subfile $UEV_SUBFILE_PATH\CW620SF8 keep include &
> CW620SF4
>
> The subfile CW620SF8seems to get created. But doesn't contain any data.
>
> Any help to resolve my issue will be appreciated.
> Regards,
> SYED
>
>
> On 12/12/05, Syed Shahul Hameed Mustaffa <sshahulgm at gmail.com > wrote:
> Sorry I felt that my question didn't reach anywhere. That's why I'm
> resending it.
> HoweverI have something to add.
>
> My initial judgement of code that generates the error seems to be wrong.
>
> It is from somewhere else. If you need the code file, I can send it.
>
> Thanks in advance.
> Regards,
> SYED.
>
>
> On 12/12/05, Syed Shahul Hameed Mustaffa <sshahulgm at gmail.com > wrote:
> Dear Gurus,
>
> Quick Intro: I've migrated a PH/MPEIX application to AXIANT4GL/WINDOWS
> (Thin
>
> Client).
>
> When I execute a QTP, I'm getting the following error message.
>
> ;---------------------------------------------------------------------------
> -------
> Executing request FOURTH-PASS ...
> *E* Memory fault (invalid address).
> *Fatal Error* *4780* Notify Cognos Customer Support
>
> ;---------------------------------------------------------------------------
> --------
>
> The following part of the code seems to generate this error.
>
> request FOURTH-PASS on calculation errors report
> set lock file request
> ;access *$UEV_SUBFILE_PATH\CW620SF4 link CLD_COMPUTER_NO to &
> ; CLD_COMPUTER_NO of COW_D IN CWDB &
> ; and CLD_COMPUTER_NO to &
> ; CLD_COMPUTER_NO of COW_LOC_D IN CWDB
> ;---- THE ABOVE STATEMENT IS RE-WRITTEN AS ONE RIGHT BELOW BY me
> access *$UEV_SUBFILE_PATH\CW620SF4 link CLD_COMPUTER_NO to &
> CLD_COMPUTER_NO of COW_LOC_D IN CWDB &
> and CLD_COMPUTER_NO OF CW620SF4 to &
> CLD_COMPUTER_NO of COW_D IN CWDB
> I'll appreciate any help to resolve this issue.
> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20051214/8a978396/attachment-0001.htm
More information about the powerh-l
mailing list