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 > Acucobol-GT > What compile options should I use for a program written for Acucobol-GT?
Question Title What compile options should I use for a program written for Acucobol-GT?

When compiling source files of an ACUCOBOL-GT application, the following options should always be used:

    -ca -crv -smat -wlu

If your ACUCOBOL version is 7.0 or later, the following options should always be used:

    -dvexta=32

If you didn't use the -Cf option with ACUCOBOL-GT, the following options should always be used:

    -crv

If you didn't use -Ck option with the ACUCOBOL-GT compiler, then the following option should be used with the isCOBOL compiler:

    -cko

If you didn't use -Za option with the ACUCOBOL-GT compiler, then the following option should be used with the isCOBOL compiler:

    -m1

If you didn't use -Zz option with the ACUCOBOL-GT compiler, then the following option should be used with the isCOBOL compiler:

    -cudc

If your application uses characters that takes more than one byte in memory (e.g. chinese characters) and you want that string operations like INSPECT, STRING and UNSTRING work bytewise rather than characterwise, then the following option should be used as well:

    -b

If you have level 78 items defined just below group items to measure their size, then the following option should be used:

    -s78c

IF you have $ signs in COPY statements in order to reference environment variables in the copybook path, then the following option should be used:

    -sevc

Use the following option if you want to include leading zeros when displaying numeric items to a terminal, console or command-prompt. Do not use -cdlz with programs that display a graphical user interface.

    -cdlz

Some ACUCOBOL-GT options are available in isCOBOL with the same name and produce the same effect. Some others are not available in isCOBOL, but you can still get the same effect, often as default behavior. The following lists the known ACUCOBOL-GT options along with their equivalent in the isCOBOL environment, if available:

Acucobol-GT option         isCOBOL solution
-a                         Default behavior
-Cb                        Default behavior
-Ce                        The same -ce=extensions
-Cf                        Default behavior
-Ci                        Use -ci -dcd
-Ck                        Default behavior
-Cm                        Not available. isCOBOL has an option named -cm, but it's for other purposes 
-Cp                        Default behavior
-Cr                        Default behavior
-Cv                        The same -cv
-Da#                       Use -align=#
-Dca                       The same -dca
-Dci                       The same -dci
-D6                        Add the following entry to the configuration file: iscobol.compiler.regexp="(?i)(pics+9([0-9]+)s+)(packed-decimal)" "$1 comp-6"
-Dcm                       The same -dcm
-Dd31                      Default behavior
-Df                        Use -cv
-Di                        The same -di
-Dm                        Use -dcdm
-Ds                        The same -ds
-Dz                        The same -dz
-e                         Use -eo=folder
                           Files are always named ProgramName.err
-Fa                        Default behavior
-Fo                        Use -efo=folder
-Fx                        Use -efd              
                           isCOBOL generates dictionaries in XML format. Acucobol-GT's XFD and isCOBOL XML are not compatible
-Ga                        Use either -d or -dx compiler options
-Lf                        The same option is available, but isCOBOL list files are not in ANSI format by default. 
                           Use -lf and -la combined
-Lo                        Use -lo=folder
                           Files are always named ProgramName.list
-Ls                        Use -ld
-o                         Use -od=folder
                           Files are always named PROGRAMNAME.class
-Rc                        The same -rc=word1,word2
-Rw                        The same -rw=words
-S#                        Use -stl=#
-Sa                        The same -sa and avoid using -smat
-Si                        Add IF Directive to the source
-Sp                        The same -sp=folders compiler option
-Sr                        Use -stl=8,4
-St                        The same -st and avoid using -smat
-Sx                        Add IF Directive to the source
-v                         The same -v
-Va                        Not available. isCOBOL has an option named -va, but it's for other purposes
-Vc                        Default behavior
-Vh                        The same -vh 
-Vl                        Default behavior unless -vh is used
-Vu                        The same -vu
-Vx                        The same -vx
-Za                        Set iscobol.array_check=1 in the configuration
-Zd                        Use either -d or -dx compiler options
-Zi                        The same -zi
-Zo                        Use -efo=folder
-Zr#                       Use either -pt0, pt1 or -pt2 compiler options according to your needs
-Zx                        Use -efd
                           isCOBOL generates dictionaries in XML format. Acucobol-GT's XFD and isCOBOL XML are not compatible
-Zy                        The same -zy
-Zz                        Default behavior
Compatibility with ACUCOBOL-GT's compiler options are constantly being improved, so it's best to look at the "Transitioning from ACUCOBOL-GT" manual in the isCOBOL documentation set.
Authored by: Veryant Support This question has been viewed 6992 times so far.
Click Here to View all the questions in Acucobol-GT 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. How do I set up isCOBOL to access Vision files?
  2. What ACUCOBOL-GT library routines are supported?
  3. How do I get my screens to be the same size and spacing as when I run with ACUCOBOL?
  4. How do I print to a spooler in Unix?
  5. Is there a way to have single set of source code that will compile with both ACUCOBOL and isCOBOL?
  6. Does isCOBOL have a utility to migrate Vision files to MS-SQL and PostgreSQL ?
  7. What is the easiest way to convert the ACUCOBOL-GT configuration file?
Article Information Additional Information
Article Number: 225
Created: 2013-11-29 5:19 AM
Rating: 1 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.