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 |
| There are no attachment file(s) related to this question. |
| |
User Comments |
 |
|
| There are no user comments for this question. Be the first to post a comment. Click Here |
Related Questions
|
- What compile options should I use for a program written for Micro Focus COBOL?
- How are Table INDEX values properly initialized in UniKix TPE environment with isCOBOL ?
|