Skip to main content
Question

compiler will not read compiler.cfg file.

  • October 7, 2026
  • 0 replies
  • 3 views

PeteLBaer

programs with < 72 characters per line compile correctly. programs with lines longer than 72 characters compile with errors. my compiler.cfg file contains 

/*
/*    Title:    compiler.cfg
/*        RM/COBOL Sample Compiler Configuration File
/*
COMPILER-OPTIONS LISTING-ATTRIBUTES=LISTING-FILE
/* COMPILER-OPTIONS LISTING-ATTRIBUTES=ERROR-ONLY-LIST
COMPILER-OPTIONS SOURCE-RECORD-MAX-LENGTH=1024 
COMPILER-OPTIONS INITIAL-MARGIN-R=1024
COMPILER-OPTIONS LISTING-ID-AREA-SEPARATOR=0

I am using this in my Windows open with command

"C:\Program Files (x86)\Liant\RMCOBOLv12\rmcobolg_oem.exe" "%1" G=compiler.cfg

 

RMPATH  Program Files (x86)\Liant\RMCOBOLv12\COPYLIB;C:\Program Files (x86)\Liant\RMCOBOLv12
RUNPATH C:\Program Files (x86)\Liant\RMCOBOLv12
 

 

Any help would be appreciated.

Pete Baer