Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi, When building our project we get: COBCH0803 = - 'procob' is not recognized as an internal or external command. We are on: Windows Server 2016 + Visual Studio 2022 + Visual Cobol 8.0 PU 1 Oracle Client 19.0.0 is installed. The system PATH variable contains: <drive>:\\ORACLE\\product32\\19.0.0\\client_1\\bin procob can be started from a command window. Any idea why this is not working from within Visual Studio? Property screen shots attached. Thanks Stefan #PROCOB#procobol
Below command is normally used to compile the module and it was working fine. command#1 -> cob -u -V -g -t -C "DIR\\"cobol.dir\\"" XSDU0036.cbl Once below command is run, module is not getting compiled in normal compilation (above command). command#2 -> cob -P -C"SETTINGS(COL) COPYLIST" XSDU0036.cbl Before compiling the module XSDU0036.cbl with command#2, module was compiling fine without any errors using command#1. Now, after compiling the module XSDU0036.cbl with command#2, facing issue even when the module is compiled with command#1. Other modules are getting compiled using command#1 without any issues. Please help us know if command#2 change any settings for that module? If yes, how to unset those settings.#COBOL#CompilerComp#VisualCOBOL
Is there a permanent link for the AcuToWeb Desktop download? Full article: https://portal.microfocus.com/s/article/KM000012264#SupportTips/SupportTips/KnowledgeDocs#SupportTips/KnowledgeDocs
Calling REG_OPEN_KEY_EX or DISPLAY_REG_OPEN_KEY_EX with the 64 bit runtime returns an error ‘invalid or missing parameter’. In 10.4.1 and lower, it never returned an error. Full article: https://portal.microfocus.com/s/article/KM000012263#SupportTips/KnowledgeDocs#SupportTips/SupportTips/KnowledgeDocs
Is it possible to enable Two-Factor Authentication (2FA) for AcuCOBOL services like AcuToWeb or AcuConnect? Full article: https://portal.microfocus.com/s/article/KM000012185#SupportTips/SupportTips/KnowledgeDocs#SupportTips/KnowledgeDocs
Background Parser reports errors but compile is successful with Cobsql Integrated Preprocessor Full article: https://portal.microfocus.com/s/article/KM000012171#SupportTips/KnowledgeDocs
I installed Micro Focus Cobol visual 2010 trial for eclipse (windows 32 bit), I added an application that I want to debug COBOL. But after my EXEC SQL .CONNECT END EXEC and after EXEC SQL INSERT END EXEC, eclipse tells me that as an error: "SQL ERROR 19703 in Connect command and SQL error 10702 in Insert Command". I want to link to a database SQL SERVER 2012 for the application to debug COBOL. I put the directives "SQL(DBMan=ODBC). When I try to put others Directives like INIT, DB or PASS I can´t . I need some others thing like install ODBC Drivers for SQL Server ? When I do that out the Eclipse ednvironment I connected withw SQL Server and I can see my Databases and my tables there. Thank you for your help.
How can I run a graphical program in linux client with extend 9.2.5 or 10.4.1
Same module is compiled in both environments except for the below differences (no difference in code logic) Environment where the module is working correctly Environment where we are getting 153 Subscript out of range error for the same module Micro Focus COBOL V6.0 (with Patch Update 18 and Patch Update 20) Micro Focus COBOL V7.0 PANVALETIGNORECOMMENT setting is set PANVALETIGNORECOMMENT setting is set NOEXECSQLFLAG EXITPROGRAM"ANSI" NORM-FILE-ERRORS settings are set These settings are not set in this environment Attached all the settings of the module in normal Linux region (V6.txt) and also from Docker environment (V7.txt). Could you please provide inputs to resolve this issue community.microfocus.com/.../V7.txtcommunity.microfocus.com/.../V6.txt#COBOL#VisualCOBOL#Linux#subscriptoutofrange
Getting different behavior in cobol version Micro Focus Visual COBOL Development Hub 6.0 and Micro Focus Visual COBOL Development Hub 7.0 when both NOBOUND and SSRANGE set in cobol directive. I like to know if any changes done in version 7.0 when SSRANGE is set after the NOBOUND directive. I also need understanding of the below description which we got release notes of 7.0 version from the below microfocus link, 00491644 (69551) The NOBOUND directive specified after the SSRANGE option is now correctly respected. Also, when both NOBOUND and SSRANGE are specified, the behaviors of the intermediate and generated code are now consistent. mfenterprisedeveloper-eclipse-70-release-notes Reason for asking is that, we are getting "153 Subscript out of range" error in version 7.0 when both NOBOUND and SSRANGE are set in cobol directive. Error is not thrown in version 6.0 with the same cobol directive. Note: Logic in program and data are same in both the regions.#VisualCOBO
I am looking for recommendations for tutorials in the form of books (i.e., ebooks or physical) or videos for learning hobbyist level Visual COBOL with the following caveats: The last COBOL program I wrote in the 80s and 90s was on the mainframe with IMS DB/DC and I have never written a COBOL program for my Windows PC which is my target platform. I am NOT interested in learning OO concepts although I realize I'll need enough familiarity for working with forms and components. While I haven't written a COBOL program in 30 years, I have written personal programs for Windows PCs in Visual Basic and Delphi so I have some familiarity with event driven programming. I have Visual COBOL PE installed in Visual Studio 2022 but I am open to switching to Eclipse if that is a new user-friendly platform. Thanks for reading this post and for your recommendations.#VisualCOBOL#tutorials#learning#Books
Hi, when trying to creating any type of Cobol project in Visual Studio using Visual COBOL Personal edition (installed yesterday) I just get the error above. If anyone can advise me of a solution for this it would be much appreciated. Thanks.
Hi, in version 4.0 of CA constructor types are in a list and the documentation related to an option appears when the option is selected But in version 8.0 this documentacion don´t appears because constructor types are in a combo. How can we see this documentacion or help now?
Hi, we have update from CA 4 to CA 8 and and we have a problem that in version 4 don´t happens We works with BRP and verification process stops once the verifications are finished,but the process don´t dead. If we execute the PowerShell script on cmd, the same thing happens, we must click "Close" on the Queue Processor window to continue. We need that process dead completly when we wors in BRP. We have another question, Why don´t we see this options? 1. Click Options > Workspace Options. 2. Click Verification > Parallel Verification tab. 3. Select either • Run Parallel Verification in the online tool • Run Parallel Verification in BRP 4. Adjust the Minimum Queue Processors to improve performance when using an optimized number of CPU cores.
The description for Event ID 1 from source Micro Focus RTS for Visual COBOL 6.0 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: d:\\psft\\pt85908\\CBLBINU\\SRPCERC.exe Execution error : file 'd:\\psft\\pt85908\\CBLBINU\\SRPCERPE.gnt'error code: 105, pc=0, call=1, seg=0105 Memory allocation error the message resource is present but the message is not found in the string/message table#Events
An application was being migrated from Server Express to Visual COBOL and was being built using a 3rd party build script. The build script directly referenced libcobrts64.so.2 in $COBDIR/lib. But when the build script was run and the system linker tried to link that file it returned the following error:ld-so-1-svr0102-fatal-libcobrts64-so-2-open-failed-No-such-file-or-directoryThis will apply to any of the following files:libcobrts64.so.2 libcobrts64_t.so.2 libcobrts.so.2 libcobrts_t.so.2 Full article: https://portal.microfocus.com/s/article/KM000011863#SupportTips/KnowledgeDocs
When building an application that uses the Pro*COBOL pre-compiler, the SOURCETABSTOP defaults to 8, even if the value specified is 4. The compiler shows the following message: “CSQL-I-049: Unable to support the SOURCETABSTOP directive, defaulting to 8” Full article: https://portal.microfocus.com/s/article/KM000011842#SupportTips/KnowledgeDocs
When trying to save a DSN for Oracle Managed ADO Provider in the Visual COBOL ADO Connection Editor an error is reported that it cannot save the DSN. Full article: https://portal.microfocus.com/s/article/KM000011916#SupportTips/KnowledgeDocs
Compile error with entry-point when using COBSQL where there are multiple lines of "using" parameters Full article: https://portal.microfocus.com/s/article/KM000011909#SupportTips/KnowledgeDocs
Having a central license server with client machines retrieving the license from it, can the License Manager have different versions in the server and the client machines? Full article: https://portal.microfocus.com/s/article/KM000011879#SupportTips/KnowledgeDocs
Questions about migrating Web Service Definitions into Visual COBOL Full article: https://portal.microfocus.com/s/article/KM000011973#SupportTips/KnowledgeDocs
How to set a CES Daemon trace for license troubleshooting Full article: https://portal.microfocus.com/s/article/KM000011965#SupportTips/KnowledgeDocs
Hello! I need help for load bitmap and DLL for acuserver. See my configuration: 1-Config CODE_PREFIX @192.168.0.222:F:\\IMP\\ACUSERVE\\PDV\\OBJ;@192.168.0.222:F:\\IMP\\ACUSERVE\\PDV\\OBJF;@192.168.0.222:F:\\IMP\\ACUSERVE\\PDV\\OBJC;. FILE_PREFIX @192.168.0.222:F:\\IMP\\ACUSERVE\\PDV\\DADOS;@192.168.0.222:F:\\IMP\\ACUSERVE\\PDV\\DADOSR;@192.168.0.222:F:\\IMP\\ACUSERVE\\PDV\\DADOSP |for load image and DLL (not working) IMAGE_PREFIX @192.168.0.222:F:\\IMP\\ACUSERVE\\PDV\\IMGDLL_PREFIX @192.168.0.222:F:\\IMP\\ACUSERVE\\PDV\\DLL to solve I mapped the network, but is problematic! IMAGE_PREFIX I:\\ACUSERVE\\PDV\\IMG DLL_PREFIX I:\\ACUSERVE\\PDV\\DLL 2-Load image ACCEPT WEXT-IMG-PREFIX FROM ENVIRONMENT "IMAGE_PREFIX". |CARREGAMENTO DA IMAGEM INITIALIZE WX100 STRING WEXT-IMG-PREFIX DELIMITED BY SPACES '\\LOGOEMP.JPG' DELIMITED BY SIZE INTO WX100 END-STRING CALL "W$BITMAP" USING WBITMAP-LOAD, WX100 GIVING LOGO-JPG END-CALL 3-load DLL ACCEPT WEXT-DLL-PREFIX FROM ENVIRONMENT
Hi everybody, I need to do a simple Http Get on this Url "">viacep.com.br/.../".Does anyone has an example of how to do that using native COBOL? If there is no way to do it using native, is there a way using modern(maneged) COBOL?#API#HTTP#get#COBOL#MicroFocus
We have the Micro Focus Visual COBOL(v6.0.0.138) application setup on Linux (RHEL 8) and the database is MS-SQL. The Cobol application communicates to an External application using a 'C' socket program. A Cobol module calls the ‘C’ socket program passing the required information (Server name, Port number) using a pointer. At the point of calling the ‘C’ program, the application fails with the message as below, Execution error : file 'system/bin/CallSocket.gnt' error code: 114, pc=0, call=1, seg=0 114 Attempt to access item beyond bounds of memory (Signal 11) Please find below the program logic which invokes the C program, MOVE 1 TO WS-UNSTR-PTR. MOVE ZERO TO WS-UNSTR-CTR. MOVE ZERO TO WS-UNSTR-FLD-CTR MOVE SPACES TO WSOK-HST-NM. UNSTRING WS-SRV-NM DELIMITED BY SPACES
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.