<?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 CDO to COBOL in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/cdo-to-cobol/m-p/4302085#M44791</link>
    <description>Hi,&lt;BR /&gt;  I have a CDO format record layout. Is there any command to convert this into COBOL record layout format. Attached is the record layout in CDO format. Pls let me know if i have to provide more info</description>
    <pubDate>Thu, 06 Nov 2008 23:43:31 GMT</pubDate>
    <dc:creator>sunny123</dc:creator>
    <dc:date>2008-11-06T23:43:31Z</dc:date>
    <item>
      <title>CDO to COBOL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cdo-to-cobol/m-p/4302085#M44791</link>
      <description>Hi,&lt;BR /&gt;  I have a CDO format record layout. Is there any command to convert this into COBOL record layout format. Attached is the record layout in CDO format. Pls let me know if i have to provide more info</description>
      <pubDate>Thu, 06 Nov 2008 23:43:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cdo-to-cobol/m-p/4302085#M44791</guid>
      <dc:creator>sunny123</dc:creator>
      <dc:date>2008-11-06T23:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: CDO to COBOL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cdo-to-cobol/m-p/4302086#M44792</link>
      <description>Have you looked at: -&lt;BR /&gt;&lt;BR /&gt;COPY blah FROM DICTIONARY&lt;BR /&gt;&lt;BR /&gt;If you want to remove your dependence on the CDD you could always do it once with a /LIST/COPY and then create a .lib copybook from that.&lt;BR /&gt;&lt;BR /&gt;Cheers Richard Maher</description>
      <pubDate>Fri, 07 Nov 2008 00:40:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cdo-to-cobol/m-p/4302086#M44792</guid>
      <dc:creator>Richard J Maher</dc:creator>
      <dc:date>2008-11-07T00:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: CDO to COBOL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cdo-to-cobol/m-p/4302087#M44793</link>
      <description>Assuming all you have is this .CDO file:&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;Looking at the .CDO file attached, you probably need more information - ie. you need to find out the definitions of the fields that the record fields are based on. The types of the fields would be here. Then you would need to read the CDD documentation to see how those types convert to COBOL types.&lt;BR /&gt;From this you should be able to piece together the COBOL record structures.&lt;BR /&gt;&lt;BR /&gt;If you have access to the Dictionary:&lt;BR /&gt;-------------------------------------&lt;BR /&gt;If you have access to the dictionary that this comes from, then I would have thought there would be a way in COBOL to refer to the dictionary definition from a program. I don't use COBOL, but in PASCAL you can use %DICTIONARY 'dict_locn:my_record' and it will create a data type in pascal based on the dictionary defintion. You can see how it translates the defintion by looking at the programs listing file.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 07 Nov 2008 00:44:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cdo-to-cobol/m-p/4302087#M44793</guid>
      <dc:creator>Chris Barratt</dc:creator>
      <dc:date>2008-11-07T00:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: CDO to COBOL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cdo-to-cobol/m-p/4302088#M44794</link>
      <description>just use COPY FROM DICTIONARY&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/82final/6297/6297pro_125.html" target="_blank"&gt;http://h71000.www7.hp.com/doc/82final/6297/6297pro_125.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Nov 2008 00:46:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cdo-to-cobol/m-p/4302088#M44794</guid>
      <dc:creator>Phil.Howell</dc:creator>
      <dc:date>2008-11-07T00:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: CDO to COBOL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cdo-to-cobol/m-p/4302089#M44795</link>
      <description>HI All,&lt;BR /&gt;&lt;BR /&gt; Thanks for you reply. I looked at some of the existing programs to see how they are invoking and created a listing file but getting an error saying that unable to copy&lt;BR /&gt;&lt;BR /&gt;I found the below command in many of teh programs and created a listing file to find out the record layout &lt;BR /&gt;COPY "CDD_REC.TBLMSTR_MASTER" FROM DICTIONARY&lt;BR /&gt;this is the logical i have for cdd_rec&lt;BR /&gt; sh log cdd_rec&lt;BR /&gt;   "CDD_REC" = "HNCORP_CDD:RECORDS" &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;below is the error message &lt;BR /&gt;&lt;BR /&gt; COPY "CDD_REC.TBLMSTR_MASTER" FROM DICTIONARY.&lt;BR /&gt;                .....1                                         &lt;BR /&gt;%COBOL-F-CDDERROR, (1) *CDD error at node CDD_REC.TBLMSTR_MASTER&lt;BR /&gt;&lt;BR /&gt;%COBOL-F-COPYOPEN, (1) Error opening COPY file CDD_REC.TBLMSTR_MASTER</description>
      <pubDate>Fri, 07 Nov 2008 01:01:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cdo-to-cobol/m-p/4302089#M44795</guid>
      <dc:creator>sunny123</dc:creator>
      <dc:date>2008-11-07T01:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: CDO to COBOL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cdo-to-cobol/m-p/4302090#M44796</link>
      <description>Sorry, i figured out the problem. I tried teh same on the other node on the same cluster which has VMS V7.3-2 and now iam  able to get it. Thank you. Not sure why was this not working on VMS V8.3&lt;BR /&gt;&lt;BR /&gt;Thank you all for your help.</description>
      <pubDate>Fri, 07 Nov 2008 01:06:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cdo-to-cobol/m-p/4302090#M44796</guid>
      <dc:creator>sunny123</dc:creator>
      <dc:date>2008-11-07T01:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: CDO to COBOL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cdo-to-cobol/m-p/4302091#M44797</link>
      <description>AFAIK, CDD is a separate product (once Digital, now Oracle) that needs to be installed, on top of a RdB database (once Digital, now Oracle). It may not have been installed on the 8.3 machine, or references (= logicals) are missing or misconfigured.</description>
      <pubDate>Fri, 07 Nov 2008 07:07:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cdo-to-cobol/m-p/4302091#M44797</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2008-11-07T07:07:38Z</dc:date>
    </item>
  </channel>
</rss>

