🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Shiuh-Haw Lee Wed, 11 Nov 1992 03:02
HELP: RMCOBOL-85 -- Educational Version Restriction ???
#2355
Author: Shiuh-Haw Lee
Date: Wed, 11 Nov 1992 03:02
44 lines
1912 bytes
Hi,
  I am a student learning COBOL programming right now and the compiler that 
I am using is the RMCOBOL-85 Educational Version which came with the book.  When
I try to open 5 files, it gives me an error message saying "Educational Version
Restriction."  


<The following codes work fine.>

FILE-CONTROL.
	
	SELECT DATA-FILE ASSIGN TO INPUT-OUTPUT, "INVENT.DAT" 
		ORGANIZATION LINE SEQUENTIAL.
	SELECT SORT-WORK-FILE ASSIGN TO INPUT-OUTPUT.
	SELECT BOOK-OUTPUT-FILE ASSIGN TO PRINT, "BOOKS4.LIS".
	SELECT VIDEO-OUTPUT-FILE ASSIGN TO PRINT, "VIDEOS4.LIS".

<The following codes give error message.>

FILE-CONTROL.

	SELECT DATA-FILE ASSIGN TO INPUT-OUTPUT, "INVENT.DAT" 
		ORGANIZATION LINE SEQUENTIAL.
	SELECT SORT-WORK-FILE ASSIGN TO INPUT-OUTPUT.
	SELECT SORTED-DATA-FILE ASSIGN TO INPUT-OUTPUT, "INVENT.SRT"
		ORGANIZATION LINE SEQUENTIAL.  
    SELECT BOOK-OUTPUT-FILE ASSIGN TO PRINT, "BOOKS4.LIS".  
	SELECT VIDEO-OUTPUT-FILE ASSIGN TO PRINT, "VIDEOS4.LIS".


I wonder if there is any other way that I can use 5 files besides getting a
Commercial Version?  Is it possible to combine the last two lines in the above
code into one line yet be able to do the same task?

Any help would be appreciated.  
Thanks.



--
+-------------------------------------------------------------------+
| Shiuh H. Lee    |  E-mail :  slee@cse.unl.edu                     |
+-------------------------------------------------------------------+
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads