support: Customer Portal
Focused on delivering choice, investment protection and flexibility to organizations with valuable COBOL assets
 

isCOBOL Knowledge Base
Home > All Categories > Transitioning to isCOBOL > Micro Focus COBOL > How do I convert Micro Focus ORGANIZATION RELATIVE files to isCOBOL format?
Question Title How do I convert Micro Focus ORGANIZATION RELATIVE files to isCOBOL format?
Please contact Veryant Support to request a utility which can be used to convert a Micro Focus relative file to isCOBOL format.

Here is the story:

In Micro Focus COBOL, the format of an ORGANIZATION RELATIVE file with fixed-length records is the same as that of an ORGANIZATION BINARY SEQUENTIAL file with fixed-length records, except that each record has appended to it a two-byte marker that has the value X"0D0A" if the record exists and X"0D00" if the record has been deleted. If the file has variable-length records the format is similar except that each record is preceded by a two-byte record size, then padded with low-values to the maximum size, and followed by the two-byte marker.

In isCOBOL, the record storage format for relative files does not include two-byte record-size indicators or record-deleted markers. Instead, the records are stored consecutively including only the record data. If necessary, each record is padded with low-values to the maximum size.

isCOBOL marks deleted records in the file by replacing the record data with all low-values. Therefore writing a record containing all low-values from COBOL will cause that record to appear to be deleted.


Authored by: Veryant Support This question has been viewed 1003 times so far.
Click Here to View all the questions in Micro Focus COBOL category.
File Attachments File Attachments
There are no attachment file(s) related to this question.
How helpful was this article to you?
User Comments User Comments Add Comment
There are no user comments for this question. Be the first to post a comment. Click Here
Related Questions Related Questions
  1. What compile options should I use for a program written for Micro Focus COBOL?
  2. How are Table INDEX values properly initialized in UniKix TPE environment with isCOBOL ?
Article Information Additional Information
Article Number: 101
Created: 2009-09-04 1:41 PM
Rating: No Rating
 
Article Options Article Options
Print Question Print this Question
Email Question Email Question to Friend
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
Bookmark Article
Subscribe to Article Subscribe to Article
 
Search Knowledge Base Search Knowledge Base



  Home   |   About Us   |   Contact   |   Legal   |   Privacy   |   Press  
 
 

© Veryant LLC - All Rights Reserved
Veryant and isCOBOL are trademarks or registered marks of Veryant LLC in the United States and other countries. All other marks are the property of their respective owners.