Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi, Using the document below, I was able to perform select/update/insert using rm/cobol to Postgres Database in linux. https://www.microfocus.com/documentation/rm-cobol/1214/ISQLhelp/InstantSQLTableOfContents.htm However, I am unable to create a table or drop a table using InstantSql. Below are the errors I see. I am unable to see any sample in the document above. 1.drop table *********prepare query MOVE "drop table persons1" TO sql-QrySQL SQL PREPARE QUERY sql-QueryHandle, sql-ConnectionHandle, sql-QrySQL. IF NOT sql-OK display "UNSUCCESFUL PREPARE!!!" PERFORM WITH TEST AFTER UNTIL sql-EndOfData SQL DESCRIBE ERROR sql-Error-Description IF NOT sql-EndOfData PERFORM DISPLAY-ERROR-INFO END-IF END-PERFORM GO TO Z END-IF *********start query SQL START QUERY sql-QueryHandle. IF NOT sql-OK display "UNSUCCESFUL START!!!" PERFORM WITH TEST AFTER UNTIL sql-EndOfData SQL DESCRIBE ERROR sql-Error-Description IF NOT sql-EndOfData PERFORM DISPLAY-ERROR-INFO END-IF END
I am attempting to incorporate a browser control that does what we need it to do. I generated a def file using NetDefGen. When I add a screen section entry referencing this control, I get an intermixed screen format error when compiling. I am using the 10.5 compiler. Here is the screen section entry: I can find no reference to this error in the documentation.
FD missing for file filename. How do I fix this syntax error?
I applied for and received a free license to download and use COBOL-IT\\Microfocus Visual COBOL for Visual Studio. I was able to download the software and it does open Visual Studio but there is a application error message “Visual COBOL for Visual Studio does not have a valid license” and when I attempt to create a new COBOL project it throws an error “Class is not licensed for us.” I tried entering the Serial number from the email I got from PRO-SoftwareLicensesDownloads@microfocus.com and I tried entering the file name and path for the license file and get the “Error installing licenses…” message. I have provided screen shots attached that shows the steps I took. If anyone can help I would appreciate it.community.microfocus.com/.../My-installation-steps-performed-for-COBOL_2D00_IT_2D00_Display.docx
I was told to write a post on here in regards to my problem with Visual Cobol for Eclipse. When I open the application a window pops up asking for a license/authorization code. I follow multiple directions on how to obtain this authorization code but nothing seems to be working. I run the license manager file and that seems to be a dead end. Can someone please just help me get this authorization code I really need to access the program to complete assignments. Thank you.#CobolEclipse#VisualCOBOLEclipse#VisualCOBOL
Can someone please provide the link where I can download the Visual Studio 2022 IDE for Visual COBOL version 9? I want to make sure I have the correct link for Visual Studio 2022 IDE. Thanks in advance.
Hi, We have been using ATW Desktop with FireFox to launch Oscar T5 application. Until yesterday it has worked fine with my computer: When I used to open FireFox and enter URL for the application, ATW Desktop will go to connected state. But today, the ATW Desktop remains in Listening mode. I already changed the FireFox property network.websocket.allowInsecureFromHTTPS value to True, but it didn't help. The ATW version is extend 10.4.1. I know there was some Windows updates installed when I yesterday shutted the computer down. Is there any troubleshooting steps to take to discover why ATW does not work anymore?
hello we are migratiing from cob 5.1.4.0 to visual cobol V6.0.0.108 on AIX 7.2 server. we have some programs who apply a item ANY LENGTH in the linkage section and a "SET ADRESS OF item TO pointer" in the PROCEDURE DIVISION. On AIX serveur, compile with cob 5.1.4.0 work well, but we got an several error COBCH1886 when compile with Visual cobol V6. Is there any patch to apply ? ERRORS: * Window Syntax precompiler (V3.2 Ref:1.43) 3667 SET ADDRESS OF LI-TMP TO W-POINTER*1886-S******************************** ( 0)**** Invalid use of ANY LENGTH itemcob64: error(s) in compilation: COPOS-VISU.CBL#VisualCOBOL#COBCH1886
Hi We recently upgraded from Visual Cobol 2.3 for Visual Studio Community 2015 to Visual Cobol 8.0 for Visual Studio Community 2022 on Windows 10. Uninstalled VC 2.3 and VS 2015 first. Also, installed Update 9 of Visual Cobol and VS 2022 v 17.7.2. Made copies of all projects and changed the Target framework from .NET Framework 4.5.2 to 4.6.2 in all projects, because 4.5.2 is no longer supported. Application is a Windows forms app. There are now some problems with version 8.0: 1. Accessing properties/methods on data items defined in another .cbl (eg objects on a form where the objects are instantiated in the .designer.cbl) the data item is coloured differently in the editor In V2.3: set litem-butt-amend::Enabled to false In V8.0 set litem-butt-amend::Enabled to false In V8.0 the data item shows as green. This does not happen in the .designer.cbl. I cannot find a setting in Fonts and Colors to fix this. 2. Getting error when reading from
I'm trying to debug a batch COBOL program. It stops on entry to my initial module, but when I push F5 it doesn't go to the next instruction, it runs to the end. I've got breaks in called program so tried F8 and it also runs to the end. This worked (F5 going to next instruction and F8 running to break) until the middle of last week. This morning I had another developer open my project and submit the job. For him F5 does step through the program. So he closed and I opened and still doesn't work for me. We both did a printenv and compared our environment variables and the only differences where our session ID and folders we are linked to.
I saw a post that was created many years ago (https://community.rocketsoftware.com/forums/forum-home?CommunityKey=fc99efc3-3189-48e3-860f-01928efec020 about only compiling changed source. I have a NetExpress project that was loaded into Visual Studio 2017 and converted to Visual COBOL 4.0. The project contains hundreds of cbl files. If I change only one of the cbl files and click BUILD on the project, I would expect only that one changed cbl to compile (into a GNT) but instead all cbls in the project start compiling. Is this expected behavior? #VisualCOBOL#VisualStudio
List the compatibility issues between Mainframe VS COBOL and MF COBOL.
I use VcPE free 1 yr trial for teaching COBOL at the local community college. I've uninstalled all older versions and now have VS2022 Community and VcPE 9.0 installed. I can't get past the license issue(s): When trying to create a new cobol project, I get then when trying to get the MF VcPE license in using the xml file, it doesn't accept it and I get: I've uninstalled, reinstalled, repaired both . . . tried MF Support, but the trials don't get support anymore. I've got 25 students with the same issue and I have to get everyone up and running ASAP. Any suggestions are welcome. VcPE educational trial has worked in the classroom for me for more than 10 yrs. I liked it because it exposed the student to VS, MIcrofocus, and cobol - a boon for them when they go into the workforce. Maybe I need to look at other products to use for the course?#VisualCOBOL#VisualStudio
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
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.