<?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: cobol file creation on an external disk in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/cobol-file-creation-on-an-external-disk/m-p/3893799#M35084</link>
    <description>Sunny,&lt;BR /&gt;&lt;BR /&gt;looks like you are all set by already using NFS client on your OpenVMS system.&lt;BR /&gt;&lt;BR /&gt;Before you diagnose the access problem from your COBOL program, just try a simple&lt;BR /&gt;&lt;BR /&gt;$ CREATE disk1:&lt;DIRECTORY&gt;file.ext&lt;BR /&gt;&lt;BR /&gt;to find out about possible errors creating a file. Or use $ TYPE disk1:&lt;DIRECTORY&gt;file.ext for testing read access to an existing file.&lt;BR /&gt;&lt;BR /&gt;NFS works with GID/UID, so you need to make sure there is a TCPIP proxy for your OpenVMS username, which maps to a GID/UID. Then that GID/UID must allow you access on the Windows NFS server system.&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;/DIRECTORY&gt;&lt;/DIRECTORY&gt;</description>
    <pubDate>Tue, 07 Nov 2006 09:37:04 GMT</pubDate>
    <dc:creator>Volker Halle</dc:creator>
    <dc:date>2006-11-07T09:37:04Z</dc:date>
    <item>
      <title>cobol file creation on an external disk</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cobol-file-creation-on-an-external-disk/m-p/3893794#M35079</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;  I am trying to create a sequential file from a COBOL program on a disk which is not an open VMS disk but on a Windows NT disk whcih is in teh same network. Can someone guide how do i go about this.&lt;BR /&gt;&lt;BR /&gt;For example iam trying like this below&lt;BR /&gt;SELECT OUT-FILE ASSIGN TO DISK1&lt;BR /&gt;&lt;BR /&gt;The disk DISK1 is a Windows NT disk located in the same network. Please let me know if we how to pass access control strings if we have to pass or how do i communicate from my Open VMS to Windows.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Nov 2006 08:07:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cobol-file-creation-on-an-external-disk/m-p/3893794#M35079</guid>
      <dc:creator>sunny123</dc:creator>
      <dc:date>2006-11-07T08:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: cobol file creation on an external disk</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cobol-file-creation-on-an-external-disk/m-p/3893795#M35080</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you would need some pieces of additional software (like NFS server on Windows and NFS client on OpenVMS) to be able to do this. And this has nothing to do with COBOL or any other language.&lt;BR /&gt;&lt;BR /&gt;Once the disk 'DISK1' (or part of it's directory structure) can be seen and mounted from the OpenVMS system, you can access if from your COBOL program.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 07 Nov 2006 08:14:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cobol-file-creation-on-an-external-disk/m-p/3893795#M35080</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-11-07T08:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: cobol file creation on an external disk</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cobol-file-creation-on-an-external-disk/m-p/3893796#M35081</link>
      <description>Hi Volker,&lt;BR /&gt;   Thanks much for your quick response.  I am able to see the disk mounted from Open VMS system.This is how it looks when i looked at the disk on Open VMS system. Also kindly let me know if there is any way that we can check if tyeh NFS is installed on Open VMS system.&lt;BR /&gt;&lt;BR /&gt;sh log disk31&lt;BR /&gt;   "DISK31" = "_NFS38:" (LNM$SYSTEM_TABLE)&lt;BR /&gt;&lt;BR /&gt;sh dev disk31&lt;BR /&gt;&lt;BR /&gt;Device Name : NFS38&lt;BR /&gt;Device Status : Mounted&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Sunny&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Nov 2006 08:42:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cobol-file-creation-on-an-external-disk/m-p/3893796#M35081</guid>
      <dc:creator>sunny123</dc:creator>
      <dc:date>2006-11-07T08:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: cobol file creation on an external disk</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cobol-file-creation-on-an-external-disk/m-p/3893797#M35082</link>
      <description>COBOL has two ways of direcing output files:&lt;BR /&gt;- SELECT xxx ASSIGN to YYY&lt;BR /&gt;- VALUE OF ID&lt;BR /&gt;&lt;BR /&gt;They map internally to the RMS options "Filename" (FNS=FNA+FNS) and "Default Filename" (DNS=DNA+DNS)&lt;BR /&gt;&lt;BR /&gt;Both names can and will be interpretted as logical names. This avoids hardcoding things like "nfs31:" in the programs.&lt;BR /&gt;&lt;BR /&gt;This is all in the Cobol Userguide, with details in the RMS Ref Manuals.&lt;BR /&gt;&lt;BR /&gt;You probably do not need to knwo any of that though. Before your program runs, in the command file (scripts) which runs it, or interactively define a logical name to direct the output. For example:&lt;BR /&gt;&lt;BR /&gt;$DEFINE DISK1 nfs31:[mydir]myfile.seq&lt;BR /&gt;&lt;BR /&gt;The access control should have been dealt with when the NFS device was mounted.&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;Hein&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Nov 2006 08:50:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cobol-file-creation-on-an-external-disk/m-p/3893797#M35082</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-11-07T08:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: cobol file creation on an external disk</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cobol-file-creation-on-an-external-disk/m-p/3893798#M35083</link>
      <description>Hi Hein/Volker,&lt;BR /&gt;&lt;BR /&gt;     Thank you very much for all your support and assistance which helped me a lot. Looks like i have an access violation issue which i will check from my end.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Suunny</description>
      <pubDate>Tue, 07 Nov 2006 09:13:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cobol-file-creation-on-an-external-disk/m-p/3893798#M35083</guid>
      <dc:creator>sunny123</dc:creator>
      <dc:date>2006-11-07T09:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: cobol file creation on an external disk</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cobol-file-creation-on-an-external-disk/m-p/3893799#M35084</link>
      <description>Sunny,&lt;BR /&gt;&lt;BR /&gt;looks like you are all set by already using NFS client on your OpenVMS system.&lt;BR /&gt;&lt;BR /&gt;Before you diagnose the access problem from your COBOL program, just try a simple&lt;BR /&gt;&lt;BR /&gt;$ CREATE disk1:&lt;DIRECTORY&gt;file.ext&lt;BR /&gt;&lt;BR /&gt;to find out about possible errors creating a file. Or use $ TYPE disk1:&lt;DIRECTORY&gt;file.ext for testing read access to an existing file.&lt;BR /&gt;&lt;BR /&gt;NFS works with GID/UID, so you need to make sure there is a TCPIP proxy for your OpenVMS username, which maps to a GID/UID. Then that GID/UID must allow you access on the Windows NFS server system.&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;/DIRECTORY&gt;&lt;/DIRECTORY&gt;</description>
      <pubDate>Tue, 07 Nov 2006 09:37:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cobol-file-creation-on-an-external-disk/m-p/3893799#M35084</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-11-07T09:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: cobol file creation on an external disk</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cobol-file-creation-on-an-external-disk/m-p/3893800#M35085</link>
      <description>Sunny,&lt;BR /&gt;&lt;BR /&gt;Pleas egive us the 'exact' error message.&lt;BR /&gt;Most of us will read 'access violation' as a hard program failure, but perhaps you mean a 'privilege violation'?&lt;BR /&gt;&lt;BR /&gt;As Volker indicates, let's first be sure that simple remote file access works, outside cobol. Then try the cobol program to write to a local file, and finally when those tow steps work, try to combine.&lt;BR /&gt;&lt;BR /&gt;Cobol listens to some run time environment variables (logical names) to control certain detail actions. For this case you may want to force rms record IO.&lt;BR /&gt;&lt;BR /&gt;$DEFINE COB$USE_RECORD_IO 1&lt;BR /&gt;&lt;BR /&gt;good luck,&lt;BR /&gt;Hein</description>
      <pubDate>Tue, 07 Nov 2006 10:06:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cobol-file-creation-on-an-external-disk/m-p/3893800#M35085</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-11-07T10:06:24Z</dc:date>
    </item>
  </channel>
</rss>

