Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hello,,,Am using Personal COBOL 2015. I want to install the HELP files on my machine, so do not have to go online for help. I think I have set up the files needed (eg, installed Java, downloaded Eclipse Classic 3.6.0. , etc). Refered to https://supportline.microfocus.com/documentation/MFInfocenter.htm Am at the stage where it says Display the Infocenter by pointing your browser to localhost:8081/.../index.jsp. I have created a batch file to 1) add Java bin directory to the path, and it executes the startup command as per the instructions.(this is all done in a DOS window), 2) I then open my browser and enter the localhost info in and hit ENTER If I open a browser window and input the localhost info, says "local host refused to connect". What does "point your browser" mean here? Thank you...Thomas
COBOL Analyzer Product Video Playlist New to COBOL Analyzer and looking to get started quickly? Take a look at this NEW COBOL Analyzer video playlist. A great 5-part educational video series to support your use of this new application analysis toolset. A great way to get started quickly and begin gaining better insight into your (Micro Focus COBOL) business applications. Video topics include: Check out the playlist: https://www.youtube.com/playlist?list=PL8yfmcqTN8GEaamyh_DYWAIGn2Vqj8ml3 The COBOL Analyzer video series includes the following topics: COBOL Analyzer: Product Introduction: https://youtu.be/cWGHM8ZNbRQ COBOL Analyzer: Presenting the application architecture: https://youtu.be/rHuJEzUmgQ4 COBOL Analyzer: Running quality checks after code changes: https://youtu.be/3J770XaiAfU COBOL Analyzer: Code change and impact analysis: https://youtu.be/YRlPgI5pvDY COBOL Analyzer: In-depth analysis and documentation: https://youtu.be/JG2SUz8dDtI See the Micro Focu
Dear Chris, We are using Server Express 5.2 with AIX 5.1 and we have problem with several Cursor Open. How we can Close of them before finish the program??? Many Thanks
Hi, I'd like to understand the use of EXEC SQL INCLUDE a bit better. Can somebody explain (or point me to a good doc explanation)... what does EXEC SQL INCLUDE actually do and also what happens if host variables i.e. table layouts etc aren't declared inside one i.e. are just declared as regular working-storage items? Also does it matter if fields 'included' as it were, are not actually used with sql? Do I need the special sqlda and sqlca includes or are they created automatically? If I do,can I copy the content into my own copybook? - ideally I'll have just one db related copybook that I can put it into the 100 or so programs I'm converting? Should mfsqlmessagetext be 'included' ? Does it matter if it is or isn't? Thanks in advance, Linden
I'm attempting to install Visual Cobol vcvs2012_231 on Win2012R2 server. It doesn't ask for any licecnse keys. The installation completed OK. Rebooted server. How or where do I check how the license for VC is actually entered? I can't find any documentation on that. The online documentation says to use the sh and mflmman commands, but those don't exist in Windows. (Yes I know they are Unix/AIX commands but the online WINDOWS documentation for VC says to use the commands.) Can anyone provide some insight where and how the licenses are entered and administered? It doesnt appear in the Entereprise Server Administration tool. Or maybe I'm missing something? Thank you for helping.
We are using Visual Cobol, but it is unmanaged, and most of our screens are still dialog screens. I need to know whenever a certain entry field has its value changed. I know there are ways of doing it with code, dialog etc., but is there something like a CheckChanged Event I can use? Lost focus doesn't really work because there is no guarantee that the user will tab to a field; they may just click an icon etc.
We use Windows Small Bussiness Server 2003 and Netexpress 5.1. The FILESHARE works perfect as described in the documentation. If a file/record is locked I receive the file Status 9/65 or 9/68 indicating this Situation. But besides this Status, is there any way or API to know Information about who has the lock? I Need the Name of the terminal or user in order to inform who is locking the file or record.
I want to delete a part of a word document. The text I want to delete is between \\\\*\\\\ and \\\\**\\\\. So I need to figure out the range between them. The part in blue I cannot seem to get it right. Does someone know how to translate this bit? Sub FindIt() Dim blnFound As Boolean Dim rng1 As Range Dim rng2 As Range Dim rngFound As Range Dim strTheText As String Application.ScreenUpdating = False Selection.HomeKey wdStory Selection.Find.Text = "\\\\*\\\\" blnFound = Selection.Find.Execute If blnFound Then Selection.MoveRight wdWord Set rng1 = Selection.Range Selection.Find.Text = "\\\\**\\\\" blnFound = Selection.Find.Execute If blnFound Then Set rng2 = Selection.Range Set rngFound = ActiveDocument.Range(rng1.Start, rng2.Start) strTheText = rngFound.Text MsgBox strTheText End If End If 'move back to beginning Sel
Lately I got some strange errors (doesn´t affekt function) stating: Dependent file not found c:\\src\\WinGMS\\OF\\ . Rebuild completeDependent file not found c:\\src\\WinGMS\\OF\\ . when running. Among project files I have a lot nonexistant files, nameed '.' The can not be deleted. Running Net Express 3.1
looking for a way to loop through a Form.ControlCollection in visual cobol. Any solutions? set netInt to type System.Windows.Forms.Control ControlCollection::Count. set gridViewIndex to 0. perform until gridViewIndex = netInt if controlList[gridViewIndex]::GetType = type TextBox set type System.Windows.Forms.Form ControlCollection.Item[gridViewIndex]::ReadOnly to false add 1 to gridViewIndex end-perform. compiler errors are: ControlCollection has no visible static member Count type TextBox invalid operand gridViewItem is invalid operand
Hi, I'm trying to understand about SQL cursors. Are cursor names used at run-time i.e. passed to ODBC/SQL engine or just used internally at compile time to associate various EXEC SQL statements. What I'm wondering is... If a COBOL program, 'A' calls two other programs, 'B' and 'C', alternately, to fetch rows from tables T1 and T2, can programs B and C use the same cursor name i.e. such that both programs have the same-named open cursor? I'm asking because I'm switching a system from MF native files to MySQL and I'd like to use copybooks of standard procedures. Thanks, Linden.
I am trying to use HttpGet(extend version 9.2) on the google directions api. I have the pointer and a field in the linkage area for the response. The problem is when i use https in the url I get a memory access violation on the field in the linkage area. If use http google tells me i need to use https. I am not sure why i am getting to MAV. Thanks in advance for any help. #HTTP#ACUCOBOL9.2.4
I am a long time Cobol programmer but new to MicoFocus. I am trying to get a report to print 176 characters on letter paper (16 cpi) without bypassing the windows print driver. I have looked through the documentation but I just can not get it to work.#ACUCOBOL10.0.1printing
Getting Started with COBOL Analyzer - Demo Files These COBOL Analyzer demo files are to be used in conjunction with the Getting Started guide posted to this forum. These files will allow you to practice and tune your COBOL Analyzer skills. A great way to jump start your analysis skills and begin using the COBOL Analyzer toolset.CADEMO.zip#CodeDemo#ServerExpress#COBOL#VisualCOBOL#ApplicationAnalysis#netexpress#analysis#codeanalysis
A great tutorial and getting started guide for COBOL Analyzer. If you've recently downloaded a free trial of COBOL Analyzer or if you're looking for easy-to-read docs for this new application analysis solution, look no further. This free ‘getting started’ guide is a great way to familiarize yourself with this toolset and come up to speed quickly. Use the step-by-step examples and technical guidance within to understand the technology, set-up your environment and tune your skills. It’s everything you need to get started quickly using the COBOL Analyzer solution.GettingStartedWithCOBOLAnalyzer.pdfGettingStartedWithCOBOLAnalyzer.pdfGettingStartedWithCOBOLAnalyzer.pdf#BusinessIntelligence#analysis#reporting#VisualCOBOLNetExpress#CodeChange#COBOL#staticanalysis#ServerExpress
I am running on Redhat and years ago when I had my data files with the index info split out I could do a "grep" of the data portion. Now when I try to quickly scan for something I get "Binary file X.LDF matches" Any suggestions? I know I can use ODBC connectors and I do, but just looking for a quick utility like I used to have. Thanks for any suggestions.#grepidx8
Hi, I am migrating from Server Express 5.1 to Visual Cobol 2.3. I am getting error as connection name not found. I am using ESQL and Sub Program is calling Main Program. Connection is getting established in Sub Program but in Main Program its getting lost. Any Ideas? Thank You
Hi, I'm getting odd behaviour testing OpenESQL (VC2.3.2, VS2015, Windows10). I've previously only used native MF files but have used MySQL extensively with PHP online. My tests act as though MF DEBUG runs in it's own world. It doesn't actually update my MySQL database? I have a 3-col 'vatrates' table. Cols: id, startDate and vatRate. It has one row of data. My prog below inserts two more rows. No error is reported, Hence 3 rows. Next I run select/fetch - this gets the three rows, the old row and two new ones. Lastly the prog deletes a row - this seems to work and if I re-step through the select/fetch it returns two rows. HOWEVER, at any point during the above and after stop run... if i view the table in MySQL Workbench I only see the original row. If I re-run my prog it starts again as though only the original one row is there. Any ideas what is going on here? Program follows below.... Thanks, Linden ---------------------------- $SET sql(INIT DB=adbooker PASS=ad
My superclasse have a FD, like this: . . . End class-object. Object.Input-Output Section.File-Control.SELECT arqSYSCONF ... File Section.FD arqSYSCONF ... Object-Storage Section.01 InstanceData pic x(032). *///////////////////////////////////////////////////////////// The FD causes a problem in InstanceData. I move "ajSauro" to InstanceData and in the class that inherits superclasse, the value of InstanceData is an unexpected value. If I remove SELECT and FD, then it is OK. Anybody have a soluction to this? Hug Antonio João NextExpress Dialog System.#inheritswithdata
I have a main c# application that runs visual cobol programs. both project have different namespaces. In my c sharp project I have a logger class that I would like both projects to use. So far I've made a reference to the main project from the cobol project, used $set ilusing"namespace" added the namespace to the cobol project through the GUI. Nothing. I think I might be missing a bigger issue. Any ideas?
Hi all, How to simplify the user experience re. generating, viewing and printing reports in a Windows environment? Currently I display report output in an MF Dialog system window and have a [print] button to print using various MF COBOL routines, PC_PRINTER_SET_DEFAULT, PC_PRINTER_SET_FONT etc. The reports are basic using fixed-spaced characters to force column alignment. They look old-fashioned and text is small. HOW DO YOU PRINT from Visual COBOL? I'm wondering about launching a browser to handle the print so users can re-size, use browser's print / pdf-export etc. Any thoughts? I'm about to switch to MYSQL - perhaps you use a tool that reports from MYSQL directly? ANY THOUGHTS WELCOME. Regards, Linden
I have a Windows Form view a datagridview in my cobol program. During program execution I am editing the contents of a cell without leaving the cell, i.e. I am not hitting the Enter or Tab key. Without leaving the cell, I am pushing a button (like a save button) outside of the datagridview on the same form. But because the CellEndEdit event did not take place, the contents of the cell in question has not changed. So I want to invoke the CellEndEdit programatically. The following code invoke myGrid_CellEndEdit(). is giving me an error because of the missing parameters. Which parameters do I have to put here in the brackets? #dataGridViewCellEndEdit
This works in Oraedit, but now I'm trying to add it to cobol (as embedded) and can't even get it to compile... EXEC SQL SELECT case when TO_CHAR(C.HOLLYDATE,'MM-DD-YYYY') = TO_CHAR(SYSDATE,'MM-DD-YYYY') and C.STARTTIME <= to_char(sysdate,'HH24:MI') and C.STOPTIME >= to_char(sysdate,'HH24:MI') then 'TRUE' ELSE 'FALSE' END HOLIDAY &nbs
Problem: Many Visual COBOL projects may use the same EXTERNAL data files, this usually would require setting an environment variable for each file within an Application.config. How can these file mappings be achieved without the use of an Application.config? Resolution: Setting EXTERNAL file variables within a Visual COBOL project In the example below, an entry needs to be added to an Application.config file (Environment) in order for the physical file assignment for the SELECT clause to be resolved: If EXTERNAL does not appear in the SELECT statement, the program must be compiled with the directive ASSIGN(EXTERNAL): To add an application configuration file, right-click your project in the Solution Explorer: Click Add > New Item Select Application Configuration File Specify a filename in the Name field (or leave as is) Click OK Edit the Application.config; add the variable name and file name: Setting EXTERNAL file variables wit
Hello, (thank you very much for reply on my first question. It works.) I have this problem. I've been creating COM object in Visual COBOL that should create some visual object in window originally created in Dialog-System tool. I've been creating the COM object following way. I downloaded some COM object written in C# (including sources). Then I created code in managed COBOL that defines my COBOL COM object with some methods. I call these methods from my native COBOL code and these COM object methods call the C# COM object functions with parameters specified by my native COBOL code. Until this point everything works fine and the visual object is successfully created just as I want. But I'm not pretty sure how to join my COBOL COM object with the events of the C# COM object I need. I have class of COM object, interface for calling from native code and - and here I'm not sure if it's right - interface for events. But I don't know how to map the selected events or how to join method in my
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.