Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I am using Cobol Net Express 5.0 and my question about the list box how to find the item in the list by typing the first character of the item (what I have to do in the dialog of the list box).
Problem The terminal emulation software escape key sequence does not match the UNIX TERMINFO escape sequence. How do you identify the escape key sequence to use in a TERMINFO file for a particular key depression like F2 or shift F2 etc… Resolution Here is a program scanwinput.c to display the escape sequences received by a UNIX system, which can be used to update your TERMINFO files. Getting this output is a good step to solving the complex issue of terminal configuration on UNIX platforms. OUTPUT from program when pressing F2 key lines <25> columns <70> termname longname xterm terminal emulator (X Window System) Enter a string or key sequence like ctrl-f4 to see hex values or q exit <^[OQ
Hi All I have trouble like that : community.microfocus.com/.../6399.aspx My program will be deployment in Italy. In Italy "." is used like decimal separation (ex. 1.000.000,00 ) In my program i put "DECIMAL POINT IS COMMA" I put : SET ENVIRONMENT "KEYSTROKE" TO "Data=46 44" SET ENVIRONMENT "KEYSTROKE" TO "Data=44 46" In this way, in numeric field the "." in numeric pad work, but in alphanumeric field when digit "," (from alphanumeric pad) appear "." and if I digit "." appear ",". I want that in numeric field the "." in numeric pad work like decimal separator, but in alphanumeric pad the "," work like "," and "." remain "." thank in advance
Problem What happens with IDXFORMAT when combining its usages and using it as a compile time directive. as an inline directive. it inside a file handler configuration file. Resolution This is a complex example but hopefully shows how the IDXFORMAT directive and the external file handler IDXFORMAT option can be used together. This examples shows A compile directive IDXFORMAT will override a file handler configuration file IDXFORMAT. An inline directive will affect all index files declared below it in the source file. Other coding techniques like copy with the replace statement and piped file input and output. OUTPUT from running doit.sh /home/tonyt/test/2831958idxformat >. ./doit.sh java version "1.7.0_13" Java(TM) SE Runtime Environment (build 1.7.0_13-b20) Java HotSpot(TM) Server VM (build 23.7-b01, mixed mode) version @(#)cob.c 2.3.0.72 PRN=KXCRH/AAD:Ao.U4.13.04 PTI=32/64 bit PTI=Micro Focus Visual COBOL Development Hub 2.3 PTI
Hi I need to consume a .NET COM dll in Visual Cobol but there are certain problem which i am facing while trying to consume that. I have native COBOL DLL which is internally calling a Native DLL which is interacting with the .NET COM component. COBOL DLL(Base) --> Native COBOL DLL(Layer) --> .NET COM DLL The call is driven by Base DLL to Layer DLL , The layer DLL create an object of COM class and execute the method and return the values to Layer Dll and dispose the object. I need to retain the object and its value in Base Layer can someone suggest me solution for the same. I am thinking of declaring a Global/external variable so that i can retain the values in the base layer. I can change the base layer so i am avoid using linkage variables. Please suggest me the usage of Global or external variable in Visual COBOL Thanks
Either there is an issue with generating the dir file ... or I have a question related to the intended behavior when generating the dir file and the subsequent use of the COBOL command to generate the executable, which I need confirmed. Scenarios: 1. Using Visual Studio 2013 and Visual COBOL 2.2, create a new Win forms project (in my example, I called it TestDir2). After initial creation, there will be a Form1.cbl and a Form1.Designer.cbl, as shown in the VS solution explorer pane. 2. Go to the project properties COBOL tab and click-check the "Generate directives file" option. Build / Rebuild the project and examine the generated directives file. Notice especially the ILSOURCE entries - which ones are there and which ones are not there (the ILSOURCE for Form1.cbl is not there but this (is? / may be?) intended - see the next step). For your convenience, move or copy the .dir file to the folder with the source code, in preparation for the next s
I need to make the mouse cursor stay with the icon of wait?
Hi,is it possible to change the key of the "go to declaration"-function? (CTRL Click on variable) It occurs very often that I want to copy or paste something and accidently jump to a declaration. Thanks for your help.
Hello all, Is the 2.3 install compatible with Visual Studio Express? I'm a developer with very little experience with visual studio in general so I don't want to go out and purchase that product if not necessary. So I have Visual Studio Express installed. Thanks, RM
My form consists of several dropdown list 'Comboboxes' with several values in each box. The first time into the code I'm setting up textboxes which accompany these boxes like so... set mystring to EMPMAIN-USC-RATE(1). set Tax-USC-R1::SelectedIndex to Tax-USC-R1::FindStringExact(mystring::TrimEnd(' ')) set uscIndex to Tax-USC-R1::SelectedIndex. >> If Rate 1 is ZERO then disable all entry boxes for USC if uscIndex = Zero set TAX-USC-R1-ACO::Enabled to False set TAX-USC-R1-PCO::Enabled to False set TAX-USC-R2::Enabled to False etc etc.. I have 'SelectedIndexChanged' methods attached to each Combobox where I want the user to be taken should they change the initial value thats in the Combobox. The problem is that the code is bouncing to the 'SelectedIndexChanged' method in the initial set up of the boxes which I do not want it to do. Is there a way around this problem? e.g I only want the 'SelectedIndexChanged' code to be done IF the u
I move a text into a MLE field, after refresh the cursor is under the first Character of the MLE field. Does anyone know how to move the cursor at the end of the text? #MultipleLineEntryField
Problem: Visual COBOL 2.3 for Visual Studio 2015 fails with the following error message: Setup Failed 0x80070643 - Fatal error during installation. Fix setup issue(s) and retry. For more information see the log file. Resolution: Visual COBOL setup verifies and installs few pre-requisites if missing. When one of these pre-requisites fails to install, then the error above occurs, and the log file should indicate where the problem occurred. For instance, the error is reported in several lines: Error 0x80070643: Process returned error: 0x643Error 0x80070643: Failed to execute EXE package.Error 0x80070643: Failed to configure per-machine EXE package.Applied execute package: jre, result: 0x80070643, restart: NoneError 0x80070643: Failed to execute EXE package. In the fourth line of the error messages above, it indicates that jre was the package that failed. The actual command is reported in the same log file few or several lines before the error messages with an entry starting with "App
Just upgraded to Visual Studio 2015. Whuch version of VCPE do I need to install? Thanks
Good morning, I am again with this old problem, I need to convert this program done in Net EXpress to Visual Cobol, noting que the program works Correctly in NetExpress but in Visual Cobol can not load the DLL. The dll this installed in windows \\ system32 folder. Thank you.
I have a Base64 string how do I convert to text. PENGZT48aW5mQ0ZlIElkPSJDRmUzNTE1MTEwODcyMzIxODAwMDE4NjU5OTAwMDA0ODEwMDAwMDQwNDEzNzc1NSIgdmVyc2FvPSIwLjA2IiB2ZXJzYW9EYWRvc0VudD0iMC4wNiIgdmVyc2FvU0I9IjAxMDAwMCI PGlkZT48Y1VGPjM1PC9jVUY PGNORj40MTM3NzU8L2NORj48bW9kPjU5PC9tb2Q PG5zZXJpZVNBVD45MDAwMDQ4MTA8L25zZXJpZVNBVD48bkNGZT4wMDAwNDA8L25DRmU PGRFbWk MjAxNTExMTI8L2RFbWk PGhFbWk MTYyNTU1PC9oRW1pPjxjRFY NTwvY0RWPjx0cEFtYj4yPC90cEFtYj48Q05QSj4xNjcxNjExNDAwMDE3MjwvQ05QSj48c2lnbkFDPlNHUi1TQVQgU0lTVEVNQSBERSBHRVNUQU8gRSBSRVRBR1VBUkRBIERPIFNBVDwvc2lnbkFDPjxhc3NpbmF0dXJhUVJDT0RFPnBocUY1SHNQQnpTM2I5TEN2amhocTU4SXI0K2pMN0V6NFlPeGVlVVBCTG9RK0ttU29jblZsQ1lYQ0poQVFzWmJRZnE2VFB1U3NlSkRxYVdhOWJrMUV4TURsT1h6OWhLd3RHWWpsWEkwSWpSbmVNaEhUb2Y0dFVVcW4xbkNwd3ZYcndJOTZoRTJyc1hwZVRzOWd6cUZlRURIbVIwZ2kyQXJCZ3dCZ1RmbHdicDdhQS82cXlOVlkwczlvRGVRQ3hJVlNnQ0F4NXNhYXViWlhxMzhacU55OVdwSXM1Zjh5UjQ1Y1pwdVhST1JOaVhRNWdRb3RUMU5Yb1dtamN0NTkrMTJmWU1GZVRrMnUxNGN6R3g3cGhIVTdESnBDRmtmUXh6SVZuOHJxN1MxdFBwd0ZXaytQeGkvZEovMTFxeThpaHE
I tried to connect to MySQL in Visual Cobol 2.2, but I can't do it. my project -> property -> SQL -> OpenESQL -> <ADD> -> Select <DBMAN> -> After that, I can't select ODBC, so I can't use ODBC. In addition, when I use "Tools menu -> Micro Focus COBOL -> ADO.NET Connection Editor", I get error message "This provider does not support generic ADO configuration method". I have already installed ADO.NET driver and ODBC driver for MySQL. I really want to study COBOL again. #MySQL#connection
Error 179 - MFRUN.gnt cant be found on COBOL Server for Windows I have looked at previous post on this subject which seemed to be cleared by simply restarting server community.microfocus.com/.../9268.aspx. We have compiled a simple program to gnt through Visual COBOL 2012 and I can run successfully from CMD prompt by - RUN PROG1 The gnt is then transferred to a Production Server but whenever we try to run as above we get - Error 179 - MFRUN.gnt cant be found. Also tried RUNW etc. On the Prod server we don't seem to have CREATEENV.bat as on Dev Server. We created one of those to set up the environment. I don't believe it is ever getting to our application program. However, we have some other programs called from C which appear to get called successfully - so the cobol run time appears to be working ok. #Error179
Hello, usually we create an atc-file with all the thinclient options and tell the system to execute files with the extension ".atc" with the default program "acuthin.exe". Is there a way to call "acuthin.exe" with the atc-file as argument for example "acuthin.exe -f project.atc" ? Thanks in advance for your help.
Hi, I am new to visual cobol and 3 yrs exp to Visual Studio. We have requirement where we need to design a win forms using VS and write a cobol program which will call these win forms. We will set some values in copy book from the cobol program and pass that copy book to win forms for displaying data to user. The Cobol Program is the entry point which will invoke win forms based on certain condition. The cobol program should be of native project type and win forms should be of manged type. I did some googling and was able to call win forms but when I add copy books as parameter to a method I am not able to make a call. I am getting error saying "The parameter name is incorrect". I have added a sample project file of my work.#COBOLVISUALCOBOLMIGRATION#FormVisualCobol#MicroFocusVisualCobol#MicroFocus
Good evening! I hope someone out there has already solved this somehow. I cannot seem to find a way to detect ENTRY-BOX activation if I tab into the field. I detect clicking to activate and apparently would be able to detect using "the control's key letter" however, it would seem that tabbing to that control escapes the attention of the ENTRY-BOX's message processing. Has anyone else had more luck finding information or perhaps there is some other discussion that talks about how to process the tab message for any control on a form. I'm using Acucobol 10.0 (compiling for 7.1) extend on Windows 7 Home Premium. Thanks in advance for any advice! Jim Read#AcuCobol#Events#entry-fieldcursorlocation#activecontrolidentification#extend
Add/Remove Files in the AcuBench give not more the possibility to add an sourcefile from an other directory. How can i do it in this new version?#acubench
Hi, We are using a linked server to query some Cobol data files through AcuXDBC on a new server. A query looked like this on the old server: select * into _t1 from openquery(XDBC_TESTREM,'select * from gjen'). It was working well. However, after we switched to the new server I started getting some errors and I had to format the date columns like this: CONVERT(NVL(CONVERT(GJ_DEPOTDATO,SQL_CHAR),TO_DATE(719527,''YYYYMMDD'')),SQL_DATE) AS GJ_DEPOTDATO I have 3 questions: 1. What can I do to avoid using that convert statement? Is there any setting somewhere that can make this work by default? (otherwise I will have to change all the queries) 2. Some dates are like this: 5112012. They are missing a leading zero. I tried a CASE WHEN char_length(...) = 7 THEN.. but I get an error saying that function 30 is not implemented yet. How can I handle this type of dates? (i am thinking to return them as SQL_CHAR and convert them in t-sql to dates) 3. Where can I find a full list of s
Acurcl genarates 'runcbl.*.log files every time some of our users connect. The information in these files is: Initiate contact with client Client respons: 2 Client is AcuThin Client is using protocol 26 Client is using trace level 0 Connect to the remote ASG Does anyone know what causes these files to be generated (and how I can turn them off)?
I'm having trouble opening an RM/COBOL indexed file. This program is a very simple example of the issue. It opens an indexed file and then writes the file status from that open step to an output flat file. When this program is run in Visual Studio the file status is 00 but when the exe is run (either by double clicking the exe file or by running it in command prompt) it is 30. I tried running Process Monitor (technet.microsoft.com/.../processmonitor.aspx) with a filter for any path containing "c:\\temp\\in-file". Leaving that while running the test program in Visual Studio, I see many processes show up. But then if I keep the monitoring going while running the exe, it shows no processes trying to access the input file, almost as if it never even tries to open the file. What could be different about running this program in Visual Studio vs running the compiled exe? $SET CHECKNUM $SET DIALECT"RM"
I've been trying to run down why the Micro Focus product help for Visual COBOL for Visual Studio 2013 displays as raw HTML in the Windows Help Viewer 2.1 on my domain-joined Windows 7, IE 11 PC for a month now. So far I've been told/have read that it has something to do with my account "inheriting" enablement of IE ESC from the servers on our network. Since the **ONLY** symptom of enabled IE ESC on my PC is the display of the VCVS help content in Help Viewer as raw HTML, no pop-up dialogs about blocked sites or IE ESC warnings, I wanted to try the commonly suggested work around of adding the location of the help files to either the Local Intranet or Trusted Sites zones in IE. But all I can find are the HTML help files for Enterprise Server. So where are the HTML help files for the rest of VCVS put when you do a default install?
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.