Why not try to delete it and monitor for a "not exist" condition?
Sent from my Galaxy Tab® A
-------- Original message --------
From: Craig Jacobsen <craigjacobsen@xxxxxxxxxxx>
Date: 1/4/17 11:42 AM (GMT-08:00)
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Retrieve TOSTMF
I have written many one time programs where people ask to email them a pdf file and sometimes I use the same print file.
Example, printing barcodes to test hand helds.
If the file already exists in the ifs I get a halt saying File xxx in Library not opened with a reason code of 6.
6 -- Specified stream file already exists.
How can I find where the stream file exists?
I would like to delete it before I run so I don't get any halts.
I've tried CHGPRTF but that just says *SAME on the TOSTMF.
Also tried WRKOBJ and DSPOBJ and DSPOBJD
Any way to find this out?
Thanks in advance.
Craig
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.