Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Got unhandled exception ('Cobol runtime code :253') occurred in [20452] cblxecwm.exe. Need solution.
Hi, we have found a different behavior between a program compiled with VC 3.0 and VC 8.0 In both compilations whe have set default_cancel_mode=0 (Physical cancels: any program canceled during run-time will be freed from memory, making more memory available.) in the cobconfig file but, In VC 3.0 we can access the addresses of a variable of a program that has been canceled, but in VC 8.0 we cannot. How is this possible? Was there a bug in version 3? According to the documentation the default_cancel_mode appears in Visual COBOL 2.3 release Is there a compiler directive in VC 8.0 that allows us to access the addresses of a variable of a program that has been canceled as in VC 3.0, but that frees the memory?
My legacy code generates a lot of long reports targeted at printers that used mono-spaced fonts to get all the column alignments right. Usually this was Courier. I would rather print to PDF as most of these reports are reviewed and disposed of almost immediately. I am moving the system to Windows and have found that I can print to PDF using the built in "Microsoft Print to PDF" driver. The problem is that they print with a proportional font and the columns don't line up and a few characters on a few lines go off the right side of the page. I would guess the font is Arial. Is there a config file that I can edit/create to change this font? I know there are 3rd party tools that bring in a whole slew of additional features, but that would require me to review and edit dozens of reports. Thanks, Brian
Ao executar um subprograma ("CALL") ao ler um arquivo indexado onde a chave é um registro funcional a execução é interrompida. O mesmo programa é executado no COBOL versão 4.1 sem problemas. Já foram analisados o registro do arquivo (não está corrompido), abertura do arquivo, parâmetros. Alguém teve algum problema semelhante? MOVE PAR-EMPRESA TO A-EMPRESAMOVE PAR-CODFUN TO A-CODFUN READ ARQUIVO INVALID KEY &nb
I need instructions for migrating a Core built in 32 bits to a new architecture in 64 bits. On the current platform there is interaction between Cobol, Dialog System and CCI. We have new Suse 15 servers at 64 bits, we installed Cobol Server Version 10 at 64 bits, we installed a machine for Visual Cobol 10 development at 64 bits, the interaction with MFSD was activated through a graphical interface (browser) achieving the CCI connection, the CCI architecture and the existing Core were passed, it was compiled to 64 bits and the functionality of this implementation is being tested. The indication for which I request support is in reference to the CCI data or tables. The current error is related to the tables that are created and in use at 32 bits. These cannot be accessed by programs compiled to 64 bits. Should I upgrade these tables from the native 32-bit environment to deploy them in the new 64-bit environment? Or if I copy them from the old 32-bit environment to the new 64-bit environm
I am trying to get acucobol to connect to my local database and execute an embedded procedure. When i try this the ODBC Driver returns;"Optional feature not implemented"I am using sqlexpress 2016I have attached a zip file with an example program, screen shots of the DNS configuration and my database.Any help is greatly appreciated community.microfocus.com/.../question.zip#SQLserver#ODBC#AcuCobol
I am moving a bunch of programs from Unix to Windows and have found that there is a 130 character limit for the using keyword vs 250 on Unix machines. That is randomly breaking things. Is there some workaround for this? Brian
I didn't find Visual COBOL Development Hub in the list of product to download since 8.0 version. Why ?
Hi, I created a new project under the following platform: Windows Forms Control Library(.NET Framework). It comes with a template code. I want to run the application before I add any new code but I encounter the following error: "A .NET project with Output Type Class Library cannot be started correctly. In order to debug this project, add an executable project to this solution which references the library project. Set the executable project as the startup project "I do not know how to make the changes that the error messages suggest that I make to the project. I am including screenshots with this discussion.
Hello there, we are currently migrating from Visual Cobol for Eclipse 7 to Visual Cobol for Eclipse 9. A few users of our users have already installed the new Version Visual Cobol for Eclipse 9 (PU 04) under Windows. Some of our users experienced the error "Problem occured: 'Debug Source Display' has encountered a problem. An internal error has occured - Null argument" while debugging. While Debugging, a window pops up with that error message, and after closing the error-window, no more Cobol sources nor Cobol copies are displayed, but the debugger is still attached. Eclipse then asks for cobol copy (ALCTRCMA.cpy), which should be familiar, because it is already known to the project. The error window itself pops up, after taking a few steps (F5) in the Remote Debugging perspective. I attached a screenshot of the issue in question. At the top you can see the error in the Debugging perspective. Then a new window pops up if I want to select a new context (doesn't help). At the bott
Hola, quisiera saber como descargan visual cobol, ya llene el formulario de Rocket Software sobre que se pondrán en contacto conmigo pero no me llega nada de informacion #Announcement
Greetings Micro Focus Community! We use RM/Cobol with the WOW Extension Designer. There are three functions that are pretty commonly referenced in our applications called WOWSETPROP, WOWGETPROP, and AXDOMETHOD. I see they use a variety of parameters/methods like 'SortColumn', 'ListIndex', 'Text', etc. Does anyone know if there is documentation out there for all of the available parms for WOWSETPROP, WOWGETPROP, and AXDOMETHOD?
Hi All, We are migrating our 32-bit application from Solaris to RHEL 8.8. We are using Enterprise Developer 6 and planning to upgrade it to 8 once the migration is completed with the same configuration as in Solaris. We are running Cobol program which reads table data and prints accounting extract with credit and debit summary after compiling the Cobol programs in RHEL environment. We are facing rts32 : Error 114 encountered during finalization error when running the .gnt but it is working fine when running with .int. In both the cases Output extract is getting generated successfully and program is not stopping abruptly. In animator we are not getting this error We are using the same compile scripts in both the platforms, we have not changed any settings cobrun /tlcapp/bin/<program_name>.gnt --> Output file is getting generated as expected but getting error as rts32 : Error 114 encountered during finalization cobrun /tlcapp/bin/<program_name>.int --&g
I am trying to convert a .png file into binary code in Visual COBOL. Here is what I have IDENTIFICATION DIVISION. PROGRAM-ID. ImageToBinary. ENVIRONMENT DIVISION. INPUT-OUTPUT SECTION. FILE-CONTROL. SELECT IMAGE-FILE ASSIGN TO 'image.jpg' ORGANIZATION IS LINE SEQUENTIAL. DATA DIVISION. FILE SECTION. FD IMAGE-FILE. 01 IMAGE-RECORD PIC X(1024). WORKING-STORAGE SECTION. 01 WS-END-OF-FILE PIC X(1) VALUE 'N'. 01 WS-BINARY-DATA PIC X(1024). 01 WS-IMAGE-BUFFER PIC X(1024) OCCURS 100 TIMES. 01 WS-BUFFER-INDEX PIC 9(4) VALUE 1. 01 WS-IMAGE-SIZE PIC 9(9) VALUE 0. PROCEDURE DIVISION. BEGIN. OPEN INPUT IMAGE-FILE. PERFORM UNTIL WS-END-OF-FILE = 'Y' READ IMAGE-FILE INTO IMAGE-RECORD AT END MOVE 'Y' TO WS-END-OF-FILE NOT AT END MOVE IMAGE-RECORD TO WS-BINARY-DAT
Is it possible to write COBOL code that will print text (not on the screen but to an actual printer) in a specific font. For example, is it possible to write code that will print to my printer the line “Test 1” in sans-serif or in any other font that I choose? I am able to print bold text on my printer with the WRITE statement, but I simply do not know how to print text in a specific font with a COBOL command. I am using Visual COBOL v9 on a Windows 10 pro. Thanks in advance.
I am developing a COBOL application that will print checks. The application creates an .asc file containing the HP PCL printer language with all the information, including font type and size, that will be printed on the check. However, I am having a difficult time with the routing and account number line. More specifically, I am unable to print the routing and account number in the IDAutomation MICR font, which is the standard font used to print the routing and account number on checks. It instead prints in regular font. I should mention that I print the .asc file through File\\print in Notepadd++ and not through the COBOL application. To be clear, the font is installed on the computer, and I am able to print a word document with said font. Here is what the .asc file containing the PCL code for the IDAutomation MICR font looks like: <ESC>(s1p10.0h12.0v0s0b24700T 12345 <ESC>(10U<ESC>(s0p12h12.0v0s0b0T Explanation of the code: <ESC>(s1p10.0h12.0v0s0b
I installed Micro Focus COBOL for Visual Studio 2022. Everything is working except for when I push the enter key in a COBOL file. I get an error popup that says "The operation could not be completed. Unspecified error." I have reinstalled COBOL but the issue is still persisting.
Hi! I have a WPF datagrid in my program, which has an check box in it - <DataGridTemplateColumn Header="Active?" Width="100" > <DataGridTemplateColumn.CellTemplate> <DataTemplate> <CheckBox x:Name="PP_ACTIVE" IsChecked="{Binding XPath=@active, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" /> </DataTemplate> </DataGridTemplateColumn.CellTemplate> </DataGridTemplateColumn> I am reading data from a file that needs to set the check box if the field in the data is set to "X". How do I do this? The SetAttributes command only works for String fields, and the CheckBox is a a Boolean field. 01 PAYPLAN_DG_XDOC type System.Xml.XmlDocument value new System.Xml.XmlDocument(). 01 DG_ITEM type System.Xml.XmlElement. SET DG_ITEM TO PAYPLAN_DG_XDOC::CreateElement
i have download today visual cobol 10. by compiling my programs without errors on Visual Cobol 9, i become now the error COBCH0314 - illegal key on datio.cpy may be the command "start Datei key not less DATEI-Key0 or "start DATEI key not greater DATEI-Key0 Where can i found if there are new service packs for Visual cobol? is this a bug? no Problem with Netexpress 5.x or vc8 or vc9 thanks for help
i had try to convert a netexpress5.x project with vc10 to obtain a sln file This give me at end a empty project without all *.cbl and copybooks When i convert this with vc3 to vc9, there is not a problem cg
Hello, I'm trying to migrate an application from Visual Cobol / Linux / Oracle to Visual Cobol / Linux / Postgres. Visual Cobol use openEsql to precompile sources with SQL, and need to used ODBC driver to connect to postgres database. But i've got this error : ORDER : OPEN CURPARMODMESSAGE SQL : ERROR: column eg_parmod.oid does not exist; I work with PG13. Do i need to change my database physical model ? Who needs oid ? OpenEsql ? ODBC (I use postgresqlodbc 13.02 driver) What is the solution to use my default database physical model ? thank you for your help. Laurent.
in the example i can see any changes in the syntax 1. colonconlonsyntax.cbl move 5 to v::x move 3 to v::y 2. localvariables.cbl declare result as numTd = ws-num1 + ws-num2 3. mergesort.cbl see arr::numbers-length, section with Parameters, declare 4. Parameterizedsection.cbl section with Parameter fibonacci section (n as binary-long) returning result as binary-long. i know this possibility from SAP ABAP, but never seen before in cobol is there a complete list of all changes on cobol syntax and the new possibilities? Thanks in advance cg
Hi, I have postgres installed in linux and have my dsn setup as below odbc.ini[db]Description = PostgreSQL connection to 'db' databaseDriver = PostgreSQLDatabase = dbServername = localhostUserName = dbPassword = passwordTrace = YesTraceFile = /logfilepathPort = actualportnumbr#Protocol = #ReadOnly = No#RowVersioning = No#ShowSystemTables = No#ShowOidColumn = No#FakeOidIndex = No#ConnSettings = When I am logged in as myself, [me@myip ]$ isql db db pass(from dsn) -v SQL> drop table test1;[08S01]Could not send Query(connection dead);Could not send Query(connection dead)[ISQL]ERROR: Could not SQLExecuteSQL> quit But when I am logged as root [root@myip]# isql db db pass(from dsn) -v SQL> drop table test1; is success OR just login with db without explicitly specifying username/pass [root@myip]# isql db -vSQL> drop table test1; is success SQL> SELECT rolname, rolsuper, rolcreaterole, rolcreatedb, rolcanlogin FROM pg_roles; +-----------
I am writing a program and i need to connect to an Azure Database to do inserts. Our db does not allow Entra account logins the program can be visual cobol or visual cobol .net which ever will work I am looking for a connection string.
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.