Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hello, I am currently working on a Unix server (Redhat 8 and AIX 7.3) to compile Cobol programs by using Micro Focus Cobol V8.0 . To compile these programs I use the 'cob64' command line. When there are errors in source code, I get this kind of log (for AIX) : *===============================================================** Micro Focus COBOL V8.0 revision 000 Compiler* (C) Copyright 1984-2022 Micro Focus or one of its affiliates.* REF GNR-078800000AM* Total Messages: 1* Unrecoverable : 0 Severe : 1* Errors : 0 Warnings: 0* Informational : 0 Flags : 0* Data: 1546 Code: 0------------------------------------------------------------------------------------------------------------------------------------------------ THROW ERROR HERE* 71-S******** **** PROCEDURE DIVISION missing or unknown statementcob64: error(s) in compilation: TESTERR.pcbTESTERR.pcb - ERREUR DE PRE-COMPILATION COBOLI want to retrieve the line where the error occurred but I don't understand where to find it. The on
in sql management studio i can use following command: use lohn;godeclare @loc_zahl as intset @loc_zahl = 0if not exists (select * from sys.objects where object_id = object_id(N't_svdata') and type in (N'U'))begin raiserror('t_svdata existiert', 16, 1)end/* select * from t_svdata */select @loc_zahl = count(svd_schl) from t_svdataif @loc_zahl > 0 delete from t_svdata/* drop table t_svdata */goselect * from t_svdatago but when i use this in vc, the declare will not be accepted. How to declare a unique variable? Is there a precompiler or debugger to debug the mssql commands in a cobol program here the cobol statement: EXEC SQL use lohn /
Hi, Good Afternoon!!! Need Help for the below Errors while compiling a RM COBOL With Visual COBOL. I am trying to CONVERRT the RM Program into Visual COBOL Version USING the Microfocus as Dialect. I am getting the below Compilation error for one of my Program. And seems the RM Statement is not accepted in Visual COBOL. Here is the code :- WS-ACCEPT-LAST LINE WS-CRT-BEG-LINE POSITION 13028600 PROMPT ECHO. And The error is :- COBCH0012S Operand ECHO is not declared YYYYY.cbl /CBL_RTE line 328 COBOL Another issue :- DISPLAY DISPLAY-HEADER-1LINE WS-CRT-BEG-LINE POSITION 1 REVERSE. Error :- COBCH0012S Operand REVERSE is not declared YYYY.cbl /CBL_RTE line 522 COBOL Thanks !!
Micro Focus Visual COBOL version has recently been upgraded from version 6.0 to version 7.0 for our product. In version 6.0, we had the patch 18 changes. We need to confirm if we need to add patch 18 after upgrading to Cobol version 7.0. Will Micro Focus COBOL version 7.0 include the patch 18 changes?#Microfocus#MicroFocusVisualCobol#VisualCOBOL
I am getting the following error when attempting to display a screen in Visual COBOL: 114 attempt to access item beyond bounds of memory (signal 11). I read the article at the following link: https://community.rocketsoftware.com/discussion/causes-of-114-attempt-to-access-item-beyond-bounds-of-memory-error#bm5f1a6939-d93a-4e25-8a5a-bef747adc13d The article suggests a possible solution by allocating memory. However, I do not understand their description of how to do this. I am using Microsoft Visual Studio 2022 with Visual COBOL version 9 on Windows 10. This problem does not occur with my previous version of Visual Studio and Visual COBOL. These versions are, respectively, Visual Studio 2019 and Visual COBOL version 5. Thanks in advance for your help.
Hello, i try to read user information from the ActiveDirectory with OleDB. Most work already. But currently i have problems to get the Data when the User Password will expire. The Data is saved in an integer8 field but i don't get the expected value in my code here. in @fields::@item("msDS-UserPasswordExpiryTimeComputed")::valuein hlp-test4I should receive for my user for example the value: 133494369554492556But i get only 7624I tried several things.Cause it is an integer8 value it should be declared as s9(18) comp-5 but here is also the value 7624.Has anyone an idea how to get here the correct value? Or what 7624 is, that i can work with this value?Regards David Neidinger #AcuCobol
We are getting this error with our application running on RHEL 8 linux. ? Any idea?
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
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.