Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
We were testing upgrading from 6.2 to 10. When running runcbl we get the message "sh: runcbl: Execute permission denied." The file is protected 777.When I do a file command:[d1::/opt/acucobol62/bin]grs20 test $ file runcblruncbl: ELF-64 executable object file - PA-RISC 2.0 (LP64)[d1::/opt/acucobol1001/bin]grs20 test $ file runcblruncbl: ELF-64 executable object fileDoes anyone know what this means. The version 10 file doesn't state the PA-RISC 2.0 part.
What means this message in the COBOL RTS terminating window:The Micro Focus COBOL RTS has detected an RTS error number 240, and has coredumped the process into i:\\adm\\prog\\cblcore (starting Directory)than a new error window:Execution error: file 'associtn' error code: 240, pc=0, call=1, seg=0240 Object reference not valid'associtn' is only defined in the self generated program from microfocus for the datepicker:class-control. Window is class "window" CharacterArray is class "chararry" OrderedCollection is class "ordrdcll" Association is class "associtn" Dic
Intro The following Cobol program creates a sample invoice using the C$PDF function available in Microfocus Extend 10.3. Assumptions Input file and logo.jpg both must exist on the desktop during runtime. Invoice file will be a .pdf file that will be created on the desktop. Cobol program will have access to extend copybook CPDF.DEF during compile. Summary Program will read the invoice.txt file and create the invoice PDF on the desktop. The invoice.txt file is a tab delimited input file containing values that will be used to populate the PDF file. Invoice.txt Tab delimited layout COLUMN NAME Description Value (Column 2) INVOICE The Name of the Invoice File to be Created DATE Date of Invoice DUE When the Date of Invoice COMPANY Name of Company receiving Invoice ADDRESS Address of Company CSZ City, State, Zipcode I Invoice Line Item (Columns 2, 3, and 4) Item Description Hours Rate PDF Demo.zip#HowTo-BestPractice
Intro The following Cobol program creates a sample invoice using the C$PDF function available in Microfocus Extend 10.3. Assumptions Input file and logo.jpg both must exist on the desktop during runtime. Invoice file will be a .pdf file that will be created on the desktop. Cobol program will have access to extend copybook CPDF.DEF during compile. Summary Program will read the invoice.txt file and create the invoice PDF on the desktop. The invoice.txt file is a tab delimited input file containing values that will be used to populate the PDF file. Invoice.txt Tab delimited layout COLUMN NAME Description Value (Column 2) INVOICE The Name of the Invoice File to be Created DATE Date of Invoice DUE When the Date of Invoice COMPANY Name of Company receiving Invoice ADDRESS Address of Company CSZ City, State, Zipcode I Invoice Line Item (Columns 2, 3, and 4) Item Description Hours Rate
Visual Studio 2019 is now avalaible for mac osx.Plan MF to integrate VC 5.0 for this osx?Mac OSX is Linux based and perfect for development/testing
Hi,I have a problem with HttpPost with https and rmnet.dll.HttpGet with https works well.HttpPost with http also.But HttpPost with https gives always a 400 Bad Request.It works also with the program Postman and I used the same address in my application.Does HttpPost with https require more info in the header than the Authorization ?Does anyone have a working example for this issue ?
Microsoft have end the Support of win7 on 14.1.2020.What plan MF for their customer who works with Netexpress 5.0 and lower or older Workbench?Or forced MF all customer to migrate to Visual Cobol?What plan customers, how do you solve this actual Problem?Thanks for many answers!
What would cause a program to compile cleanly in debug mode but in release mode fails and reports the following error: Undefined data item: CURRENT-DATE ????Running Acubench for 10.1.1. Newly installed on a clean system but was doing the same thing on an old system. Release Compile options = -ox .\\object\\@.acu -Fo c:\\A2\\datafiles -SaDebug Compile options = -ox .\\object\\@.acu -Cp -Fo c:\\A2\\datafiles -Sa8 -GaWhat am I missing?Thanks for your help.
Win10 64bit, Visual Studio Pro 2019, Visual Cobol 5.0i see that the Compiler create /bin and /obj directories, than subdirectory /x86 and under this /release and /debugWhy double directories in /bin and /obj?is it possible as in Netexpress 5.x to create automatically an Output Directory with all modules (included mf-runtime modules)?Thanks for help
Win7 32 bit, Visual Studio 2017, VC 3.0What means this error by compiling in Release mode (x86) and how can i suppress it?Thanks for help!
I have a project with one main form and six sub-forms. While entering code for Form5 I received the message "COBCH0804: Source limit of 2200 procedure lines exceeded". The main form is a menu with some procedures that do not use forms. The sub-forms are self contained and send no data back to the main form. What can I do to finish my project? On another subject. I have a form containing one text box and several labels. I have captured the return key and send the tab key. When I use the enter key to terminate an entry the bell sounds. This does not happen if I use "TAB". What can I do to silence the bell in this instance?
Problem: When you have a COBOL array defined in a COBOL class and expose all the array items as properties like below: class-id squarebrackets.Class1. working-storage section. 01 cob-array property all. 05 my-occurs occurs 3 times. 10 my-field pic x. end class. And you reference the array item in your managed COBOL program using square brackets and provide a index number like below: "type Class1::my-field" if the property is a static property. "myobject::my-field" if the property is an instance property. You will get the COBCH1722 or COBCH1723 compile error when building the application. Resolution: The [] syntax can be used in two situations: 1) For indexing an array (with zero based indexes) 2) For passing parameters to an indexer, defined on the type of the item. e.g. the indexer for the List type in .NET (System.Collections.Generic.List) expects an int parameter
i had this Problem that i don't anderstand at this time.i use datepicker in many programs and never had this Problem.In this example and program i use datepicker. First time calling this Programm there is no Problem, may be the second time or third time or fourth time.I have search many hours on this Errors and have integrated a simple solution.The datepicker program is generated with Dialog System.On the Entry ProgramID & "OnDestroyed" USING anEvent, i can see that after calling the program more times, the object reference of aDictionary has no value.To solve this Problem, i have add in the Entry "C" & ProgramID USING EntryPoint-Data a new line at beginning: set 1stTimeThru to true and now i can run the program a many times without Problem.Who anderstand this Problem and had a better solution? i have join filesThanks for help!
Is here anybody to share Information how to learn managed Cobol or creating professional Windows/Screens with Visual Studio?Where can i find documentation?Can you share book titel for this learning?Thanks for answer!
I am tying to run the vutil - rebuild with k K0, k1 , k2.Essentially I am losing records. One of the links in community center says we need to write Cobol program. Would be really helpful if any of teh members can share a sample file or utility that helps rebuild this.This program would have the form: Open input Original-File Open output Master-File Start Original-File at Low Values Read Original-File Next Record* Set Declaratives so that error 98's are trapped , and* the response is to increment the current key by 1 in the* least significant digit, and the start is re-tried.* Code your Start with an Invalid Key phrase which does* the same thing. Write Master-File. the runtime configuration option, "ERRORS-OK" will need to be set to 1 in order to open the corrupt file.
Hello,I would like to create some bar/pie charts from the existing data.I've been searching and found no topic with this subject. Thank you for your tips.Note: I am using Visual Cobol / Visual Studio.ThanksAlberto Ferraz
I have a form and open a second form2 I want to check if form2 is already open found this statement in C # but could not translate to Cobol "if (Application.OpenForms.OfType <Form2> () .Count ()> 0)" Eu tenho um form e abrir um segundo form2 quero verificar se o form2 já esta aberto encontrei essa instrução em c# mas não consegui traduzir para o Cobol "if (Application.OpenForms.OfType<Form2>().Count() > 0)"Tanks
Has somebody experience in checking an entered adress with google or another possibility.I use NE5.1.Thanks in advane for the help.Georg
only release mode
Hello,I believe the answer is no but want to verify -Can programs compiled using v12.15 be run in Windows 7?
Hi,I'm trying for the first time setting the configuration variable TV_EDITLABELS to 1 to allow the users to edit labels on tree views.In my program, when I click on a tree view label, I get the expected MSG_TV_BEGINEDITLABEL message, but after I edit the contents of the label and hit Enter, I don't get the expected MSG_TV_ENDEDITLABEL message, but the program crashes with a "Memory access violation" system error message instead.Any ideas of how could I fix this?Thanks.#treeview
One week after Installation and tests with programs in reference, i am not able to load the Project, the license is not valid.is the Trial only valid for 1 week or 1 year?What can i do? Reinstalling every week on a new virtual machine to make tests?
HiI'm currently using MicroFocus VEC 5.0 in Windows 10. I've developed quite a large suite of native COBOL programs using OpenESQL to update a local installation of MS SQL server.My question has 2 parts:1) To switch to MySQL will I only need to change my connection string to access a 32 bit ODBC driver for MySQL instead of SQL server? I believe the SQL syntax is pretty standard so I hope my Insert, Delete and Update logic will not be affected.1)What strategy and technology would be required to either directly update a Web based MySQL database or if that's not possible what would be another approach to upload the MySQL data in real time.I'd like to develop a small web based application to expose this MySQL data and I don't want to use Java or COBOL.ThanksElliot
How must we proceed to install Visual cobol 5.0 trial?- Windows 10 x64 Version 1909 with all updates- Visual Studio 2019 preview- vcvs2019_50.exe first, then vsvs2019_pu02_242792.exeWhen wanting to install vcbt_50.exe we become following message, 0x81f40001 Micro Focus Visual COBOL for Visual Studio 2019 5.0 must be uninstalled before continuing. Is this correct to deinstall VC 5.0How must we proceed to install the vc_build_tools_dockerfiles_5.0_windows.zip?By compiling i missed the btrieve object files used in Netexpress5.x (_btrv.obj) What file must be used in VC5.0?Many Warnings comes by using microfocus dialog systems copy files as dslang.cpy, ds_call.cpy, pan2link.cpy, userctrl.cpyC:\\adm\\copy\\dslang.cpy (641,19-21) : warning COBCH1125 : Punctuation character not followed by a space. Assume space.C:\\adm\\copy\\ds-call.cpy (45,60-66) : warning COBCH1168 : COMP-5 redefinition.C:\\adm\\copy\\pan2link.cpy (708,56-62) : warning COBCH1168 : COMP-5 redefinition.a new direct
i had on 2 Dialog System generated cpy-files with flag "Data block ANSI constants" set, and i don't find the reason of this. There are more than 100 Errors.i have remove this flag and the Errors are solved!I want only to share my experience by testing my big Project with over 500 cbl and 170 gs, 580 copy files.
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.