Thank you for the added information and I will check that as well. I did exactly that to set the variable in windows. On another note, when I look at the properties in Visual Studio for my program, the configuration drop down is grey and lists N/A. I do only have a student eval copy. I added the code and it did not display, so I imagine that it is being set, but I still get the error with an lpt1. This is how the error reads and when I changed the program to print to a file, it stopped it and executes to that file. Cobolfilehandlingexception was unhandled 'LPT1' : 9/004 (ANS74) 4 illegal filename.
↧