Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
We have a grid where we on at numeric column would like to use BLANK ZERO. If we change it manually in the Working Storage and not build the program. And then compile the program. Then it works. But is'nt possible to make it, so we can build the program and the compile it?
Hi,We have the exact same data.bin file including binary data on an HP-UX machine and a RedHat Linux machine. HP-UX(big-endian): smppru@bayyana:/cralm/simep/prue/Arquitectura/testreadbindata> od -x data.bin | head -1 | nl1 0000000 0fcc 0000 00bc 0000 f1f6 f4f4 8030 0198 Linux RedHat(little-endian): int-cob-d-01u:/cralm/simep/prue/apps/testreadbindata>od -x data.bin | head -1 | nl1 0000000 cc0f 0000 bc00 0000 f6f1 f4f4 3080 9801 I have created a Cobol program that retrieves two of these binary data in COMP-5 variables and displays them on the screen, thus being able to verify that the binary data is interpreted differently on the HP-UX(big-endian) and Linux(little-endian) platforms.The code of the executed program is exactly the same on both the HP-UX and Linux platforms: 1 IDENTIFICATION DIVISION. 2 PROGRAM-ID. testreadbin
Due to an equipment update I have to reinstall my RM/COBOL85, I have the installation package and the .lic files. I get the activation code from the web but when loading it in the installation it gives me the following error. Please enter your activation code: fail dead city nailLicVerify: error activating licenses 0xc1000015 (The activation code has expired.)Please enter your activation code: I have not exceeded the 24-hour validity period. Is it possible that .lic files have a validity time?#error#COBOL#Installation#RMCOBOL
When creating a table, DBCONNECT will move key values to the top of the row. For example a file definition of; select MyTable assign to "MyTable" lock mode is manual organization is indexed access is dynamic record key is MyKey with duplicates file status is MyStatus. ****************************************************************** data division. file section. fd MyTable. 01 MyRecord. 03 MyField1 pic 9(5). 03 MyField2 pic x(3). 03 MyField3 pic 9(5). 03 MyField4 pic 9(5). 03 MyField5 pic 9(5). 03 MyKey pic x(3). Will generate a table that looks like this; My question is; Why does DB connect do this and if i create a table outside of DBCONNECT, do i need to ensure keys are at the top of the table? Thanks in advance for any help
When I try to install version 8.0 on windows 10, I get [6E4C:1EB4][2022-09-13T17:38:06]i052: Condition 'ignorechecks="1" or (VersionNT64=v6.1 AND ServicePackLevel>=1) OR VersionNT64=v6.3 OR (VersionNT64=v10.0 AND Windows10Build >= v14393)' evaluates to false.[6E4C:1EB4][2022-09-13T17:38:06]e000: Error 0x81f40001: Bundle condition evaluated to false: ignorechecks="1" or (VersionNT64=v6.1 AND ServicePackLevel>=1) OR VersionNT64=v6.3 OR (VersionNT64=v10.0 AND Windows10Build >= v14393)[6E4C:1EB4][2022-09-13T17:38:06]i199: Detect complete, result: 0x0 my windows 10 version is 10.0.19044.1889 Version 21H2 (November 2021 Update) The version is well above Version10Build v14393. Edition Windows 10 Pro NVersion 21H2Installed on 2022-06-15OS build 19044.1889Experience Windows Feature Experience Pack 120.2212.4180.0 How do I install the required software so that i can continue with VS2022? #V
Visual COBOL 8.0 supports the new OpenESQL SQL Error Mapping feature. This feature enables you to customize how error information is returned to the SQLCODE, SQLSTATE, SQLERR and MFSQLMESSAGETEXT fields in your application. This is done by replacing the values normally returned by both OpenESQL and your database with values you specify. This feature is useful when migrating applications between different databases, and when your application logic depends on receiving specific values for error and warning conditions. Please see the product documentation here:#NewRelease-Feature#VisualCOBOL#OpenESQL#VisualCOBOL#SupportTips/SupportTips/KnowledgeDocs#SupportTips/KnowledgeDocs#sqlcode#SQLerrormapping
Good Morning. I am trying to download Visual COBOL for Eclipse Personal Edition - Windows and I get the following error message\\nError: Server was unable to process request. ---> Error calling a server task.
Hi, I am using Net Express 3.1. Dialog System gives C++ error on my Windows 11 computer. I get this error when I want to create a copybook. The same problem occurred when migrating from Windows 7 to Windows 10. The problem was fixed with later Windows updates. Has anyone encountered this problem? Is there a solution to the problem? Thanks in advance for your help.#error#dialogsystem#netexpress3.10
Problem: Why do I need an Activation Code? Resolution: Many of our products require an activation code when installed more than 6 months after purchase. Normally, this code is retrieved automatically if the system can connect with activate.liant.com. However, all Evaluation versions require an activation code that must be obtained manually. If the system cannot retrieve a valid code automatically, the LSRV: number, serial/registration number, a list of 4 four letter words known as a "machine digest", and a message directing you to obtain the activation code manually will display. To obtain the activation code, bring up your browser and enter "activate.liant.com" (without the quotes). Enter the required information. The activation code will be sent via email. If there is a problem with retrieving the code, which is another list of 4 four letter words, please contact support@liant.com for assistance. Activation codes are good fo
Hi, VS Enterprise 2019 (v.16.11.5) VC 7.0.00248 SN I am compiling one of my .pco files and I get the following Output: ... error COBCH0641 : '.' missing following procedure name declaration, or unrecognized verb ... In the Error List I get loads of errors (strangely, other .pco files appear also) When I doubleclick on the error in the Output window, VS puts me on the last line (2576) of the program. I can see the red ‘wave’ on line 2576 but that is not helping me. I also tried to Show All Copybooks but the red ‘wave’ is still on line 2576 . When I doubleclick on the error in the Error List window, VS puts me on line 1753 for some reason. I never touched the .pco file, I only changed 1 .cpy and 2 .cob files. These .cpy and .cob files are used in other programs and they compile fine. How can I get to the exact line where the compile error occurs ? I really don’t see what is happening here. Can anybody help me ? Thanks! Kr, Stefan
My goal is to access a method in C++ or C# .dll file. I have performed the following in C++,however unable to get the expected output. 1. Created a C++ Sample.dll to display "Hello World" on the console.2. Release Sample.dll and Sample.lib into my COBOL working folder.3. Accessed the .dll and the method from AcuCobol program using CALL.4. Didn't show any exception while accessing the .dll or the method.5. However "Hello world" is not getting displayed.6. Also, how to pass a value into a function in the .dll and return the processed value. Please advise. Thanks, Aji Cherian
Does anyone have a sample COBOL program that can open COM1: serial port#COBOL
>>IMP(ACU-CBLFLAGS=-Sa) * c:\\ken\\testfiles\\axdefgentest.def - OLE object definitions for * This is a 32-bit object * Generated by axdefgen version 10.0.0 * Generated: Tuesday, August 30, 2022 * Typelib..: c:\\ken\\testfiles\\axdefgentest\\axdefgentest.tlb OBJECT @axDefGenTest * IAxDefGenTestUtilities CLASS @IAxDefGenTestUtilities CLSID 8294F9BB-F524-4578-8F60-8F191F075B9E NAME "IAxDefGenTestUtilities" *[Class: @IAxDefGenTestUtilities] SetMsgTitle METHOD, 1610743808, @SetMsgTitle, "BSTR" @val, TYPE 8 RETURNING "long", TYPE 3 *[Class: @IAxDefGenTestUtilities] GetMsgTitle METHOD, 1610743809, @GetMsgTitle, "BSTR*" @val, TYPE 16392 RETURNING "long", TYPE 3 *[Class: @IAxDefGenTestUtilities] SetMsgBody METHOD, 1610743810, @SetMsgBody, "BSTR" @val, TYPE 8 RETURNING "long", TYPE 3 *[Class: @IAxDefGenTestUtilities] GetMsgBody METHOD, 1610743811, @GetMsgBody, "BSTR*" @val, TYPE 16392 RETURNING "long&q
You can determine the PMK (Port Machine Key) for a Unix/Linux Acu/Extend product by requesting extended version information. This can be done using the -vvv flag with the runcobol command, as described here: https://community.rocketsoftware.com/discussion/runtime-identifying-the-version-of-the-runtime-being-used#bm09b85089-ff36-442a-81ca-50b7237834e3 When runcbl -vvv is executed, one of the pieces of information displayed is the PMK. For example: port_machine_key='59'. Another option that can work is to execute the following command from the bin directory beneath the Acu/Extend product installation: cat ../lib/Makefile | grep PMK #SupportTips/KnowledgeDocs#extend#SupportTips/KnowledgeDocss/KnowledgeDocs#AcuCobol
when runing C programe that calls COBOL program on sunsolaris 11.4 with COBOL 7 patch 10 getting the following error Calling dcs_gb_csm_Load error : file 'mptrx_hndlr'error code: 173, pc=0, call=1, seg=0173 Called program file not found in drive/directory Any help?
Anybody using Mailjet to send emails? I would appreciate your insights if so. I'm following Mailjet's recommendations to use Marshallsoft's seeAttach and seeSmtpConnect with the parameters they specify. Server is in-v3.mailjet.com and port 587. seeAttach works but connect fails. Various different error messages. Failure to connect or socket write error (socket 2032) are the commonest. The log reports attempting to connect to port 25 (RemotePort 25). I tried using seeTestConnect as well. That worked, but seeSmtpConnect still didn't. I know this is not much detail, but maybe somebody has done this before and knows how it works. I'm new to using Mailjet. Thanks. Michael
The new intrinsic functions TEST-DATE-YYYYMMDD and TEST-DAY-YYYYDDD introduced in Visual COBOL 7.0 are missing from the Intellisense list when typing the keyword FUNCTION. Full article: https://portal.microfocus.com/s/article/KM000010119#SupportTips/KnowledgeDocs
When hovering on a data item that has been referenced more than 254 times, the reference count shows 254. Full article: https://portal.microfocus.com/s/article/KM000010128#SupportTips/KnowledgeDocs
When data items are used in CALL statements, the reference count for these data items is incorrect. For instance, hovering over ws-pgm in the following shows 3 for the reference count instead of 2: working-storage section. 01 ws-pgm pic x(3) value 'xyz'. procedure division. call ws-pgm call ws-pgm Full article: https://portal.microfocus.com/s/article/KM000010122#SupportTips/KnowledgeDocs
The following issues occurred when using Database Connectors with a primary key allowing duplicates: Rewriting or deleting a row sometimes affected more than a single row Executing READ followed by READ NEXT returned the wrong record. Full article: https://portal.microfocus.com/s/article/KM000010086#SupportTips/KnowledgeDocs
This article details how to redefine the numeric value of a pointer field in COBOL avoiding numeric overflow in the numeric redefinition field. Full article: https://portal.microfocus.com/s/article/KM000009980#SupportTips/KnowledgeDocs
We have project which involves sending text to customer display pole, has anyone out there worked with this type of device? If so, I sure could use that source code/
Is there a command to delete a folder\\directory with sequential files in it?
Good mornig again. we continue with other kind of errors when compile with visula cobol v7. In this case the error become when there are EXEC SQL and END-EXEC are in upper case and there is also only 1 space between the words END and DECLARE The code of the program is : identification division. program-id. desacomp. author. arquitectura. date-written. date. ****************************************************************** * Programa de prueba para fallos de compilacion * ****************************************************************** environment division.
Good morning. My organization is in the process of upgrading from Visual COBOL 3 to Visual COBOL 7. We works with VC for eclipse runing on UNIX. When we are compiled the programs this error appear CSQL-F-026 The code of the program is : identification division. program-id. desacomp. author. arquitectura. date-written. date. ****************************************************************** * Programa de prueba para fallos de compilacion * ****************************************************************** environment division. configuration section. special-names. decimal-point is comma. input-output section. &nb
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.