Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I've been working on using udb (https://undo.io/) with native COBOL using Visual Studio code. So far it works ok as I can step forward and backward over code. The problem is that I can't see any of the variables. I suspect this is because the executables don't contain any of the DWARF information used by most debuggers but instead use seperate .idy files I can see that you do support this for Visual COBOL and Eclipse (www.microfocus.com/.../time-travel-debug-extension-for-visual-cobol-and-enterprise-developer) and would like to extend that functionality to Visual Studio Code. I see that this is supported by IBM via the TEST(DWARF) compiler option (www.ibm.com/.../6.1 and was wondering if Opentext had something similar Currently using Micro Focus Visual COBOL Development Hub 8.0 but I can upgrade to 9.0 if you believe that will make a difference Thank you in advance for your help.
I tried to install but dont appear cobol perspective. I find in xml activation file something like this <description>ManagedCheckerDocker</description> and <attribute> <name>License Group</name> <valueList> <value>Visual-COBOL-Eclipse-Build-Tools-Docker-Named-User</value> I think this is the problem But I dont know how I can fix it.
We've written a .net browser control that should provide the functionality we need post active-x (webbrowser2 is inadequate for our needs). The issue we are having is with capturing events. Could someone explain how to capture the .net control events in our COBOL program? I know this has been asked before, but I do not see a resolution. The dll has been registered and is in the run directory, and netdefgen has generated the def file. We can display the control. What's missing is the communication of events back to the COBOL program. We are using the 10.5 runtime.
After coding the SORT statement for my text files, Visual Studio\\Visual COBOL throws the "COBCH0: illegal key" error. I've looked up the error, used existing examples of the SORT code on several tutorials but still getting this error. I'm using: Visual COBOL for Visual Studio vs 9. Windows 10 My code: IDENTIFICATION DIVISION.PROGRAM-ID. SortedFileProg. ENVIRONMENT DIVISION. INPUT-OUTPUT SECTION. FILE-CONTROL. SELECT INPUTX ASSIGN TO "C:\\Application Development\\" & "Training\\Applications\\COBOL\\AppProgram2\\IN.dat" ORGANIZATION IS LINE SEQUENTIAL. SELECT OUTPUTX ASSIGN TO "C:\\Application Development\\" & "Training\\Applications\\COBOL\\AppProgram2\\OUT.txt". SELECT WORK ASSIGN TO "C:\\Application Development\\" & "Training\\Applications\\COBOL\\AppProgram2\\WRK.txt".*CONFIGURATION SECTION. DATA DIVISION. FILE SECTION.FD INPUTX. 01 INPUT-STUDENT. 05 STUDENT-ID-I PIC 9(5). 05 STUDENT
Hey there, So I have been tasked with coming up with a few new methods to maintain data files for the company I am working with. Traditionally, all the data modifications have been done via a pass program or using Alfred. This is fine for some tasks but using SQL would be much more efficient and save a lot of time in some areas, especially ad-hoc based data modifications. However, I am having some troubles getting any sql statements to work aside from select statements or single row inserts or updates. The selects all work fine and I can insert a single row or update a single row. However, the insert and updates both return errors. VISION: Cannot update [TABLE NAME],Temporary log errorState: S1000; Native: -22; Origin: [TOD][ODBC][GENESIS] I get the same sqlstate and native error for all the statements, all having to do with a temporary log error. Any assistance with this would be so greatly appreciated! #AcuXDBC#SQL
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
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.