- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - OpenVMS
- >
- CDO to COBOL
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
CDO to COBOL
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-06-2008 03:43 PM
11-06-2008 03:43 PM
CDO to COBOL
CDO to COBOL
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-06-2008 04:40 PM
11-06-2008 04:40 PM
Re: CDO to COBOL
Re: CDO to COBOL
COPY blah FROM DICTIONARY
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.
Cheers Richard Maher
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-06-2008 04:44 PM
11-06-2008 04:44 PM
Re: CDO to COBOL
Re: CDO to COBOL
-----------------------------------------
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.
From this you should be able to piece together the COBOL record structures.
If you have access to the Dictionary:
-------------------------------------
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.
Cheers,
Chris
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-06-2008 04:46 PM
11-06-2008 04:46 PM
Re: CDO to COBOL
Re: CDO to COBOL
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-06-2008 05:01 PM
11-06-2008 05:01 PM
Re: CDO to COBOL
Re: CDO to COBOL
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
I found the below command in many of teh programs and created a listing file to find out the record layout
COPY "CDD_REC.TBLMSTR_MASTER" FROM DICTIONARY
this is the logical i have for cdd_rec
sh log cdd_rec
"CDD_REC" = "HNCORP_CDD:RECORDS"
below is the error message
COPY "CDD_REC.TBLMSTR_MASTER" FROM DICTIONARY.
.....1
%COBOL-F-CDDERROR, (1) *CDD error at node CDD_REC.TBLMSTR_MASTER
%COBOL-F-COPYOPEN, (1) Error opening COPY file CDD_REC.TBLMSTR_MASTER
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-06-2008 05:06 PM
11-06-2008 05:06 PM
Re: CDO to COBOL
Re: CDO to COBOL
Thank you all for your help.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-06-2008 11:07 PM
11-06-2008 11:07 PM
Re: CDO to COBOL
Re: CDO to COBOL
OpenVMS Developer & System Manager
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP