FAQ > PERCobol Compiler Notes > PERCobol has Datatype compiler parameter; which is the preferred parameter?
Search the FAQ for entries containing:
Either method is appropriate -dt # is easier for the IDE to set, -Dcm is a flag compatible with AcuCobol's usage.) -Dcm (Data compatible Micro Focus) is generally what I use from the command line. The -Dcm:b/-Dcm:w difference is only for when the code required the byte/word compiler option in the original Micro Focus code. The -dt parameter values are:
-dt Datatype (0= LegacyJ, 1=IBM(A), 2=AcuCOBOL, 3=IBM(E), 4=HP/MPE, 5=MicroFocus)
The default value is 0
The LegacyJ IDE eases this and should be set in the IDE project settings.
Last updated on December 28, 2009 by Daniel Myers
