Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
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..
We are still on version 10.01 and need to call an API. If anyone has done this, could you please tell me how to go about it?Thank you for you help,Linda Praed
Our software uses a multiline entry field to allow customers to enter notes... similar to Notepad. They have requested the ability to use color and possible bold or italic fonts to make certain lines of their notes stand out. I know I can make all the notes a single color, or I can switch to a grid and do specific lines in color. But, I would like the ability of using a notepad entry (similar to this one) that has options to let them enter colors and change fonts, etc. Is the only option to use an external API? and what are some suggestions for that?
Does anyone know the maximum record length for AcuODBC version 6?
Problem: Trying to install COBOL Server on the same machine as Visual COBOL dev Hub in rpm formatted files resulted in errors: rpm -i --prefix=/opt/microfocus/COBOLServer cobol_server_4.0_redhat_x86_64.rpm error: Failed dependencies: Micro_Focus_visualcobol_devhub conflicts with Micro_Focus_cobol_server-4.0.0.0-186407.x86_64 Micro_Focus_cobol_server conflicts with (installed) Micro_Focus_visualcobol_devhub-4.0.0.0-186407.x86_64 Resolution: To have two RPM products installed at the same time. "nodeps" needs to be added to the following command. rpm --nodeps -i --prefix=/opt/microfocus/COBOLServer cobol_server_4.0_redhat_x86_64.rpm The “--nodeps” command allows two RPM products to be installed on the machine when the –prefix option is used. Otherwise it is blocked as seen.
Problem Is it possible to stop (break out of) the ZOOM function in character animation? Resolution Use the break key “CTRL C” to stop a ZOOM function and break out of it. It is not documented but has already been changed for the next release in Server Express 5.1 Wrappack 18. Documentation will show this: "You can break out of Zoom mode using the Break key combination".
Problem: When moving an application which uses ACU4GL for Oracle from one platform to another the application begins to output a message: Transaction error 17 which points to the statement START TRANSACTION. This error is not documented. What is the cause of this error? Solution: The transaction error 17 equates to "E_LOG_TEMP", and happens when vision attempts to open a transaction log temporary file and fails to do so. Check the setting of the parameters/variables 'LOG_DIR' and 'LOG_FILE' Does the directory specified in LOG_DIR exist on the system and does the user have sufficient permission to create/write files in that directory?Is the filename specified in LOG_FILE being created when the error occurs? In the case of a particular customer, the directory specified in LOG_DIR had not been created on the new system and this was the cause of the error. #TipfromSupport
Where can I find the "wish list" or "feature request list" for Visual COBOL? You, the place where people can describe a feature they would like to see and then other Visual COBOL users vote on whether they would also like to see it?One that I would like to see is the Application.config file working the way it does with Managed code and all of the other IDE's in Visual Studio, instead of whatever it is that is there now. It would be nice to have a config file that actually works as a config file, providing information to the program that is not available at compile time, "late binding" and can be transformed like the app.config in Managed code. #app.config#application.config#config
I have existing programs compiled using Net Express that I run from a shared folder on a file server and I have programs compiled using native Visual COBOL which I run from a shared folder residing on a COBOL Server. How do I run the native Visual COBOL programs on a computer where the user is also running Net Express programs? Since all of the runtime files are on the COBOL Server, can I run a batch file or something to set the PATH environment to run the Visual COBOL programs? When I try now I receive a message that says "The program can't start because api-ms-crt-runtime-l1.dll is missing" When I copy one of the 20 instances of api-ms-crt-runtime-l1.dll from another computer into my COBOL Server folder containing the EXE file, I receive a message saying "entry point ucrtbase.abort cannot be found in dynamic link library api..." How do I get the files that I need onto the COBOL Server? On computers that do not run Net Expre
Hi,Is anyone using Kubernetes with Acucobol that would like to share how it works? Also someone using Docker but Kubernetes is something growing very fast in the containers area.Regards,
Hello. I'm new to Cobol, but I'm experienced with Eclipse and programming at all. I'm using Visual COBOL 2.2 for Eclipse. Eclipse Standard 4.3.2, Windows 8.1. Default parameters for all programs. I'm learning simple programs, like "Hello World". All programs are text-based, nothing graphical. But I have one very common and strange situation. I change a few lines but Eclipse still runs old version of my program! Hypothetical Example: procedure division. Display "Please, enter the Price" Accept Price Compute Price = Price * 1.2. Move Price to Price-ed. Display Price-ed. &nbs
Problem : How to improve performance of Database Connectors when bulk loading data. Resolution : In the ACU configuration file, pointed to by the A_CONFIG environment variable. Set 4GL_COMMIT_COUNT=1024 Using 4GL_COMMIT_COUNT=1024 should increase performance when loading the database. Example ACU configuration file entries needed for bulk loading of data. DEFAULT_HOST=ODBC A_ODBC_DATASOURCE=mssqlrh7sup A_ODBC_LOGIN=SA A_ODBC_PASSWD=zx81rocks A_ODBC_LOCK_METHOD=SETSTMTOPTION 4GL_COMMIT_COUNT=1024 References : 4GL_COMMIT_COUNT configuration variable extend Product GuidesAcu4GL Version 10.2.1 User's GuideCompiler and Runtime OptionsRun-time Configuration Variables4GL_COMMIT_COUNT configuration variable A_DB2_ALTERNATE_COMMIT_LOGIC configuration variable extend Product GuidesAcu4GL Version 10.2.1 User's GuideAppendix F: Acu4GL for DB2Configuration File VariablesA_DB2_ALTERNATE_COMMIT_LOGIC configuration variable Record and Table Locking extend Product GuidesA
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.