Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I need to list records from an isam file (not datasource) when 'LIST' is selected on the Navbar.Once listed it needs to be responsive so that a record can be selected.Do I use Datagrid, ListView or DataView? Examples would be very helpful.Many thanks
I have an INT/GNT project in Visual COBOL / Visual Studio. If I choose the "Oracle Pro*COBOL" preprocessor in the SQL tab in Project Properties and then click on the Add button, I notice that the options available are not the same as the options presented in the "Pro*COBOL Programmer's Guide 11g Release 2" (https://docs.oracle.com/cd/E11882_01/appdev.112/e10826/title.htm). The CONFIG and SQLCHECK options e.g. are not avaible in Visual Studio.But if I enter these two options directly in the cblproj file they will be accepted by the compiler. And if I right-click on the project in Solution Explorer and choose "Determine directives", the SQLCHECK option will be added.What is the logic behind this?
Can anyone recommend which is the best framework to use for building a website with Visual Cobol. So far I've looked at Bootstrap but would welcome any other suggestions.Many thanksShirley
Has anyone done this, or can give me a good example of using .NET Assemblies in AcuCobol. Thanks
I recently updated my Windows 10 PC, and now I can no longer double click in any of my List boxes that are created in our software.I am currently running RM/COBOL version 12.12Anyone have any ideas on how to fix this? I'm afraid if this is happening on my PC, that it will also do this on our customers PCS as well.
I have a project where there are embedded SQL and XML as well. When I add "$set preprocess(prexml) endp" at the top of the cbl file or add the Micro Focus XML Preprocessor in Project Properties - Preprocessors and make a rebuild, the build process seems to get hanged. The Output window keeps adding these lines until I cancel the build process:------ Rebuild All started: Project: IntGntProject1, Configuration: Debug x86 ------* Cobsql Integrated Preprocessor* Compiling c:\\jens\\visualcobol\\IntGntProject1\\IntGntProject1\\K2281.cbl* CSQL-I-008: Invoking CP PreprocessorMicro Focus Embedded XML/HTML PreprocessorVersion a.b.cc Copyright (C) Micro Focus 1984-2018. All rights reserved.Micro Focus Embedded XML/HTML PreprocessorVersion a.b.cc Copyright (C) Micro Focus 1984-2018. All rights reserved. ...Anyone has an idea what's wrong?
Is it possible to create external stored procedures in DB2 LUW-environment using Visual COBOL?We are running SQL Procedures in our current setup but there is a demand for creating External Stored Procdures using Cobol. Mostly because Cobol is common knowledge where I work.I have done this before but that was in a zOS environment using a WorkLoadManager.Now I need it for Linux and DB2 LUW.From what I have read there are certain database auth you need and I have granted this.As default the load modules should be placed in /sqllib/function-directory of the database server. I have some issues putting load modules in the right directory but before I solve that it would be nice to know if anyone have succeeded in writing stored procedures in Cobol for a DB2 Linux environment.If there are documentation that I didn't manage to find, please point the direction, but info from someone who actually did it is even better.regardsPeter
Hi,I have to communicate with an ID document scanner to get the data that will be read by it. I have to send a request with certain parameters and receive the data through an xml file.The parameters to send are the ones belowI have an example in C # and, according to the debug I did, it seems to me that the instructions for the request are these:System.Threading.Thread workingThread = new Thread(ScanWork);workingThread.Start(parameters);I still can not figure out how I get the answer but I'll try to figure it out. In the meantime I ask for your help once more.Best regards,Alberto Ferraz
I'm using mainly the INT/GNT project type in Visual COBOL and I'm planning to upgrade from Oracle 11g to Oracle 12c. But since INT/GNT requires the 32-bit Pro*COBOL compiler and the only 32-bit edition among the 12c editions is the Client Edition, I'm planning to install the 64-bit Standard Edition (including the database) and the 32-bit Client Edition (including Pro*COBOL).What do you think of that?Am I wrong in that INT/GNT requires 32-bit Pro*COBOL?
Problem I would like the .class file produced by the JVM compiler (cob -j) to be output to a different directory rather than be placed in the same directory as the source file. Solution You can use the command: cob -j -C iloutput\\"/home/project/bin\\" program.cbl Note: The directory /home/project /bin must already exist. #JVM#compile#class#directory
Problem. I use the PuTTY terminal emulator and when I try to use the function keys whilst animating a program they do not work as they should. In particular the F2 key should toggle between the program code and the program output, but the key press has no effect at all. Solution. In PuTTY configuration, select Terminal ->Keyboard and note that the default setting is ESC[~. This needs to be changed to VT100 . The anim function keys will then work as expected. #functionkeysanimatePuTTY
For Net express 5.1, I am getting some issues while project setup.1: When I am doing BUILD ALL(Generic Release build) it creating all .obj and .idy files for cobol programs and build is working fine but it is not making .exe file for project in my release folder.2: For Generic Debug build options,Build all is again working fine and it is creating intermediate and idy file correctly but somehow I am getting issues for "Illegal issues in numeric field" . The same program and build is working fine in other machine.I dont know what I am missing in setup that is why I am getting issues?Can anybody help me out?@netexpress5.1
HiHis there a way to have a list of program in memoryThank you
Hi all,we have occasionally a "memory access violation" message in a client's computer when sending a file for printing. File is a retail shop invoice sent to a small thermal printer.code is the following:SELECT PRINT-FILE ASSIGN TO WS-PRN-NAMEFILE STATUS IS STATUS-PRINT....FD PRINT-FILELABEL RECORD IS OMITTED.01 PRINT-REC PIC X(132).We call the win$printer routine, set the printer name and move "-P SPOOLER-DIRECT" to WS-PRN-NAME Then:OPEN OUTPUT PRINT-FILEWRITE PRINT-REC FROM DATA-ITEMS AFTER ADVANCING 1WRITE PRINT-REC FROM DATA-ITEMS AFTER ADVANCING 1...CLOSE PRINT-FILE We are getting the "memory access violation" message on the close print-file command.This happens once or twice a day, but not every day.Exact message is : "Memory access violation on 001FA5"With the help of debugger:001F9C CONTINUE001F9F CLOSE PRINT-FILE001FAA CONTINUEVersion is 10.1.1 Thanks in advance.  
actuall using Merant Micro Focus 3.1.11. Before Object COBOL V3.4.Now I get following "error": 66 accept taste timeout 1012-S*************************** Operand TIMEOUT is not declared PLEASE HELP ASAP. Thanks #accepttimeout#netexpress
I am having trouble importing data from a table in a RM/Cobol database using the Relativity (32 bit) driver(s) into an SQL Server Database table. The source data has bad data in it and it will not let me select the data when a field with the bad data is included. I am getting the 2 errors shown below. In both cases I am trying something similar to: SELECT * FROM OPENQuery([GROSSMAN],'Select TrustID,CONVERT(Property_RangeCD,SQL_CHAR) from Properties') I am currently just trying the select query before trying to even insert it into a table. OLE DB provider "MSDASQL" for linked server "GROSSMAN" returned message "[Liant][Relativity][SimbaLNA][Liant][Relativity Server]Expression evaluation error.".OLE DB provider "MSDASQL" for linked server "GROSSMAN" returned message "[Liant][Relativity][Client][SimbaLNA][Liant][Relativity Server][CRDM]Day-of-month value is out of range (column Property_AcceptanceDat
I'm new to Visual COBOL and trying to figure out how to use (1) Project Properties, (2) Tools / Options / Micro Focus / Directives, (3) the $SET command and (4) the Application.Config file correctly.The only project type I'm working with is INT/GNT. I use Visual Studio 2017 on Windows as IDE. I use Oracle's Pro*COBOL precompiler.Here are some of my questions and thoughts.1) By default VC seems to read the pcbcfg.cfg file in the [oracle]/precomp/admin. If I would like to have different cfg files for different situations, where do I put the directive to point to the cfg file I want to use?2) In Project Properties - Application there is an Environment button. If you click on that you can enter differents settings. When do you want to do this and when will they be used?3) In Project Properties - SQL there is an Add button for adding directives for the chosen preprocessor. But there is a textbox for "additional directives" as well. What is the difference?4) In Project
I am using micro focus visual cobol 4.7 ; when using a program with a copy statement with a directory path (for example copy "P1K/ENDDATE/date.cpy" ) the debugger does not open this copy in de debugger mode when arriving at the copy statement . If I use a copy statement with no directory path (for example copy "convert.cpy") the debugger opens the copy perfectly. However the program is correctly compiled with no errors. What could cause this problem of not finding copy with directory path?,
Hi together,I'm trying to make a new C# Application and execute existing Cobol Code. My problem now is:If i create a Cobol solution in Visual Studio and set the Output type to "Link Library", i can compile it to a .dll file, but couldn't add this file as a reference in my C# solution.Error: Make sure that the file is accessible and is a valid Assembly or COM-Component- set the Output type to "Class Library", i get lot of Errors. For example:Error: COBCH0860 Object references must be specified at 01 level ...Unknwown types; Redefines on incorrect field; Not a data name ...Does anyone know how i can compile existing code files and import it to my new Application or fix my Problems above?
About this webinar Join the Micro Focus COBOL product team for a closer look at the latest release of its distributed COBOL solution—Visual COBOL. Hear what’s new in version 5.0 and how to best leverage API development and DevOps in the Cloud. Have your questions ready for the product team as we explore the next generation of COBOL development in the Cloud. Live online: Jun 26, 2019 Presented by: Ed Airey and Scot Nielsen, Micro Focus Register here. #COBOL#Appdev#API#VisualCOBOL5.0#VisualCOBOL#DevOps#Webinar
I've seen in this forum it should be possible to have multiple projects in one solution and to merge these projects into one single output INT or GNT file. I think I saw the term "project-to-project" somewhere.Does anyone know how to achieve this? I have a solution with four INT/GNT projects which I would like to merge into one single output file.
Using Extend 9.1.1 on Windows, we have a customer with many workstations and thin client; one workstation drops the thin client connection repeatedly (many times a day). The customer has changed the NIC, changed the cable from the workstation to the switch, run diagnostics on the computer, and are convinced the problem is "somewhere else".The windows error shows:Faulting application name: acuthin.exe, version: 9100.1000.1.61813, time stamp: 0x4f31a09fFaulting module name: atermmgr.dll, version: 9100.1000.1.61813, time stamp: 0x4f31a2b5Exception code: 0xc0000005Fault offset: 0x0000638cFaulting process id: 0x165cFaulting application start time: 0x01d50c308fc28331Faulting application path: C:\\RxU-Workstation-9\\acuthin.exeFaulting module path: C:\\RxU-Workstation-9\\atermmgr.dllReport Id: 2fc38603-7824-11e9-a2ff-a0cec8d0ca99We believe the underlying problem is still network-related somewhere, especially as the other 10 workstations on the network do not have any problem
We have a Vision indexed file with record length of 100010. When we create an XFD using Version 6.10 (Windows), for use with AcuODBC (yes, we know it is discontinued), we can use Alfred to view the file, but using the same XFD with Excel results in:DataSource.Error: The table has no visible columns and cannot be queried.Details:omrawThis is the same error that occurs if the file itself does not exist (but it does in this case).Is there a limit on record length with AcuODBC and/or Extend version 6.10? This is just one file of many, and all other files work just fine with the XFD generated the same way and with the same version of Excel, etc. ThanksTony
I need to pass array from Native Cobol to C# COM object. When I am passing only single string or number it's working. But with array I got error message: **Exception 65537 not trapped by the class oleexceptionmanager. Description: "Server defined OLE exception"(80070057): The parameter is incorrect.I think that I must somehow differently declare array in Cobol part?Cobol code:$SET DIRECTIVES (SBODBC.DIR) NSYMBOL"NATIONAL" $set ooctrl( p) identification division. program-id. pokus444. special-names. environment-name is environment-name environment-value is environment-value decimal-point is comma. class-control. ChkAccNum is class "$OLE$CheckAccountNumber.AccountNumbers". working-storage section. 01 ChkAccNumObj object reference. 01 accA. 05 acc pic x(34) occurs 100. 01 accR pic x(34). procedure division. main section. display "Zacatek programu" initialize accA accR move '1234567890' to acc(1) move '0987654321' to acc(2) invoke
Has anyone run into a problem with 10.2.1 programs using "sections". I can compile on version 10.0.1 and the program works fine. I compile the same program with 10.2.1 and it "Falls Thru" past the next section and crashs. I took out all "sections" and changed to xxxx thru xxxx-exit. exit and it works fine..
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.