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 > What compiler options and properties should I use for mainframe migrations with UniKix?
Question Title What compiler options and properties should I use for mainframe migrations with UniKix?

Here are some guidelines and examples:

Recommended set of isCOBOL compiler options to start with for TPE and BPE projects:

-align=8 -cax -csl -cv -dcmi -di -dv=0 -dz -m1 -pt2 -sa

Note that these options may not suit every application. For example, supplying -dz can actually *break* some applications if you are expecting decimal truncation to occur.

Option to add for using figurative constants QUOTE and QUOTES

-apost

Option to add for copybook extensions (like MF COPYEXT)

-ce=cpy:def:cob

Option to add to make LINE SEQUENTIAL the default for file SEQUENTIAL

-cfl

Option to enable IBM mainframe host compatible numeric comparisons

-chnc

Option to enable IBM mainframe host compatible numeric moves

-chnm

Option to add for Slide OCCURS DEPENDING ON behavior (like MF ODOSLIDE)

-cod1

Option to add for Panvalet includes (++INCLUDE statements)

-cpanv

Option to imply record varying size

-crv

Option to add for error file

-ef

Option to add for listing

-ld

Option used in 64-bit projects:

-d64

Option to add for debugging:

-dx

Option to add to specify an output directory:

-od=/opt/omi/prod/object

Option to remove words from the reserved words list:

-rw=CENTURY-DATE,COLOR,COMMAND-LINE,CURRENT-DATE,CURSOR,CYCLE,DAY-OF-WEEK,END-DISPLAY,EXCLUSIVE,HIGHLIGHT,INDEPENDENT,MANUAL,MENU,METHOD,PRINTER,PRIORITY,PROGRAM-STATUS,REMARKS,SCROLL,SERVICE,SWITCH,SYSTEM-INFO,TAB,TABY,WIDTH,YYYYMMDD,ZERO-FILL

Option to specify the copy path

-sp=$COBCPY

Property setting to look for file names in environment variables

iscobol.file.env_naming=1

Property setting to allow control characters in line sequential files like the Micro Focus +N runtime switch

iscobol.file.linesequential=com.iscobol.io.DynamicLSeqMF_N

Property setting to strip trailing spaces from the lines in line sequential files

iscobol.file.strip_trailing_spaces=true

Property to set the file status data item and continue execution instead of aborting after a serious file error

iscobol.file.errors_ok=2

Authored by: Veryant Support This question has been viewed 8675 times so far.
Click Here to View all the questions in Transitioning to isCOBOL 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. isCOBOL implementation of CALL SYSTEM and the iscobol.system.exec property
  2. What are the options for using ActiveX controls?
Article Information Additional Information
Article Number: 182
Created: 2011-08-10 2:36 PM
Rating: 1.5 Star
 
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.