Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I noticed that with Visual COBOL for Visual Studio 2019 TABs are not retained even though the settings in Tools > Options > Text Editor > Micro Focus COBOL > Tabs are set to use the Horizontal Tabulator character for spacing (see images attached). Doing so, Visual COBOL always misaligns new lines to existing lines with above settings in place.Micro Focus Visual COBOL - Options.pngMicro Focus Visual COBOL - Not inserting TABs.gif
I noticed that IntelliSense support in the ENVIRONMENT DIVISION is quite sparse (see image attached).As far as I can see, there are no suggestions for filling in INPUT-OUTPUT SECTION, FILE-CONTROL or any other sections or content therein.I suggest to fill in the blanks and provide full IntelliSense support for the Environment Division (and other divisions, where applicable), i.e. ...suggesting all COBOL keywords (incl. appropriate division (e.g. ENVIRONMENT DIVISION), section (e.g. INPUT-OUTPUT SECTION) and paragraph (e.g. FILE-CONTROL) names), applicable at the current cursor position, andproviding code snippets for common sections and paragraphs, appropriate at the current cursor position. (I.e. provide FILE-CONTROL code snippets only within an INPUT-OUTPUT SECTION.)
Good morning,as i wrote in my previous post we upgrade our servers from Windows server 2008 to 2016 running in terminal server.We have changed the users Windows name too.We have a version thin client of extend acucobol 9.1.1. and we i copied the parameter from the old acuconnect control panel in the new with the most permissive version:client machine name: *client username : blanklocal username : <same as client>unmask : 002The new users names contains surname.name but for two users (one it's me)the Runtime failed to connect . i noticed that these two users are those with more characters than Others (mine is maurizio.bussalino)Is it possible ther is a limit of characters for the acucobol user name ? in affermative case i read in the documentations that is possible to create an acuaccess file but i don't found any sample to understand what i have to do.I have a second problem too.. I have to schedule a job with a task scheduler but it wants the
I need to write a batch file that goes through all my Indexed files and runs RECOVER on them to clean them up.Anyone have any suggestions on how I would go about doing this?
Good Morning,i am a developer from Italy that works with acucorp extend 9.1. In these days we have uptated our old o.s. Windows server 2008 r2 to 2016 version without reinstalling extend.Now we have any problem with Runtime (we use acuconnect) but using the editor acubench i noted that is impossible to modify the screen section or working storage or in the files, all the commands are in low density.this problem may have been caused by a parameter that i have modified or it's better to install acubench from the cd ?.Thanks and bye. Maurizio
I regularly hit the Format Document keyboard combination (Menu Item: Edit > Advanced > Format Document <CTRL> <K>, <CTRL> <D>) while I'm programming. It usually fixes a lot of code formatting issues and cleanses the code.Visual COBOL doesn't come with this option yet.Can we please have this option? It should run the following options from Tools > Options > Text Editor > Micro Focus COBOL ...Advanced ("Place 'System' $set ilusing statements first")Formatting > IndentationText Casingjkö#FeatureRequests
When browsing COBOL code quickly with the mouse scroll wheel, it's frequently hard to find divisions, or sections, or paragraphs.The current folding indicators are not much of a help when scrolling because they are set aside the code and they are tiny.I believe the following feature suggestion would be very savvy and useful to have available in Micro Focus Visual COBOL:The user should be able to have border lines displayed above any of these three partitioning syntax elements.This is similar to the VisualBASIC option Tools > Options > Text Editor > Basic > Advanced > Show procedure line separators.I suggest to have a similar feature (and corresponding settings at Tools > Options > Text Editor > Micro Focus COBOL > Advanced) for Micro Focus Visual COBOL.Please refer to the images I attached for visualization of the idea:Code with lines.pngCode Line Options 1.pngCode Line Options 2.png
Problem Evaluating a condition ("A-DATA-ITEM NOT = ZERO" or "? 1 = 2") in the Immediate Window works in managed, but it fails with the following in native: Unable to evaluate the expression. Not implemented The expression cannot be evaluated while in run mode. Solution The Immediate Window is not supported in native code, and there are other ways of querying values, i.e. the Watch List, QuickBrowse, etc. The expressions such as "A-DATA-ITEM NOT = ZERO" or "? 1 = 2" work in managed code and return TRUE or FALSE. As for native code, the Watch List or Quick Browse should be used instead, so the value will be displayed when entering the name of a data item, but not anything beyond that. For anything else, an error message will be displayed, but the debugger will continue to run normally. However, an enhancement to the compiler has been made in Visual COBOL 6.0, which enables some additional functionality when debugging. For example: 1 a pic 999 valu
i have take the mf demo program ftpprogram.cbl from 2006 (from Fano "Raz" / Product Group / Micro Focus) and actualize with the actual "wininet.h"i had no Problem to program "FtpFindFirstFile", but for find the next files with "InternetFindNextFile" i will have Problem/no Results.Who has find a solution and have interest to work on the new Features to code this in Cobol?Thanks for help!
Problem After an in-place upgrade from Windows 7 to Windows 10, Net Express fails to launch with the following unexpected error: C0000005 Access Violation at: 0076519D 01:0001419D C:\\Program Files (x86)\\Micro Focus\\Net Express 5.1\\Base\\IDECORE.dll Solution This is a known issue where the Windows upgrade corrupts the Net Express installation, and this causes Net Express to fail to start. The Net Express installation must be repaired or reinstalled. Here are the steps for the repair:1. Go to Control Panel > Program and Features2. Right-click Micro Focus Net Express 5.13. Click Repair4. Click Yes to allow NXP32MSI to update software If the repair does not resolve the problem, the next step is to uninstall and reinstall Net Express. Note: Make sure to retain the license when prompted to retain or revoke the license at the beginning of the uninstall process.
Hi;We've been using AcuServer on Windows Server for years to accept files from other locations. Files are transferred to a specific folder on the server and a service consumes them once files are fully transferred. Our application uses C$COPY to copy files from a local folder to the server location, using remote name for the server filename.Recently, we have issues with files coming from just one location - which does have a slow, unreliable internet connection. Monitoring files from this location, we see the file appear in the folder, and we can see neither the size, date, nor time gets updated on the file for over a minute. The file does eventually transfer completely.What happens, though, is our process to consume files will sometimes think the file is done, because the size/date/time hasn't changed in 120 seconds - the process is able to open the file and consume it, but the file isn't, in fact, finished transferring.Does AcuServer not use Window
Problem The build fails to compile a resource (.rc) file if it was imported from a Net Express project using the Import Net Express Project feature. Here is the error message: COBCH0053 Directive /R invalid or not allowed here Solution The problem is caused by the Import Net Express Project feature that sets the wrong Build Action value for .rc files. It sets to 'Compile', which is to compile COBOL sources. The correct Build Action value for .rc files is 'Resource Compile'. This issue was reported in RPI 1119877 against Visual COBOL 5.0, and the workaround is to change the Build Action to Resource compile. This is now fixed in Visual COBOL 6.0.
It has happened on several occasions that Help Viewer doesn't recognize the word I have selected. Instead, I come to the Search tab in Help Viewer where the text "Cannot find requested topic on your computer" is shown.But if I enter the word in the Index tab, TALLYING e.g., the word is recognized and information is shown.
I have a INT/GNT Project consisting of a two files: Program1.cbl and SubRoutine1.cbl. I call SubRoutine1 from Program1 with a simple CALL statement.Now, when I debug it doesn't matter if I press F10 or F11; the debugger will step into the sub routine in both cases. Is it supposed to be that way?
I am new to SQL. Postgresql has a .NET data provider called Npgsql and with it I can do selects, inserts, updates and deletes from my .NET code. We would also like to use embedded SQL calls if possible. We have Postgresql installed on a remote computer and access it over the Web. I found this on the forum: community.microfocus.com/.../8309.aspx, and tried using OpenESQL but if I select DBMAN(ADO) on the SQL tab of my project and then try to connect to my database I get error -19703 Could not make connection; when I select DBMAN(ODBC) I get error -19703 Data source name too long. COBOL-IT has a COBOL precompiler for Postgresql so maybe that's what we need.#VisualCOBOL
This post is not so much a cry for help but the attempt to start a discussion.I just started to call webservices and the tool to use - according to this forum - was rmnet.So I managed to call HTTPPOST and HTTPGET and was pretty happy.Until I was asked to call a webservice with the method PUT.I tried, failed and asked the support. They sent me a link to a 6 year old post (community.microfocus.com/.../1726138 where the author basically said:PUT and DELETE are not supported, use curl instead.My colleague - the creator of the webservice I have to call - says the only difference between POST and PUT is the word PUT in the call instead of POST.So does anybody know why rmnet does not support PUT ?Can't this dll be changed ? What has to happen that microfocus changes the dll ?I find it so strange (not to say ridiculous) that rmnet supports the creation but not the update and the offered solution means a totally new workflow (to learn a new language, create a file with the call, make a syst
When unit-testing code, when I want to write code for db connect and db disconnect in the current framework, there is no place holder where we can do this a single time for all the test cases for one program.In the unit-testing framework we have entry points which define the program flow, I’ve mentioned the entry points below in the order that it is executed:entry MFU-TC-METADATAentry MFU-TC-PREFIXentry MFU-TC-SETUP-PREFIXentry MFU-TC-TEARDOWNAll these entry points are executed each time a test case is run, so when we write a code for db connect and disconnect in the test program( in any one of the above sections), and I’ve 10 rows in the input CSV file, then the db connect and db disconnect statements will be executed 10 times.This will cause a performance issue down the line when we are running 100s of test cases for a single program. Is there a way we can control the flow or have a section which is executed only once before and after execution of all test cases written?#VisualCOBOL#
I have a UK user who wants to move an RM/Cobol app from a Unix box to Windows 10 PCs. I have been trying to get some info from Microfocus about price and availability for months. I have had contact with 4 different Microfocus employees but can't get an answer from any of them to the following question - "What is the price(UK Pounds) and availability of runcobol for Windows 10 PC 64 bit - 3 user license and where can I buy if from)?". If anybody can help me I would be extremely grateful. Bob
We are going to be using the Microfocus Database Connectors with Visual COBOL. In our SQL data, we are looking to encrypt certain fields using the Transparent Data Encryption. My question is - Does the Database Connectors handle the encrypting/UN-encrypting part when sending the data to/from Visual COBOL program?
ISSUE: COBOL record layouts can contain multiple record definitions, and, each one of these records should be represented by its own table. HOW TO STEPS: In the Catalog Explorer, double-click the File Definitions node. This action will cause the catalog's file definitions(FD) to be displayed. Expand the relevant file definition, right-click "Record Types", and, select "New Record Type". Enter a name for the record type and click "Add". The <file-definition-name> tab is displayed, and immediately applies the record type, as indicated by the record type selector displayed at the top of the pane(see image below): In the In Selected column, select each field to belong to the record type. **Note: Selecting a parent node automatically selects all of its child nodes. If you do not want all of the child nodes, select the parent node for a second time to deselect child nodes. Click Save to Catalog. The record type is saved. After adding yo
Trying to read ISAM file via RM/COBOL [In Linux RedHat] and writes in output file. Detail Below : # Start key is Alternate Record key = Non-Contiguous Split key. [ Can contain duplicates] # Read Next. Read Next is resulting in records in below order. [Prime Key is Numeric in file].a. Prime Key 2b. Prime Key 1c. Prime Key 500 and so on.. Output file has records with same Alternate key.Records are not ordered on Prime key.Questions :a. How the records are ordered ? Are the records are ordered on Add/Update Date/Time in file or any other?b. I want record to be ordered on Prime Key. Is this could be accomplished via changed in some Configuration setting ? c. Is there any other document to refer other than Language/User reference for detail about Alternate Record key?#RM-COBOLAlternateIndexISAM
When debugging in Visual Cobol, if your program displays anything eg. display "result " some-varthis output ends up in the runw.exe window. How, for all that is holy, do you manage this window? Move it around, decide where it pops up, resize it, anything?If your debuging session is active you just get a busy cursor when you move your pointer to it. If you stop debugging the window goes away. In Net Express you had some control over this window, in Visual Cobol it's just horrible. Case in point, like many others I'm working from home, at the office I have two displays, at home I have one. This is where my runw window ends up, at the edge of the screen, cut off, and I cannot move it. So if anyone has figured out some way to interact with this *thing* - care to share?
Problem: COBOL allows invalid numeric data to be stored in a numeric field. However, since ODBC does not, invalid numeric data will cause an error to be returned when that data is encountered in a column. Resolution: In order to resolve the issue of invalid numeric data, you can configure Relativity to return NULLs for any encountered invalid numeric data. This may be accomplished in the new Relativity Designer via the following steps. 1) Select and Connect to the DSN for the table you wish to modify. 2) On the Tools menu, click Options. 3) In the Options pane, click on the Catalog tab. 4) On the Invalid Numerics Return NULL row, click on the down arrow to display the choices. 5) Yes, Except for Record Key Data Items is mostly commonly chosen. Please see the documentation link below for an explanation of the choices: https://www.microfocus.com/documentation/relativity/relativity1218/reldbdsn/RM%20Relativity/GUID-6810FD68-103E-450A-9D77-E1
Hi everyone,My coworker has been trying to submit a support ticket for a couple of weeks now. He need help with his credential as well. He called the support line but had to leave a message. Is there a better way to get help?
Problem: COBOL allows invalid numeric data to be stored in a numeric field. However, since ODBC does not, invalid numeric data will cause an error to be returned when that data is encountered in a column. Resolution: In order to resolve the issue of invalid numeric data, you can configure Relativity to return NULLs for any encountered invalid numeric data. To do so, you can use the Nullable Column Utility. The Nullable Column utility allows you to choose and apply the nullable settings for all numeric and date columns in your Relativity catalog. To start this utility in the Relativity Designer window, click Nullable Column Utility on the Tools menu. The following table describes the options available on the pages of the Nullable Column utility: Option Description Welcome The utility opens with the Welcome page, which explains the purpose of the utility. Click Next button to proceed to the next page of options or click Cancel
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.