QUICK problem
Michael Lee
mcl_systems@bc.sympatico.ca
Fri, 17 Sep 1999 13:14:44 -0700
I think Bob nailed this one. It looks like you have temporary files being
created. This is probably the best way to do what you want actually. This way
each process has their own version of the direct file and the subfile. To see
your temporary files do a LISTFTEMP <object>.<group>.<account> (basically same
syntax as LISTF). To create a temporary subfile just don't specify the KEEP
option on the SUBFILE statement. To build a temporary direct file append ;TEMP
at the end of your BUILD statement. If you are using QUTIL to build this direct
file-don't. Use the HP BUILD command (i.e. BUILD
filename;REC=-80,,F,ASCII;TEMP).
These are just suggestions of course. You want to look at what the program was
originally intended to do and where the direct file and the subfile are used
elsewhere before making such changes.
Michael Lee
MCL Systems Inc.
"Robert J.M. Edis" wrote:
> G'day Santo
>
> I believe MPE is keeping a 'copy' of the data file in memory for fast
> access. I think if you delete (purge) the subfile after the use by QTP then
> the memory 'copy' will also be gone. You can then recreate the subfile
> using the next data value for the next QTP call.
>
> I'm not an MPE expert so please excuse my ignorance those who are. :)
>
> Blue
>
> -----Original Message-----
> From: Santo Perri [mailto:perri@excite.com]
> Sent: Friday, September 17, 1999 12:12 PM
> To: powerh-l@lists.swau.edu
> Subject: QUICK problem
>
> I am having a problem with a quick screen process I am developing. Quick
> run down of the process. Environment PowerHouse 8.19.C3 MPEix C.60.00 Image
> database.
> A designer procedure from screen A calls a QTP program that builds a
> temporary subfile. Screen A passes to the QTP parameters via a Image direct
> file. Screen B simply displays the info from the subfile.
>
> Problem. Screen A, enter in "P02". QTP program executes, Screen B displays
> the proper info from the subfile. Exist screen B, return to Screen A.
> Enter in "P04", QTP executes, screen B displays the data found in the
> original subfile. The bottom line is screen B is only showing the data
> created by the original subfile.
>
> I exit and check the temporary subfile and direct file. The direct file
> contains the last passed data. The subfile contains the data to match the
> last passed data. But, screen B is displaying the data from the original
> subfile.
>
> What gives???
>
> Santo Perri
> Programmer / Analyst
> Cynaptec Information Systems
> 601 Main St.
> Shediac NB
> E0A 3G0
>
> ________________________________________________________________
> Get FREE voicemail, fax and email at http://voicemail.excite.com
> Talk online at http://voicechat.excite.com
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
> Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
> This list is closed, thus to post to the list, you must be a subscriber.
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
> Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
> This list is closed, thus to post to the list, you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.