HP3000-L Archives

December 2002, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tracy Pierce <[log in to unmask]>
Reply To:
Tracy Pierce <[log in to unmask]>
Date:
Mon, 2 Dec 2002 10:31:23 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (70 lines)
from the Cobol manual page 6-26: use the Cobol DELETE verb to clobber
records in an RIO file.  exactly what sort of FWRITE intrinsic call this
generates is unclear, but do you really care?

Are you finding the term "standard" confusing?  I sure am.
Tracy Pierce

> -----Original Message-----
> From: Peter Smithson
> [mailto:[log in to unmask]]
> Sent: Monday, December 02, 2002 4:47 AM
> To: [log in to unmask]
> Subject: Deleting records in a standard file (again)
>
>
>  I didn't really get the answer I wanted last time which was "you
> can't" or "don't".  The HP documentation I have for RIO files says
> that you can delete from a standard file.
>
> My question is - is this true and if so, what system intrinsic could
> you use to do so (programatically - rather than at the CI prompt) ?
>
> If it's not true then why does the HP document say you can?
>
> Thanks for any help.
>
> Here is a bit of the document I found -
>
> "RIO files (relative I/O)
> RIO is an enhanced form of relative access.If a program opens a
> standard file
> for direct access,it must know the relative record number of the
> record it 's
> interested in.If multiple processes are accessing the same
> file,relative record
> numbers can change dynamically.For example,if process "A " deletes
> relative
> record number n ,then all the records after n will have their relative
> record
> number adjusted by one.This can make things very difficult for a
> hypothetical
> process "B " that is trying to access the same file at the same
> time..The relative
> record numbers of the records that "B " is interested in could be
> changing even
> as "B " is accessing them..
> This problem led to the development of RIO files.RIO is a random
> access
> method that permits individual file records to be deactivated,rather
> than
> deleted.These inactive records retain their relative position within
> the file.RIO
> files are intended for use primarily by COBOL programs because there
> is a
> COBOL standard for Relative I/O.RIO is available with Cobol compilers
> on
> MPE and on the recommended target platforms.They can be accessed using
> standard COBOL statements."
> --
> http://www.wadmag.org.uk - Windsor & District MAG
> http://www.nmmcc.co.uk - Non-Members MCC
> http://uk.geocities.com/ukwebring - UK Motorcycle site webring
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2