Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi, I had a remote server which had AcuServer installed, and some COBOL sources existed. I hope to use the compiler installed in another host to compile the remote COBOL sources which had COPY files statements. In the Extend/AcuCOBOL documentation, -Sp With this option you can specify a series of directories to be searched when the compiler is looking for COPY libraries. This option is followed (as the next separate argument) by the set of directories to search. See COPY Libraries for more information. The acurfap syntax can be used to specify a location on a system being served by AcuServer or AcuConnect. But when I tried to compiile the remote COBOL sources with the command : ccbl -Lfo @.lst -Sp acurfap://192.168.21.147::/opt/acucobol/1031/sample/xmlext acurfap://192.168.21.147::/opt/acucobol/1031/sample/xmlext/example1.cbl The errors returned that the compiler didn't find the COPY files as: * Data Division. Working-Storage Section. Copy &qu
Problem: This can be done in two ways: 1) Implementing the Windows CreateProcess API for which a demo is attached. 2) Implementing the library call routine: X"91" function 35 library routine Resolution: 1) CreateProcess API call. Attached is a demo showing how to use this call. For further information on the CreateProcess API go to: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/createprocess.asp 2) X"91" function 35 library routine This routine carries out an EXEC call to the specified program file which executes it. The syntax used is: call x"91" using result function-code &nb
Hi We are upgrading from Visual Cobol 2.3 for Visual Studio Community 2015 to Visual Cobol 8.0 for Visual Studio Community 2022, on Windows 10 pc’s. I know where to get the downloads from, just have some questions: Do we need to manually uninstall Visual Studio 2015 before we install Visual Studio 2022, or is this something that is done automatically in the installation? Will we be prompted to uninstall Visual Studio 2015 during the installation? Will the older version simply be replaced? Similarly for Visual Cobol: is it necessary to uninstall Visual Cobol 2.3 first, or is this handled in the installation? Will we be prompted to uninstall Visual Studio 2.3 during the installation? Will the older version simply be replaced? Do we need to revoke the license in Visual Cobol 2.3, giving an authorization code, and then enter the code after Visual Cobol 8.0 is installed, or will the license automatically carry over from version 2.3 to 8.0? I imagine
Can we execute DDL statements using InstantSQL
We are using version 12.17. Is there anything concerning the COBOL error codes in any of the documentation?
Following a move to version 7 of Visual COBOL, an Ant-based build has been failing as shown below. A compile failure is not obvious, but in reviewing a "-debug" log produced by Ant, noticed was the following exit code.This exit code presents randomly in programs undergoing a Db2 pre-compile. Micro Focus support has been engaged, but no joy yet. Has anyone encountered this and, if so, can please offer a solution? [cobol] Compilation complete with 0 errors, 0 warnings, 0 notices and an exit code of 255 BUILD FAILEDD:\\bamboo-agent-home\\xml-data\\build-dir\\ICING-IN5614-JOB1\\.cobolbuild1:68184: The following error occurred while executing this line:D:\\bamboo-agent-home\\xml-data\\build-dir\\ICING-IN5614-JOB1\\.cobolbuild1:57176: Compilation errors have occurred at com.microfocus.ant.AntUtil.createMfBuildException(AntUtil.java:490) at com.microfocus.ant.AbstractMatchi
Hi! Every once in a while we would be getting a Segmentation fault when running a runcobol command. Originally, our team would just reboot the system and the problem would be fixed. We did find a command that fixes the problem by clearing out the shared memory: ipcrm `ipcs -m | grep '524d' | grep -v grep | awk '{print "-m", $2}'` ipcrm `ipcs -s | grep '524d' | grep -v grep | awk '{print "-s", $2}'` (via How do I address an "unauthorized use of runtime/compiler (Loc 810)" error message?) Now I do understand that we should try not to shut down a COBOL process or terminal poorly, but I'm not sure any of our developers have been closing out COBOL programs ungracefully. Do you know if there is some other behavior that can cause this error? We are using a developer license on that Linux box, if that might change anything
We have upgraded server express to Visual COBOL 6.0 PU21, in Visual COBOL we are facing frequent RTS error for web service execution, some time same web service executes successfully and sometimes it throws RTS error. 230724 10024385 1273387 ESDEMO64 CASSP0014S Process termination due to RTS error. � Execution error : file ''�error code: 114, pc=0, call=1, seg=0�114 Attempt to access item beyond bounds of memory (Signal 11) 10:02:43 Can anyone help us to resolve this issue.
I have Oracle PeopleSoft CS 9.2 application & I need permanent license of Micro Focus Visual Cobol v6. Thanks #license#VisualCOBOL
We are using Micro focus visual cobol development hub 7.0 version for business logic. Getting error while starting the application only ECS orchestration and same cobol container is working fine in EKS orchestration. Need help to understand why we are getting this error only in ECS. Execution error : file 'exptnmgr'error code: 191, pc=0, call=1, seg=0191 Terminal type not defined#container#MicroFocus#VisualCOBOL
We are using a shell script to run batches in an on-premises Linux environment. Our business logic are available in microfocus visual cobol version 7.0 and shell script calls batch cobol module to execute the batch. Now, we are migrating our application to a cloud environment. Could you please help us by providing your suggestions on the best practices for running the batch in a container in AWS environment?#MicroFocus#COBOL#container
I am attempting to build and load the standard usrsub.c library as delivered with the rmcobol development system. When i execute the built and attempt to run a test program it fails; $ make libusr make[1]: Entering directory '/home/administrator/comms' gcc -m32 -D_GNU_SOURCE -DLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -fPIC -c -o usrsub.o usrsub.c make[1]: Leaving directory '/home/administrator/comms' ld -melf_i386 -shared -nostartfiles -o libusr.so usrsub.o mkdir: cannot create directory ‘rmcobolso’: File exists make: [makefile:41: libusr] Error 1 (ignored) $ runcobol test.cob -L=rmcobolso/libusr.so RM/COBOL Runtime - Version 12.19 for Linux Intel 32-Bit. RM/COBOL Development System issued to Victor'S Three-D, Inc. Configured for one user. (c) Copyright 1985-2022 Micro Focus or one of its affiliates. Registration Number: 6E-1000-94548-0001 /home/administrator/comms/rmcobolso/libusr.so: ELF load command alignment not page-aligned COBOL proc
Hello Everybody, I try to accept the postbody from a POST-Request in a cobol program. With a GET-Request everthing works fine (with "field a pic x(5) identified by fielda"). I get all the expected data. But problems occur with the POST-Request . I tried Chris Glaziers Cobol-Example (LInk: Calling COBOL program using AJAX with POSTed data )In the mentioned buffer I got only NUL-Data. Chris Glaziers Example show the accept to values from the environment. This works great. My Postbody is a normal Json-structure with the length of 212 Bytes. After execution of the Post-Request the received content-Length for example shows 212 Bytes. The accept-buffer for the POSTBODY contains 212 NUL-Bytes. I am really confused. I warmyl welcome a solution for this problem. Thank you Roland Stein
We are setting up our application in new AIX 7.3 server with Visual Cobol Devhub 7.0 - Patch Update 18. and we are getting below error when compiling a cobol program. The program/compilation script does not have reference to xlc so not able to understand why the below error is getting displayed. The module is getting compiled without any program errors and when creating .o file, the error is displayed. Kindly help to resolve the issue Please let us know for any further information. Compilation log for BATCHCON.cbl: Current Configuration :Base Directory : /projects/pr/server** -- **Compiling : BATCHCON.cblMember Name is : BATCHCON.cblMember is : BATCHCONCompiling with COBOL Options ...cob64 -x -v -V -t -C DIR"/projects/pr/server/scripts/cobol.dir" BATCHCON.cbl -o BATCHCON -L /usr/mqm/lib64 -lmqicb_r -L /db2inst1/sqllib/lib64 -ldb2 /opt/microfocus/VisualCOBOL/lib/cobdb264.so /opt/microfocus/VisualCOBOL/lib/cobrtxml64.so /opt/microfocus/VisualCOBOL/lib/libxerces-c64.soversion @
Hello everyone, I have encountered this error while launching a compilation on an AIX environment with Cobol 8 : * Accepted - noint *1502-U Open fail : 'stdin' cob64: error(s) in compilation: stdin make: The error code from the last command is 16. Stop. ABNORMAL END Any help please ?#COBOL8#aix
Hi, We are doing the Micro Focus Cobol Fundamentals Course (COBOL in 1 day) but when compiling there is no license available for Micro Focus COBOL v6. Course documentation does not talk about the need for a license. What should we do? Regards
I have a .dat data file that inexplicably doubles in size and whereby all the records get duplicated. It seems to occur once every three months or so. The problem began in March, and it happened again this month. I checked all my programs including the ones that run automatically over night and nothing stands out as a red flag. I have rebuilt the data file to check for possible corruption, but everything seems okay. There have not been any changes to how our programs write to this file in over a decade. The data file is an IDXFORMAT-8. Has this ever occurred to anyone else? Are there any suggestions on what steps to take in order to find the source of this problem? Thanks, in advance.
HI, We have a C# WCF Service that opens a Database Connection and begins a transaction when a request to one of the available web methods is made. After this connection is opened and the transaction has begun, we make a call to a COBOL Module that performs some common functionality with a database connection. This call is performed through a Wrapper that creates a RunUnit similarly as described in this forum post: https://community.rocketsoftware.com/discussion/rununit-recommended-approach-with-wrapper#bm01394414-3974-4f15-8877-465354def492 . The Wrapper passes our SQL Connection and Transaction to the RunUnit which uses the following to bind our database connection: EXEC ADO BIND CONNECTION TO :DBconn WITH TRANSACTION :DBtran END-EXEC The COBOL module is then called and functions as intended. The very last step of the Wrapper, we issue StopRun() on our RunUnit to free any resources. We'd then continue on with our web method, making further database updates/sele
Visual Studio CE 2022 Visual COBOL PE V8.0 Native code I have an application using ACUCOBOL windowing functions ( $SET preprocess"window1"). When I run the program from within the IDE (Start without Debugging) instead of a well formatted output window showing the app's screen a full screen output window opens with the formatting of titles and input fields completely distorted and spread across the window. I am unsure whether this is a VC issue or a VS issue. If the former is there a solution? TIA
I am trying to get free access to enterprise COBOL to try it out (it's features like flowchart, program control flow, etc.). I applied for it and got license but I am not able to install it (it downloads a no-readme file). Can someone help me with it? I have a Mac and if Enterpris COBOL can't be installed in it, is it possible to get Azure cloud access or something where I can use a browser to try out its features.I am really interested in Visual COBOL and COBOL analyzer products and am looking for a long term collaboration with MicroFocus but want to give out initial trials to actually try out the contents of the YouTube training videos.
Is the Visual COBOL product supported in MacOS? Does the product also assist me in converting code from COBOL to Java/C for eg.
We need to replace the acucobol browser control with one that does not depend on IE 11. We have tried working with several .net controls including cefsharp and dotnetbrower. We have tried writing our own .net wrappers around both and directly using both in our cobol code. Our latest try is to embed the cefsharp control into our cobol code using netdefgen. It works fine until we put the dll generated by netdefgen for the event handler into our bin folder. Once we do that we get "Could not load file or assembly 'CefSharp, Version 0.0.0.0, Culter=neutral, PublicKeyToken=null' or one if its dependencies. The located assembly's manifest definition does not match the assembly reference" CefSharp is not the dll we generated the def files and event dll from. But it is used by the dll we did this for. It does work fine when used by the dll we generated it for, We can see this by running without the event dll in the bin
Acucobol GT version 10.5.0. Windows client/server environment. (Not thin client). We have a third party online payments window that we just upgraded to Web-browser2. We previously used a control using ieframe.dll, which is not able to execute certain javascript. The browser control is the first control in a screen section along with a couple of push buttons. Everything is working fine except for one issue: When displaying the web page, previously we were able to cause the browser control to be "focused" with the first field (account number) highlighted. This allowed the user to continue without having to highlight the field with a mouse. Typically the user swipes a credit card in this field, then proceeds to the next step. With web-browser2 we are not able to set the focus to the browser control, causing the user to have to use the mouse each time in order to give focus to the browser. This is a major annoyance to users w
What is the best way to determine the number of records in a relative record file?#VisualCOBOL#RelativeRecord
Hello, When I tried to register a custom-made dll from cmd, the dll got registered successfully.However, when I try to register the same dll using a Acucobol program, the process is not successful. (Didn't display anyexception). The command I used was C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\Regasm.exe E:\\SWRUN\\ACUCORP\\BIN\\test.dll /tlb: test.tlb Please advise. Thanks, Aji Cherian
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.