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

Veryant Knowledge Base
Home > All Categories > Transitioning to isCOBOL > RM/COBOL > What compile options should I use for a program written for RM/COBOL?
Question Title What compile options should I use for a program written for RM/COBOL?

When compiling source files of a RM/COBOL application, the following options should always be used:

   -cr -ce=cbl -crko -crlk -dcii -dvext=32 -pt0 -va
Many RM/COBOL applications imply the SIGN IS TRAILING SEPARATE clause for signed data items.RM/COBOL version 1.6 behaved this way.

RM/COBOL version 2.x can optionally behave this way. If the application was written originally with version 2.0 or later, then it might not behave this way.

You will need to examine the source to see if the "S" picture element counts in the size of an item or not.
It is important to determine whether or not the sign counts in the size, particularly if you plan to convert existing data files, otherwise records loaded from RM/COBOL files may not match the record layout described in the program. To imply the SIGN IS TRAILING SEPARATE clause with isCOBOL, use the following compiler option:
   -ds
With RM/COBOL, the default intensity during ACCEPT for UNIX machines is high intensity and for MS-DOS machines is low intensity.
With isCOBOL every ACCEPT uses low intensity by default. If you need to force a default high intensity on ACCEPT, use the following compiler option:
   -vh
Many RM/COBOL applications use a specific mode of memory management. In this mode, all of the currently active programs must fit in 64K bytes, but programs that are not currently active do not.
This has the effect of dynamically canceling inactive subprograms as needed to gain memory. To obtain a similar behavior with isCOBOL, use the following compiler option:
   -zi
For more information on compile options and other concerns when transitioning from RM/COBOL to isCOBOL, consult the transition guide specific to RM/COBOL in isCOBOL's documentation set.

Authored by: Veryant Support This question has been viewed 6588 times so far.
Click Here to View all the questions in RM/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
There are no other questions related to this question.
Article Information Additional Information
Article Number: 208
Created: 2013-07-19 10:30 AM
Rating: 2 Stars
 
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.