[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::axp-developer

Title:Alpha Developer Support
Notice:[email protected], 800-332-4786
Moderator:HYDRA::SYSTEM
Created:Mon Jun 06 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3722
Total number of notes:11359

3299.0. "Nectar - POINT 22385" by RDGENG::ASAP () Tue Mar 11 1997 10:44

    Company Name :  Nectar - POINT 22385
    Contact Name :  Mats Nilsson
    Phone        :  +46 (0)451 893 00
    Fax          :  +46 (0)451 817 30
    Email        :  [email protected]	
    Date/Time in :  11-MAR-1997 15:43:46
    Entered by   :  John Wood
    SPE center   :  REO

    Category     :  OpenVMS
    OS Version   :  Alpha
    System H/W   :  Alpha


    Brief Description of Problem:
    -----------------------------

I have some problems in reading files,just created from a
C-program (creat).

Our customer has copied a file structure from Vax OpenVMS to Alpha OpenVMS
then we create new files from the C-program and get new versions of them.

What does the new version of a file inherit from the old version, as
the old version was a RMS-file but the new should be an ordinary file.

T.RTitleUserPersonal
Name
DateLines
3299.1RDGENG::WOOD_J[email protected]Fri Mar 14 1997 02:4429
Date:	12-MAR-1997 15:32:42.64
From:	DEC:.REO.REOVTX::WOOD_J       "[email protected]"
Subj:	Digital ASAP #22385: RMS files & C program
To:	smtp%"[email protected]"

>I have some problems in reading files,just created from a
>C-program (creat).
>
>Our customer has copied a file structure from Vax OpenVMS to Alpha OpenVMS
>then we create new files from the C-program and get new versions of them.
>
>What does the new version of a file inherit from the old version, as
>the old version was a RMS-file but the new should be an ordinary file.

Looking at the OpenVMS Record Management Services Reference Manual, and
from a bit of experimentation, then it seems that the only attributes
a new file might inherit from the old file is the file protection
permissions.

Can you explain more about your situation? Do you have an indexed RMS file
originally, which when a new version of the file is created by your C program,
it still retains the RMS indexed origanization? If so, could you send me the
output from $ DIR/FULL on both files, and explain what calls the C program 
makes to write the file.

Thanks,
  John Wood				[email protected]
  Software Partner Engineering (UK)
  Digital Equipment Co
3299.2RDGENG::WOOD_J[email protected]Fri Mar 14 1997 03:0130
Date:	12-MAR-1997 15:32:42.64
From:	DEC:.REO.REOVTX::WOOD_J       "[email protected]"
Subj:	Digital ASAP #22385: RMS files & C program
To:	smtp%"[email protected]"
CC:	WOOD_J

>I have some problems in reading files,just created from a
>C-program (creat).
>
>Our customer has copied a file structure from Vax OpenVMS to Alpha OpenVMS
>then we create new files from the C-program and get new versions of them.
>
>What does the new version of a file inherit from the old version, as
>the old version was a RMS-file but the new should be an ordinary file.

Looking at the OpenVMS Record Management Services Reference Manual, and
from a bit of experimentation, then it seems that the only attributes
a new file might inherit from the old file is the file protection
permissions.

Can you explain more about your situation? Do you have an indexed RMS file
originally, which when a new version of the file is created by your C program,
it still retains the RMS indexed origanization? If so, could you send me the
output from $ DIR/FULL on both files, and explain what calls the C program 
makes to write the file.

Thanks,
  John Wood				[email protected]
  Software Partner Engineering (UK)
  Digital Equipment Co
3299.2RDGENG::WOOD_J[email protected]Mon Mar 24 1997 03:2415
Date:	24-MAR-1997 08:23:43.36
From:	DEC:.REO.REOVTX::WOOD_J       "[email protected]"
Subj:	Digital ASAP #22385: RMS files & C program
To:	smtp%"[email protected]"

Mats,

re. the attached mail:

Can you provide any more information on your problem
or shall I close the call?

Thanks,
  John
--------
3299.3RDGENG::WOOD_J[email protected]Mon Mar 24 1997 05:3922
Date:	24-MAR-1997 10:32:05.71
From:	SMTP%"[email protected]"
Subj:	Digital ASAP #22385: RMS files & C program
To:	"[email protected]" <[email protected]>

Reply to the message of Monday March 24, 1997 09:23 +0100
-----------------------------------------------------------------
Hello John

>re. the attached mail:

>Can you provide any more information on your problem or shall I close
>the call?

You can close the call, it was probably a customen problem, they have
copied some Vax binaryfiles the an Alpha.

Sorry that you not got the message from me before.

Best regards

mats