- Posted by
- Mofi Thanks for your help. There are very specific reasons why I use this COBOL compiler, one of which is the fact that the program editor for MF 4.0 is not very good, hence my wish to use a modern editor. Good luck with your MF 6.0 configuration and best wishes with UltraEdit 28.Posted in Build / Compile / Debug
-   Topics
-   Views
- Paulo_R
Dec 30, 2020
- Mofi Error message: C:\>reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Micro Focus\Visual COBOL\4.0" /v INSTALLDIR ERROR: The system was unable to find the specified registry key or value. C:\> Desktop.rar attached.Posted in Build / Compile / Debug
-   Topics
-   Views
- Paulo_R
Dec 29, 2020
- Mofi I applaud your persistence 🙂. Then start UEStudio, open the Compiler Options dialog window, click first on button Default, next double click on Compiler Version and select 4.0, close all dialog windows with X and run a Build. I received these errors: --------------------Configuration: COBOLtest...Posted in Build / Compile / Debug
-   Topics
-   Views
- Paulo_R
Dec 29, 2020
- Also amending the batch file to allow user input I requested COBTEST.LST which was created in the Debug directory. C:\WORKAREA\COBOL32\COBOLtest\Debug>cobol ..\coboltest.cbl Micro Focus Object COBOL (32-bit) Version 4.0.38 Copyright (C) 1984-1998 Micro Focus Ltd. URN OXCNM/000047913 Object file-name...Posted in Build / Compile / Debug
-   Topics
-   Views
- Paulo_R
Dec 26, 2020
- Mofi If you want to have the option of selecting source and/or object listings I presume you will need to have a separate compile facility i.e. a compile followed by a separate link facility, to allow the input of listing options (as above) I tried the Compile option and got this: ------------------...Posted in Build / Compile / Debug
-   Topics
-   Views
- Paulo_R
Dec 26, 2020
-  Mofi Just a quick reply (before Christmas festivities) cobol coboltest.cbl;    <--- the semi-colon causes coboltest.obj to be created cbllink coboltest.obj      <--- creates coboltest.exe Using cobol coboltest.cbl (without semi-colon) requires user input for .OBJ file name and source/object lis...Posted in Build / Compile / Debug
-   Topics
-   Views
- Paulo_R
Dec 24, 2020
- Mofi It is possible to compile, link and produce the .EXE file in one step. See coblink.bat: set path=c:\cobol32\exedll; set cobdir=c:\cobol32\lbr; c:\cobol32\exedll; set lib=c:\cobol32\lib; cbllink coboltest.cbl This produces the .OBJ file and the resulting .EXE file. Maybe we could modify the UESt...Posted in Build / Compile / Debug
-   Topics
-   Views
- Paulo_R
Dec 24, 2020
- Mofi  Yes, I have compiled and linked successfully using a Command Window (opened as Adminstrator) in the coboltest directory. I use 2 batch files both of which are placed in the coboltest directory compile.bat: set path=c:\cobol32\exedll;                                    <--- these are MF envir...Posted in Build / Compile / Debug
-   Topics
-   Views
- Paulo_R
Dec 23, 2020
- Mofi Thanks for the updated Application. Unfortunately I still get this: --------------------Configuration: COBOLtest - Debug-------------------- cobol.exe ..\COBOLtest.cbl,COBOLtest.obj,, ; cbllink.exe -oCOBOLtest.EXE COBOLtest.obj Micro Focus COBOL - CBLLINK utility Version 4.0.38 Copyright (C) 19...Posted in Build / Compile / Debug
-   Topics
-   Views
- Paulo_R
Dec 23, 2020
- Mofi I've made changes to the Project Settings as you suggested. The output seems to be calling cobol.exe and cbllink.exe correctly, but coboltest.obj is not created (no file of this name on my laptop) hence "Cannot open file: COBOLtest.obj". --------------------Configuration: COBOLtest - Debug-----...Posted in Build / Compile / Debug
-   Topics
-   Views
- Paulo_R
Dec 21, 2020
- Mofi Thank you for that. I will read carefully and get back to you. You asked for some MF documentation. Here are the relevant links (they are for a different MF product but the command line information is the same as for my compiler): Compiling from the command line - the cobol command https://www....Posted in Build / Compile / Debug
-   Topics
-   Views
- Paulo_R
Dec 21, 2020
- Mofi I have read through your explanations very carefully and I still cannot get a successful compilation. I have attached a screenshot of my last attempt and also the .mak file. So either I have misunderstood your explanations or it appears to be not possible to configure UEStudio for the MF compil...Posted in Build / Compile / Debug
-   Topics
-   Views
- Paulo_R
Dec 21, 2020
- Mofi I wasn''t sure that I had explained the MF compile/link process clearly. Anyway, I am on holiday for a few days and when I get back I will go through your explanation and attempt to correctly set up UEStudio for the MF compiler. PaulPosted in Build / Compile / Debug
-   Topics
-   Views
- Paulo_R
Dec 19, 2020
- Mofi Thank you for your very full explanation. Would it help if I showed you my MF setup? Set Environment variables: I first set up Environment variables: set path=c:\cobol32\exedll;Â Â Â Â Â Â Â Â Â set cobdir=c:\cobol32\lbr; c:\cobol32\exedll; set lib=c:\cobol32\lib; Compiler (cobol.exe) and Linker (cbll...Posted in Build / Compile / Debug
-   Topics
-   Views
- Paulo_R
Dec 19, 2020
- Hi Mofi Toolbar/menu mode with contemporary menus UEStudio Version 20.0.050 - 32-bit installed in Program Files (86)\IDM Computer Solutions\UEStudio Confirm: there is no Micro Focus compiler in configs I chose the default COBOL Compiler option since this was the only COBOL compiler available.I did n...Posted in Build / Compile / Debug
-   Topics
-   Views
- Paulo_R
Dec 17, 2020