<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Copy a file with same format in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765007#M19503</link>
    <description>Try to send Email to some of us who tried to help already. Or make an Email address for yourself somehow available (in your profile).&lt;BR /&gt;&lt;BR /&gt;It is not appropriate for for use to suggest a specific name in this name or number in a reply this forum. &lt;BR /&gt;I wouldn't want to slight someone. &lt;BR /&gt;Several options involving folks I'd like to stay friendly with. :-)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It should be obvious that any resource who has worked on tools like OpenVMS Backup or related software, or on tools like ZIP should be able to provide you with valuable help.&lt;BR /&gt;We have hinted to such names already.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hein&lt;BR /&gt;</description>
    <pubDate>Mon, 14 Mar 2011 15:30:44 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2011-03-14T15:30:44Z</dc:date>
    <item>
      <title>Copy a file with same format</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4764999#M19495</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am learning the RMS/FDL APIs right now. One &lt;BR /&gt;program I am trying to write is to make an exact &lt;BR /&gt;copy of a file in terms of it's organization &lt;BR /&gt;and data. &lt;BR /&gt;&lt;BR /&gt;Any pointers on how to do this using RMS APIs ?&lt;BR /&gt;Do we copy in FAB to out FAB and then copy records one by one ?&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Mar 2011 13:53:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4764999#M19495</guid>
      <dc:creator>rbhagwat</dc:creator>
      <dc:date>2011-03-14T13:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Copy a file with same format</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765000#M19496</link>
      <description>&lt;BR /&gt;In order to allow us to help you  better, it may help to indicate that is the ultimate goal.&lt;BR /&gt;&lt;BR /&gt;- Just to learn RMS?&lt;BR /&gt;- Simple (sequential) files or indexed as well?&lt;BR /&gt;- Just to copy a FILE&lt;BR /&gt;- Become comfortable enough to tackle 'the real problem'&lt;BR /&gt;&lt;BR /&gt;RMS - You may want to start out with the COPYFILE example program in : &lt;A href="http://h71000.www7.hp.com/doc/731final/4523/4523pro_002.html" target="_blank"&gt;http://h71000.www7.hp.com/doc/731final/4523/4523pro_002.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;To meet your current specification you would to copy fields like RAT, RFM from infab to outfab before $CREATE and check out details for XABFHC&lt;BR /&gt;&lt;BR /&gt;The example copies a record at a time.&lt;BR /&gt;It is also possible to use $CREATE to get a file with the right attributes and then use SYS$READ + SYS$WRITE to move the raw blocks.&lt;BR /&gt;That is essentially what COPY does.&lt;BR /&gt;&lt;BR /&gt;INDEXED - &lt;BR /&gt;You can use FDL$GENERATE to help setup FAB, RAB, XABS. Generate from input, adapt to become output.&lt;BR /&gt;&lt;BR /&gt;Or you can roll your own, by hooking up KEY and AREA XABS. See show_roots.c example in:&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/731final/4523/4523pro_003.html" target="_blank"&gt;http://h71000.www7.hp.com/doc/731final/4523/4523pro_003.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;COPY - A simple API for copy is sorely missing. Some use CONV$CONVERT as alternative. This can give the exact same attributes and records, but the bits might be different. Others use callable BACKUP. I suspect that mostly folks resort to call SPAWN to execute a COPY command. While there is some overhead here, and error handling gets less precise, typically such spawn would be reasonable notably for significant sized files. For frequent (more than 1/sec copies?) for smallish files you may want to roll your own.&lt;BR /&gt;&lt;BR /&gt;Also look around in SYS$HELP. For example:&lt;BR /&gt;SYS$COMMON:[SYSHLP.EXAMPLES.CDSA.AES]AES.C;1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps to get you going,&lt;BR /&gt;Regards,&lt;BR /&gt;Hein&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Mar 2011 14:34:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765000#M19496</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2011-03-14T14:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Copy a file with same format</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765001#M19497</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for the help. The final goal is to&lt;BR /&gt;come up with a prototype that can backup&lt;BR /&gt;VMS files on another machine. This will be&lt;BR /&gt;backed and stored at common places/s where&lt;BR /&gt;UNIX files are also backed up.&lt;BR /&gt;So we need to design a kind of format of save set that we store and later use to restore the file/s. Thus, this has to be&lt;BR /&gt;done for all kinds of VMS files (seq/rel/idx)&lt;BR /&gt;&lt;BR /&gt;I am going through RMS APIs (and FDL and other 2-3 related manuals) and it is huge&lt;BR /&gt;information to say the least. I am breaking &lt;BR /&gt;down this activity further. Copying files to&lt;BR /&gt;another file (keeping format intact) is a way&lt;BR /&gt;forward in that (hopefully). If that works,&lt;BR /&gt;next step is somehow dump all the FAB/RAB&lt;BR /&gt;information alongwith data in a backup set&lt;BR /&gt;(I was thinking of using FDL files instead&lt;BR /&gt;of dumping the structures as a first step).&lt;BR /&gt;&lt;BR /&gt;Is this the right direction ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Rahul</description>
      <pubDate>Mon, 14 Mar 2011 14:50:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765001#M19497</guid>
      <dc:creator>rbhagwat</dc:creator>
      <dc:date>2011-03-14T14:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Copy a file with same format</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765002#M19498</link>
      <description>The "Is there a callable copy?" question has been asked before.&lt;BR /&gt;&lt;BR /&gt;As for resources for answering your own questions and learning how to research technical questions on OpenVMS...&lt;BR /&gt;&lt;BR /&gt;The OpenVMS FAQ is here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/1" target="_blank"&gt;http://labs.hoffmanlabs.com/node/1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Which includes the section:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;How do I do a file copy from a program?&lt;BR /&gt;There are several options available for copying files from within a program. Obvious choices include using lib$spawn( ), system( ), sys$sndjbc( ) or sys$creprc( ) to invoke a DCL COPY command. Other common alternatives include using the callable convert routines and the BACKUP application programming interface (V7.1 and later).&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;There is a massive repository of VMS information in the comp.os.vms newsgroup, and going back for a couple of decades of VMS-related questions, here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://groups.google.com/forum/?fromgroups#forum/comp.os.vms" target="_blank"&gt;https://groups.google.com/forum/?fromgroups#forum/comp.os.vms&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The HP documentation can be searched with the addition of the following Google keyword onto your search:&lt;BR /&gt;&lt;BR /&gt;site:h71000.www7.hp.com&lt;BR /&gt;&lt;BR /&gt;The Ask The Wizard area has a zip archive available where you can download the entire archive of questions and answers (and search it) here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hp.com/go/openvms/wizard" target="_blank"&gt;http://www.hp.com/go/openvms/wizard&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There is an RMS library for C programs available here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/1260" target="_blank"&gt;http://labs.hoffmanlabs.com/node/1260&lt;/A&gt;</description>
      <pubDate>Mon, 14 Mar 2011 14:52:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765002#M19498</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-03-14T14:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Copy a file with same format</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765003#M19499</link>
      <description>Oh wait, it's you again. &lt;BR /&gt;I should have looked.&lt;BR /&gt;Get yourself professional, expert advice.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Hein&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Mar 2011 14:55:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765003#M19499</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2011-03-14T14:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Copy a file with same format</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765004#M19500</link>
      <description>Since you're clearly intent on spending more time and effort on a project that appears very likely to eventually fail, have a look at how zip and unzip preserve the metadata.&lt;BR /&gt;&lt;BR /&gt;This is not a simple problem (and I know how to do this) and you're adding a whole layer of complexity with this off-platform restoration requirement, and (if you want to do a bootable VMS restoration) you've got a yet larger project.&lt;BR /&gt;&lt;BR /&gt;I'd suggest that you look to provide better and more direct input your manager's schedule time and your company's budget.  Tell your manager that you are struggling with this.  &lt;BR /&gt;&lt;BR /&gt;The further you drag this out, the worse the issues here will look.  If you drag this out too far, and though there will also be clear management-level errors here, it'll be you that gets blamed for this.&lt;BR /&gt;&lt;BR /&gt;That's not intended as a reflection on you, it's a reflection of the complexity of the task involved, and with the complete lack of technical familiarity with the target platform.&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Mar 2011 15:02:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765004#M19500</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-03-14T15:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Copy a file with same format</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765005#M19501</link>
      <description>Hey Hein, how many years to get BACKUP working reliably? &lt;BR /&gt;&lt;BR /&gt;BACKUP was hitting nasty errors as recently as V6-ish with image backlink errors, and there have been BACKUP errors in subsequent VMS releases including problems with GPT restoration and related baggage in the V8-ish range.&lt;BR /&gt;&lt;BR /&gt;I'm not entirely certain that the "new" file links stuff has been particularly documented, either.  But I digress.&lt;BR /&gt;&lt;BR /&gt;And that was with the folks working on BACKUP being far more familiar with RMS and the XQP structures than is the OP, and with direct access to the engineers working on MOUNT and XQP and RMS.</description>
      <pubDate>Mon, 14 Mar 2011 15:10:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765005#M19501</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-03-14T15:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Copy a file with same format</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765006#M19502</link>
      <description>Hi Hein, Hoff,&lt;BR /&gt;&lt;BR /&gt;One of the reasons I am doing this is there&lt;BR /&gt;is lack of VMS developers around and we do &lt;BR /&gt;need (eventually) internal experience on this.&lt;BR /&gt;&lt;BR /&gt;Please let me know options available to &lt;BR /&gt;get external expertise and advise on this.&lt;BR /&gt;&lt;BR /&gt;I appreciate all the help that has been &lt;BR /&gt;offered till now. Having started totally new&lt;BR /&gt;to VMS, I moved on like this with this help&lt;BR /&gt;1. Using GNV to straight compile things as&lt;BR /&gt;   porting strategy to realize that this &lt;BR /&gt;   is not going to get anywhere as to even&lt;BR /&gt;   compile a single file (with various &lt;BR /&gt;   scripting issues due to our complex make &lt;BR /&gt;   environment)&lt;BR /&gt;2. Compiling individual files to realize that&lt;BR /&gt;   there are lot of things not supported by&lt;BR /&gt;   CRTL.&lt;BR /&gt;3. Using RMS to develop small programs and&lt;BR /&gt;   working way up to have a new code base&lt;BR /&gt;   (backup/restore portion) totally.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Rahul</description>
      <pubDate>Mon, 14 Mar 2011 15:16:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765006#M19502</guid>
      <dc:creator>rbhagwat</dc:creator>
      <dc:date>2011-03-14T15:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Copy a file with same format</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765007#M19503</link>
      <description>Try to send Email to some of us who tried to help already. Or make an Email address for yourself somehow available (in your profile).&lt;BR /&gt;&lt;BR /&gt;It is not appropriate for for use to suggest a specific name in this name or number in a reply this forum. &lt;BR /&gt;I wouldn't want to slight someone. &lt;BR /&gt;Several options involving folks I'd like to stay friendly with. :-)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It should be obvious that any resource who has worked on tools like OpenVMS Backup or related software, or on tools like ZIP should be able to provide you with valuable help.&lt;BR /&gt;We have hinted to such names already.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hein&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Mar 2011 15:30:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765007#M19503</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2011-03-14T15:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Copy a file with same format</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765008#M19504</link>
      <description>Thanks. I will reach out once it is approved.</description>
      <pubDate>Mon, 14 Mar 2011 18:04:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765008#M19504</guid>
      <dc:creator>rbhagwat</dc:creator>
      <dc:date>2011-03-14T18:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Copy a file with same format</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765009#M19505</link>
      <description>I don't want to cast any doubt on the qualifications and ability of anyone who's already posted a reply, but there is a network backup solution available for OpenVMS.  Symantec NetBackup may provide the functionality you need.  The application allows you to save and restore OpenVMS files.  There is no "bare metal" restore option, you'll either need to maintain operating system tapes or be prepared to install a recovery operating system.  You could attempt to deploy your own solution of course.</description>
      <pubDate>Mon, 14 Mar 2011 21:53:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765009#M19505</guid>
      <dc:creator>Andy Bustamante</dc:creator>
      <dc:date>2011-03-14T21:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Copy a file with same format</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765010#M19506</link>
      <description>rbhaqwat,&lt;BR /&gt;&lt;BR /&gt;I agree with Hein and Hoff, among others. This is a complex project, and is definitely not a starting point.&lt;BR /&gt;&lt;BR /&gt;As has been noted, BACKUP took quite a bit of care to get right, and had its share of issues along the way. Starting the climb to this level of functionality from nothing is definitely a challenge. &lt;BR /&gt;&lt;BR /&gt;I would concur with getting some professional assistance from someone with significant experience in these areas.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Mon, 14 Mar 2011 23:21:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765010#M19506</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2011-03-14T23:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Copy a file with same format</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765011#M19507</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] Symantec NetBackup may provide the&lt;BR /&gt;&amp;gt; functionality you need. [...]&lt;BR /&gt;&lt;BR /&gt;Do you think that they'll sell him the source&lt;BR /&gt;code?  He wants to _sell_ some software, not&lt;BR /&gt;to _buy_ some software.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] So we need to design a kind of format&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;Because you've looked at the existing&lt;BR /&gt;Info-ZIP stuff, and it's all unsuitable?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Is this the right direction ?&lt;BR /&gt;&lt;BR /&gt;I doubt it, but if that's what you want to&lt;BR /&gt;do, ...&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] have a look at how zip and unzip&lt;BR /&gt;&amp;gt; preserve the metadata.&lt;BR /&gt;&lt;BR /&gt;I could be biased, but it's just possible&lt;BR /&gt;that if you get the same piece of advice from&lt;BR /&gt;everyone who knows anything, then perhaps you&lt;BR /&gt;should spend a little time investigating that&lt;BR /&gt;suggestion.  Just a thought.  I don't want to&lt;BR /&gt;tell you how to do your job.</description>
      <pubDate>Tue, 15 Mar 2011 01:16:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765011#M19507</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-03-15T01:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Copy a file with same format</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765012#M19508</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I agree with Hoff that BACKUP has taken these many years to be at this stage. It took quit some time for us to fix the backlink errors between VMS$COMMON.DIR and SYSCOMMON.DIR (BACKUP-I-BTCROUT) and also while adding /GPT qualifier. While designing the applications like BACKUP, it is required to know the disk structures, file system, RMS APIs, system services etc. Ultimately it is the question of data integrity. You may archive some critical data today and you do not want to see the restore errors after a year when you restore it. We had few such instances in the past. Luckily they did not lead to data loss. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ketan&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Mar 2011 02:39:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765012#M19508</guid>
      <dc:creator>Shriniketan Bhagwat</dc:creator>
      <dc:date>2011-03-15T02:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Copy a file with same format</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765013#M19509</link>
      <description>There is an alternative to processing the FAB and XAB structures yourself.  You might find a solution using the FDL routines (see the "OpenVMS Utility Routines" manual).&lt;BR /&gt;&lt;BR /&gt;Specifically, you can use FDL$GENERATE to create a textual representation of the file's RMS structure.  You could then store this meta-data on the backup server, along with the file contents (read using block I/O rather than record I/O).&lt;BR /&gt;&lt;BR /&gt;To restore the file you could use FDL$CREATE or FDL$PARSE and then write the file (again using block I/O).&lt;BR /&gt;&lt;BR /&gt;Note that I have not tried this and there may be significant problems with this approach that have not occurred to me in the 2 minutes it took to type this response.  But you might find it an instructive exercise nonetheless.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jeremy Begg</description>
      <pubDate>Thu, 24 Mar 2011 03:47:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765013#M19509</guid>
      <dc:creator>Jeremy Begg</dc:creator>
      <dc:date>2011-03-24T03:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Copy a file with same format</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765014#M19510</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks. I thought about it and saw the FDLs&lt;BR /&gt;generated. It did not generate all the &lt;BR /&gt;information that we wanted to backup and &lt;BR /&gt;restore.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Rahul&lt;BR /&gt;&lt;BR /&gt;PS - This C RTL is not really useful at all.&lt;BR /&gt;I am moving towards using system services &lt;BR /&gt;almost for everything. (So this is like a new&lt;BR /&gt;code instead of porting). Specifically,&lt;BR /&gt;exec and vfork cannot simulate what fork() and&lt;BR /&gt;exec() does on UNIX fully.</description>
      <pubDate>Thu, 24 Mar 2011 14:56:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765014#M19510</guid>
      <dc:creator>rbhagwat</dc:creator>
      <dc:date>2011-03-24T14:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Copy a file with same format</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765015#M19511</link>
      <description>Most C applications don't use the full copy on write virtual memory management capabilities of the fork/exec processing; only a select few do.  And VMS lacks copy on write.&lt;BR /&gt;&lt;BR /&gt;There are hooks in the CRTL to allow some of the (other) capabilities of fork/exec to be replicated on VMS.  See the decc$set_child_* calls for maintaining (some of) the context.&lt;BR /&gt;&lt;BR /&gt;VMS is lacking the clone() call that you'll find in Linux.&lt;BR /&gt;&lt;BR /&gt;Some low-level file system details are available here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/209" target="_blank"&gt;http://labs.hoffmanlabs.com/node/209&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/112" target="_blank"&gt;http://labs.hoffmanlabs.com/node/112&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/28" target="_blank"&gt;http://labs.hoffmanlabs.com/node/28&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There are pointers to some of the specs from there.&lt;BR /&gt;&lt;BR /&gt;You'll also be working in the XQP layer for some of what you need; that's where the metadata is most directly accessible.   And for a full-disk bootable restoration, you will need to use logical I/O calls for some of the restoration processing.&lt;BR /&gt;&lt;BR /&gt;There's an RMS-level C library here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/1260" target="_blank"&gt;http://labs.hoffmanlabs.com/node/1260&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That library will be nowhere near what you will need to have here, given what you're up to, too.</description>
      <pubDate>Thu, 24 Mar 2011 15:25:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-a-file-with-same-format/m-p/4765015#M19511</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2011-03-24T15:25:19Z</dc:date>
    </item>
  </channel>
</rss>

