Kevin,
The experiments I tried with OPEN and USE and CLOSE of a test file all resulted 
in errors
(as expected) but no hung jobs. For instance, if the file had not been OPENed 
or if it was
CLOSEd before the USE or if the file already existed but there was no "new" 
parameter on
the OPEN. 

Is an error trap set? If so, does it direct output back to your console?

If you haven't already solved this, perhaps you could insert a command to 
snapshot your
GT.M device parameters and error trap, etc, for instance: zshow "*"

or to save the snapshot in a global: zshow "*":^debug("use-1")

You might also try using mupip to get it to dump a snapshot to a file after it 
has hung.


Kevin wrote:
>Well, as per my other post, I thought I had the
>printers working.  In fact they do work when I print
>reports from fileman.  But they are not working with
>the TIU package properly, specifically the option:
>TIUP PRINT PROGRESS NOTES, which is an action entry
>that goes to MAIN^TIUPRD()
>
>When I trace through this, I find that I am hanging at
>the line:
>  U IO
>
>When VistA gets to this point, it hangs indefinately
>(until I stop the job with MUPIP stop xxxx)
>
>By inserting a line to write out IO first, I find that
>IO="/tmp/PringJobFile1234.dat"  -- I.e. the file that
>will eventually be sent to the linux print system
>after being filled with data.
>
>So this must be a problem with the way my DEVICE file
>entry is set up... specifically the way I am setting
>up IO.
>
>Again as a review, in the PRE-OPEN EXECUTE field
>(.19.7) in the DEVICE file, I call a funtion that
>changes the value of IO to the filename I want.  I
>thought that perhaps I needed to OPEN IO, so I added
>that, with no improvement.
>
>
>So, what would cause M to hang on a USE IO statement?
>
>Thanks
>Kevin
>

---------------------------------------
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to