<?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 Audit$Journal Offline Storage and Retrieval in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/audit-journal-offline-storage-and-retrieval/m-p/3645909#M71743</link>
    <description>I need to use FTP and put a close audit$journal onto an IBM Zos system for tape storage and retrieval, if needed.&lt;BR /&gt;&lt;BR /&gt;I have been unable to identify the correct OpenVMS and Zos FTP settings to get this to work.  The Zos system is using IBM's standard FTP server software.&lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated.</description>
    <pubDate>Mon, 10 Oct 2005 16:51:03 GMT</pubDate>
    <dc:creator>William VanDalsem</dc:creator>
    <dc:date>2005-10-10T16:51:03Z</dc:date>
    <item>
      <title>Audit$Journal Offline Storage and Retrieval</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-journal-offline-storage-and-retrieval/m-p/3645909#M71743</link>
      <description>I need to use FTP and put a close audit$journal onto an IBM Zos system for tape storage and retrieval, if needed.&lt;BR /&gt;&lt;BR /&gt;I have been unable to identify the correct OpenVMS and Zos FTP settings to get this to work.  The Zos system is using IBM's standard FTP server software.&lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated.</description>
      <pubDate>Mon, 10 Oct 2005 16:51:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-journal-offline-storage-and-retrieval/m-p/3645909#M71743</guid>
      <dc:creator>William VanDalsem</dc:creator>
      <dc:date>2005-10-10T16:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Audit$Journal Offline Storage and Retrieval</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-journal-offline-storage-and-retrieval/m-p/3645910#M71744</link>
      <description>William,&lt;BR /&gt;&lt;BR /&gt;  It depends on how much processing you're prepared to perform either in putting the file into storage, or retrieving it.&lt;BR /&gt;&lt;BR /&gt;  Audit journal files are variable length, which few non-OpenVMS FTP servers can deal with appropriately. So, the simplest way to make sure you get all your data back intact is to change the file to FIXED 512 byte records before sending. Send it in IMAGE mode. When you retrieve the file, restore the file attributes before analysis.&lt;BR /&gt;&lt;BR /&gt;  Note, we're not CONVERTing the file, just changing the file attributes to a lowest common denominator format that even the dumbest FTP implementation should understand.&lt;BR /&gt;&lt;BR /&gt;  Here's a procedure to adjust the file, and create a "fix" procedure for when it's retrieved (beware of wrapping):&lt;BR /&gt;&lt;BR /&gt;$ IF p1.EQS."" THEN INQUIRE p1 "File"&lt;BR /&gt;$ rfm=F$FILE_ATTRIBUTES(p1,"RFM")&lt;BR /&gt;$ mrs=F$FILE_ATTRIBUTES(p1,"MRS")&lt;BR /&gt;$ lrl=F$FILE_ATTRIBUTES(p1,"LRL")&lt;BR /&gt;$ SET FILE/ATTRIBUTES=(RFM:FIX,MRS:512,LRL:512) 'p1'&lt;BR /&gt;$ dev=F$PARSE(p1,,,"DEVICE")&lt;BR /&gt;$ dir=F$PARSE(p1,,,"DIRECTORY")&lt;BR /&gt;$ nam=F$PARSE(p1,,,"NAME")&lt;BR /&gt;$ fix=dev+dir+"FIX_"+nam+".COM"&lt;BR /&gt;$ CREATE/FDL=SYS$INPUT 'fix'&lt;BR /&gt;  RECORD&lt;BR /&gt;    FORMAT STREAM_LF&lt;BR /&gt;$ OPEN/APPEND out 'fix'&lt;BR /&gt;$ WRITE out -&lt;BR /&gt;"$ SET FILE/ATTRIBUTES=(RFM:''rfm',MRS:''mrs',LRL:''lrl') ''p1'"&lt;BR /&gt;$ CLOSE out&lt;BR /&gt;&lt;BR /&gt;  In practice, I expect the record format and MRS to be constant for all audit journal files, but a bit of generality doesn't hurt.&lt;BR /&gt;&lt;BR /&gt;  Another possibility is to pack the file into a BACKUP saveset before transferring it, as it's always possible to repair a saveset. &lt;BR /&gt;&lt;BR /&gt;  There are implementations of ZIP and UNZIP that can preserve OpenVMS file attributes, but I've never found one that works 100% of the time for all files and through any sequence of operating systems, file systems, browswers etc.</description>
      <pubDate>Mon, 10 Oct 2005 20:36:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-journal-offline-storage-and-retrieval/m-p/3645910#M71744</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-10-10T20:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Audit$Journal Offline Storage and Retrieval</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-journal-offline-storage-and-retrieval/m-p/3645911#M71745</link>
      <description>If you backup the file this will create a file with fixed length records (8k by default). ftp the file with the binary or image option. When you retrieve the file it will be set to fixed length 512 byte records. The backup saveset has the correct record length recorded in it. Use on of the DCL procedures available to fix the backup save set eg. &lt;A href="http://h71000.www7.hp.com/freeware/freeware70/000tools/reset_backup_saveset_file_attributes.com" target="_blank"&gt;http://h71000.www7.hp.com/freeware/freeware70/000tools/reset_backup_saveset_file_attributes.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;say the usual curse about stupid unix file transfer protocols and you're done :-)</description>
      <pubDate>Tue, 11 Oct 2005 03:31:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-journal-offline-storage-and-retrieval/m-p/3645911#M71745</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-10-11T03:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Audit$Journal Offline Storage and Retrieval</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-journal-offline-storage-and-retrieval/m-p/3645912#M71746</link>
      <description>&lt;BR /&gt;If Yone wants to avoid all the file-structure pre- and post-processing, then archive ZIP for VMS is the best solution, and You get a big save in archive space.&lt;BR /&gt;&lt;BR /&gt;  ZIP_CLI/VMS archive.zip list of files&lt;BR /&gt;&lt;BR /&gt;The /VMS option (or "-V" in Unix syntax) stores the VMS file attributes for later UNZIP operations.</description>
      <pubDate>Wed, 12 Oct 2005 12:09:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-journal-offline-storage-and-retrieval/m-p/3645912#M71746</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2005-10-12T12:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Audit$Journal Offline Storage and Retrieval</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/audit-journal-offline-storage-and-retrieval/m-p/3645913#M71747</link>
      <description>Regarding Johns remark of ZIP/UNZIP not working  sometimes:&lt;BR /&gt;&lt;BR /&gt;I never found such combinations since many years. At least the actual versions (Zip 2.31, Unzip 5.52) are doing well.&lt;BR /&gt;&lt;BR /&gt; I tested with security audit files (actually I do this in my weekly cleanup job), and Anal/audit on such zipped/unzipped audit log files does not show a problem. The mean compression ratio is 90% .&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Oct 2005 07:04:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/audit-journal-offline-storage-and-retrieval/m-p/3645913#M71747</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2005-10-13T07:04:57Z</dc:date>
    </item>
  </channel>
</rss>

