🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: vmsnet.sources.d
Article #164

Problem Reading Records

#164
From: Derick
Date: Wed, 03 Jan 1996 18:10
42 lines
1886 bytes
Hi...

This is going to sound like a real dumb question.  First of all, let
me give you some background.  I am new to the VMS programming
environment (but not programming in general) and am having some
problems using RMS with C/C++

Here is a screen capture of what the file details are:

REG.DBS;1                     File ID:  (34902,27,0)
Size:         2828/2828       Owner:    [CASSIDYD]
Created:   10-AUG-1995 08:21:32.19
Revised:    3-JAN-1996 12:27:32.90 (3659)
Expires:   <None specified>
Backup:    <No backup recorded>
Effective: <None specified>
Recording: <None specified>
File organization:  Indexed, Prolog: 3, Using 2 keys
Shelved state:      Online
File attributes:    Allocation: 2828, Extend: 0, Maximum bucket size:
4
                    Global buffer count: 0, No version limit
                    Contiguous best try
Record format:      Variable length, maximum 1960 bytes
Record attributes:  Carriage return carriage control
RMS attributes:     None
Journaling enabled: None
File protection:    System:RWED, Owner:RWED, Group:RE, World:R
Access Cntrl List:  None
 
Total of 1 file, 2828/2828 blocks.

What i am trying to do seems very simple.  I would like to extract all
the records in the REG.DBS file and output them to a standard ASCII
file that I can port to my PC.  I will then do some analysis on the
file.

Is reading the records as easy as a sys$get(&fab) command?  Or do i
have to do a whole lot more?

Thanks in advance
D.
Technical Details
Message-ID: <4ceh2g$9hd@govonca3.gov.on.ca>
Path: arc1-ca.pugleaf.net!howland.reston.ans.net!torn!govonca3!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!howland.reston.ans.net!torn!govonca3!usenet
From: dcassidy@ottawa.net (Derick)
Newsgroups: vmsnet.sources.d,comp.lang.c++
Subject: Problem Reading Records
Date: Wed, 03 Jan 1996 18:10:55 GMT
Organization: Government of Ontario
Message-ID: <4ceh2g$9hd@govonca3.gov.on.ca>
Reply-To: dcassidy@ottawa.net
NNTP-Posting-Host: 204.41.226.99
X-Newsreader: Forte Agent .99b.113