I think you'll find if your SELECT statement leaves out the device, it will work - like so
1.9 SELECT OUTFILE ASSIGN TO "LP".
Shirl (Crossley Carapet Mills, Truro, NS)
From: Wade B. Bond [SMTP:[log in to unmask]]
Sent: Monday, December 08, 1997 9:34 AM
To: [log in to unmask]
Subject: COBOL temp files.
I have a problem with a COBOL problem opening a print file when the print
file is going to a disc file. I am trying to build a file called TERMLP by
using a file equation to redirect the print file. When I run the progeram
I get a FILE STATUS ERROR 39. I have only one file equation, no tempoary
files and no permanent files with the name TERMLP. I have other program
that work just fine using this same concept. TIA
:FILE LP=TERMLP;DEV=DISC