Title: File Types Comparison : isCOBOL - Micro Focus COBOL - ACUCOBOL-GT - RM/COBOL

File Types Comparison

isCOBOL - Micro Focus COBOL - ACUCOBOL-GT - RM/COBOL

The table below shows the compatibility between isCOBOL and other COBOLs with regards to sequential, relative and indexed files.

A green background means full compatibility (no action required) while a yellow background means that a data migration is required and can be accomplished easily using compilers and utilities provided by Veryant and the other COBOL vendor.

A red background means that a conversion program must be written. Contact your Veryant representative to discuss professional services to help in these cases.

ACUCOBOL-GT Micro Focus RM/COBOL
Binary Sequential with fixed-length records Veryant COBOL compatible Veryant COBOL compatible Veryant COBOL compatible
Binary Sequential with variable-length records Veryant COBOL compatible Requires conversion
Follow the procedure outlined below
Requires conversion
Follow the procedure outlined below
Line Sequential with fixed-length records Veryant COBOL compatible Veryant COBOL compatible  Veryant COBOL compatible
Line Sequential with variable-length records Veryant COBOL compatible Veryant COBOL compatible  Veryant COBOL compatible
Relative with fixed-length records Veryant COBOL compatible Requires conversion
Utility provided by Veryant Support
Veryant COBOL compatible
Relative with variable-length records Unsupported file format (rarely used)
Requires conversion
Follow the procedure outlined below
Unsupported file format (rarely used)
Requires conversion
Follow the procedure outlined below
Unsupported file format (rarely used)
Requires conversion
Follow the procedure outlined below
Indexed with fixed-length records Access to Vision files provided via a licensed copy of the ACUCOBOL-GT runcbl library Requires conversion
Use jutil -convert to convert these files to Veryant JISAM format
(The Micro Focus rebuild utility is required by JUTIL in order to faciliate the conversion)

Requires conversion
Convert to Veryant JISAM format with the following steps:
1) Create an empty JISAM file by running a program that opens for output the FD with isCOBOL
2) Unload data from the input file using the RM/COBOL recover2 utility
3) Run jutil -loadr2

Indexed with variable-length records

Procedure for converting variable-length record Binary Sequential or variable-length record Relative files to a supported Veryant format

Write a program to be compiled and executed with ACUCOBOL-GT, Micro Focus or RM/COBOL that does the following:

  • Read the records from the variable-length record input file (i.e. add RECORD ... DEPENDING ON depend-variable in the file's FD where depend-variable will be filled in with the record size.)
  • Write the records to a new fixed-length record Binary Sequential output file but begin the output file's FD with a two byte COMP-4 item that is filled in with the record size from the input file's depend-variable. Use this new file as the variable-length record Binary Sequential file with Veryant COBOL.

    or
  • Write the records to a new fixed-length record Relative output file using the maximum record size from the input file as the record size of the output file.

© Veryant 2011

Authored by: Veryant Support on Fri, Jun 10th, 2011 at 7:00 PM
This question has been viewed 9878 times so far.
Online URL: http://support.veryant.com/support/phpkb/question.php?ID=172

Powered by PHPKB Knowledge Base Software