Issue with reset of file equations

Joe Boyle atla38 at dsl.pipex.com
Tue Apr 25 15:44:54 CDT 2006


my first guess is that you have to either add 'close' syntax to the file
statement in question, and/or add a 'close filename' command procedurally
just before  you know you want to reopen the file as the new filespec. I
believe that a 'get' statement opens a file if not already open, so best to
put the 'close...' syntax before the 'get'.

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
Anne Quirke
Sent: 25 April 2006 21:48
To: powerh-l at lists.sowder.com
Subject: Issue with reset of file equations

Hiya,

I'm new to the list an am hoping that someone out there can help me on this
one..its wrecking my head.... I have searched everywhere and can't find the
cause of the issue or a suggestions to fix it. 

So if anyone would be able to have a quick look at this and let me know if
you can give me any ideas on where to look...I would be very very grateful


background 

Running HP3000 MPEX 
Have a quick screen that gets a file name variable from a table, then 
sets the file equation (file is a message type file) 


File mlgt335A = <file name variable> 
Then a reset mlgt335A is issued. 


The issue is that even in one session no matter how many times  I set 
and reset the file equation it stays set to the first equation that was 

set (first time screen is ran) 


I have issued a listeq in the quick screen to see the file equations 
and they are OK 


First time in the screen if i listeq I get FILE MLGT335A=MLGT335K 
second time into the screen (same session) I get after a listeq FILE 
MLGT335A=MLGT335F 


but when I PUT the data to this file (just after I LISTEQ) the data 
onlt gets written to MLGT335K....I have done a listeq after the reset 
and the file equation is gone...I can't see what I'm doing wrong...any 

ideas... 


thanks a million 
Anne 

-- 
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l at lists.sowder.com
Subscribe: &quot;subscribe&quot; in message body to
powerh-l-request at lists.sowder.com
Unsubscribe: &quot;unsubscribe &lt;password&gt;&quot; 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.
Add 'site:lists.sowder.com powerh-l' to your search terms to search the list
archive at Google.



More information about the powerh-l mailing list