🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #2355

HELP: RMCOBOL-85 -- Educational Version Restriction ???

#2355
From: 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                     |
+-------------------------------------------------------------------+
Technical Details
Message-ID: <1dpt3mINNpbr@crcnis1.unl.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!hri.com!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!crcnis1.unl.edu!cse!slee

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!hri.com!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!crcnis1.unl.edu!cse!slee
From: slee@cse.unl.edu (Shiuh-Haw Lee)
Newsgroups: comp.lang.misc
Subject: HELP: RMCOBOL-85 -- Educational Version Restriction ???
Message-ID: <1dpt3mINNpbr@crcnis1.unl.edu>
Date: 11 Nov 92 03:02:14 GMT
Organization: University of Nebraska--Lincoln
Lines: 44
NNTP-Posting-Host: cse.unl.edu