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

Veryant Knowledge Base
Home > All Categories > Data Access > Can we use Micro Focus format data and indexed files directly or do they need some form of conversion?
Question Title Can we use Micro Focus format data and indexed files directly or do they need some form of conversion?

You can keep your indexed data in Micro Focus format during a transition period by using the "mfc" file handler.
To specify all files as Micro Focus files to be handled by the mfc file handler, use this configuration variable in your runtime properties:

   iscobol.file.index=mfc

We suggest you convert your data as quickly as possible, and during this transition, you will want to set the file index to whichever data file format you have a majority of, then specify a different format for each of the other files.
For example, these settings set MyMFFile1 and MyMFFILE2 to be handled by the "mfc" handler, and all other files to the c-treeRTG file handler:

   iscobol.file.index=ctreej
   iscobol.file.index.MyMFFile1=mfc
   iscobol.file.index.MyMFFile2=mfc
Fixed-length sequential and relative files do not need to be converted; they can run as is.
Variable length sequential files will run without conversion as well, but you will need to set this configuration in your environment for the sequential files:
   iscobol.file.sequential=mfsequential
Variable-length relative files must be converted to fixed-length relative files.
This conversion should be done with a Micro Focus program that reads from the variable-length file and writes to a fixed-length file using the maximum record size from the input file as the record size of the output file.
For more information and additional configuration needed in some cases, please check the isCOBOL documentation's transition guide for Micro Focus.
When you're ready to migrate your indexed files, see How do I migrate indexed files to a format that is supported by isCOBOL? for instructions and an example.

Authored by: Veryant Support This question has been viewed 2230 times so far.
Click Here to View all the questions in Data Access 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. File Types Comparison : isCOBOL - Micro Focus COBOL - ACUCOBOL-GT - RM/COBOL
  2. How do I interpret file status 9? and other EXFS extended file status codes (e.g. 9i,105)?
  3. What format does isCOBOL use for ORGANIZATION RELATIVE files?
  4. What is 9l,10 error and why is it happening?
  5. Does isCOBOL support Data General file status codes?
  6. Can we use Micro Focus data format and indexed files directly or do they need some type of conversion?
  7. Can I install the UDBC 32 bit on my 64 bit computer in order to have the Veryant * driver for ODBC32 bits Administrator?
  8. Can I call from an isCobol program a stored procedure?
  9. Why do I get the error message “java.lang.ClassNotFoundException: ctree2" ?
  10. Why do I get 'ct_init ERROR 19:133:0' ?
  11. Did you know you can use an alias to map a different disk file name to an existing "assign to" clause of the select statement without source code changes?
  12. Did you know you can encrypt an indexed file?
  13. Handling the extension on indexed data files
  14. How to hide the user and password used to connect to an RDBMS
Article Information Additional Information
Article Number: 122
Created: 2010-02-19 12:03 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



 
 

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