Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
read more at microfocus Tech Tips: Debugging COBOL code in Visual Studio – Data Items Introduction An important part of the software development and maintenance process involves debugging code to fix problems or develop new functionality. Setting breakpoints and querying and modifying data items are key features of the debugging environ...... #SupportTips/SupportTips/KnowledgeDocs#SupportTips/KnowledgeDocs#COBOL#VisualStudio#breakpoints#debuggingcode#SupportTip
Advanced - Visual COBOL customer video - YouTube COBOL deployment using Docker enables optimized server infrastructure, rapid time-to-market, and DevOps practices for Advanced. Case study for Advanced: https://www.microfocus.com/en-us/case-study/advanced #CaseStudy
I am creating this safearray (for pass to COM object): move VT-BSTR to w-vartype move 1 to w-dimension compute w-y = a-x * 2 move w-y to cElements of w-saBound(1) move 0 to llBound of w-saBound(1) invoke OLESafeArray "new" using by value w-vartype w-dimension by reference w-saBound(1) returning w-accArray end-invoke move a-x to cElements of w-saBound(1) invoke OLESafeArray "new" using by value w-vartype w-dimension by reference w-saBound(1) returning w-modArray end-invoke initialize w-x perform varying w-Index from 0 by 1 until w-Index >= w-y add 1 to w-x move n'aaa' to acc-bank-acc-num invoke w-accArray "putString" using by reference w-Index by value 68
Hello-I support a payroll application that I need to make AcuToWeb compatible. It mostly is, but it currently uses the ActiveX control DtPicker for date entry. I have looked at the DATE-ENTRY control, and it does not suit our requirements because it will not support blank dates. Blank dates are essential to my application which includes many optional dates for termination date, leave start/leave end dates, deduction cutoff dates, ACH pre-notification dates.etc. We have to allow those dates to be 0 (blank).Has anyone else faced this problem, and if so how did you address it?Thanks for any suggestions.
PROBLEM If AcuToWeb is running with SSL enabled then AcuToWeb Desktop will not attach to the program when running in the Firefox browser. RESOLUTION This is caused by a configuration option in Firefox that locks down web sockets when visiting a secure https:// URL To allow the connection between the program running in the Firefox browser and AcuToWeb Desktop, navigate to the following address in the Firefox browsers address bar: about:config In the search bar of that page (not the browsers address bar) search for the following setting: network.websocket.allowInsecureFromHTTPS Right click on this setting and click ‘Toggle’. The value should now be ‘True’ Now when visiting the AcuToWeb connection setup screen after starting AcuToWeb Desktop, it will attach correctly and be waiting for the program to start. #TipfromSupport#HowTo
We recently moved from MF COBOL to Visual COBOL(Eclipse). When we were doing testing between MF COBOL and Visual COBOL we identified few differences in the extracts which are generated. In numeric variables the trailing zeros are missing in visual coboleg:MF COBOL: 9848300Visual COBOL: 98483Whether i need to change any compiler option, so that this issue will be solved?
Hi all,Hope you are having a good summer.I'm still a newbie when it comes to COM objects in Visual Cobol but I was hoping someone might be able to help me with calling PDFCreator. I am unsure if I am adding it correctly as a Reference but the program code isn't giving any error. Various .Net messages are popping up when I run the code, which hint at being unable to find PDFCreator or, more specifically, its various .dlls. I have the ComWrapper in the class-id section plus some entries in $set -- maybe they aren't right though. I'm honestly all at sea as to how to get it to work. I can't seem to log in to the forum via any browser at work (but can view posts) so am using my home PC to post this message. I'll try write more specific details tomorrow evening but if anyone has used PDFCreator from Visual Cobol before I'd appreciate if you could help. Thank you!John
I am getting an error in Relativity:−4123Catalog invalid; item has a duplicate presentation sequence value sequenceThe database catalog is invalid. Two items in the catalog have the same presentation sequence value. Item presentation sequence values are expected to be unique.What does this mean? There is no explanation in the Help documents in the Relativity Designer except for the message above.
I have this data type01 aCharArray object reference.It's VT-BSTR. How to pass it to standard PIC X(n) variable?#nativecobol
I am trying obtain the location for the coordinates of my windows form in the program so that I may pass these coordinates to the next form. I want to be able to show a form in the same position as my previous form. Doing this in C# is something like public System.Drawing.Point Location { get; set; }. But I simply do not know that the commands are in Visual Cobol. Thanks in advance for your help.
I have an old unmanaged/native application where I need to print a jpg image of a signature. Is there a way to print the image in native code?
read more at Micro Focus Visual COBOL supports digital banking strategy and delivers 65% faster time-to-market DIE SOFTWARE customer success! ... #CaseStudy#COBOL#VisualCOBOL
Does anybody know how to update the versions of your licensed products in your Product Profile in SupportLine? We are running v4 but our Product Profile still says 2.3.
Hi,I'm running VC 4.0 with the latest patch and Eclipse 4.8 and have issues compiling/building the COBOL JVM project relating to copybook includes within the managed COBOL& wrapper classes which was converted from Native.If I create a new COBOL JVM project and select - import/import/File System and select the svn project to import into my workspace within Eclipse this physically copies all the relevant files and I can compile & build successfully.However if I select Advanced/Create links in workspace from the import wizard I get compile errors and build issues.I keep the create link locations to the default environment variable 'PROJECT_LOC' and all looks okay as the jvm packages/managed code is imported but I get 'COBCH0008S Unknown copybook' errors with the COPY statement even after I have assigned the copybook package within project properties.If I re-import the copybooks it seems to fix the issue, however it reappears after closing & opening Eclipse.
I need to list records from an isam file (not datasource) when 'LIST' is selected on the Navbar.Once listed it needs to be responsive so that a record can be selected.Do I use Datagrid, ListView or DataView? Examples would be very helpful.Many thanks
I have an INT/GNT project in Visual COBOL / Visual Studio. If I choose the "Oracle Pro*COBOL" preprocessor in the SQL tab in Project Properties and then click on the Add button, I notice that the options available are not the same as the options presented in the "Pro*COBOL Programmer's Guide 11g Release 2" (https://docs.oracle.com/cd/E11882_01/appdev.112/e10826/title.htm). The CONFIG and SQLCHECK options e.g. are not avaible in Visual Studio.But if I enter these two options directly in the cblproj file they will be accepted by the compiler. And if I right-click on the project in Solution Explorer and choose "Determine directives", the SQLCHECK option will be added.What is the logic behind this?
Can anyone recommend which is the best framework to use for building a website with Visual Cobol. So far I've looked at Bootstrap but would welcome any other suggestions.Many thanksShirley
Has anyone done this, or can give me a good example of using .NET Assemblies in AcuCobol. Thanks
I recently updated my Windows 10 PC, and now I can no longer double click in any of my List boxes that are created in our software.I am currently running RM/COBOL version 12.12Anyone have any ideas on how to fix this? I'm afraid if this is happening on my PC, that it will also do this on our customers PCS as well.
I have a project where there are embedded SQL and XML as well. When I add "$set preprocess(prexml) endp" at the top of the cbl file or add the Micro Focus XML Preprocessor in Project Properties - Preprocessors and make a rebuild, the build process seems to get hanged. The Output window keeps adding these lines until I cancel the build process:------ Rebuild All started: Project: IntGntProject1, Configuration: Debug x86 ------* Cobsql Integrated Preprocessor* Compiling c:\\jens\\visualcobol\\IntGntProject1\\IntGntProject1\\K2281.cbl* CSQL-I-008: Invoking CP PreprocessorMicro Focus Embedded XML/HTML PreprocessorVersion a.b.cc Copyright (C) Micro Focus 1984-2018. All rights reserved.Micro Focus Embedded XML/HTML PreprocessorVersion a.b.cc Copyright (C) Micro Focus 1984-2018. All rights reserved. ...Anyone has an idea what's wrong?
Is it possible to create external stored procedures in DB2 LUW-environment using Visual COBOL?We are running SQL Procedures in our current setup but there is a demand for creating External Stored Procdures using Cobol. Mostly because Cobol is common knowledge where I work.I have done this before but that was in a zOS environment using a WorkLoadManager.Now I need it for Linux and DB2 LUW.From what I have read there are certain database auth you need and I have granted this.As default the load modules should be placed in /sqllib/function-directory of the database server. I have some issues putting load modules in the right directory but before I solve that it would be nice to know if anyone have succeeded in writing stored procedures in Cobol for a DB2 Linux environment.If there are documentation that I didn't manage to find, please point the direction, but info from someone who actually did it is even better.regardsPeter
Hi,I have to communicate with an ID document scanner to get the data that will be read by it. I have to send a request with certain parameters and receive the data through an xml file.The parameters to send are the ones belowI have an example in C # and, according to the debug I did, it seems to me that the instructions for the request are these:System.Threading.Thread workingThread = new Thread(ScanWork);workingThread.Start(parameters);I still can not figure out how I get the answer but I'll try to figure it out. In the meantime I ask for your help once more.Best regards,Alberto Ferraz
I'm using mainly the INT/GNT project type in Visual COBOL and I'm planning to upgrade from Oracle 11g to Oracle 12c. But since INT/GNT requires the 32-bit Pro*COBOL compiler and the only 32-bit edition among the 12c editions is the Client Edition, I'm planning to install the 64-bit Standard Edition (including the database) and the 32-bit Client Edition (including Pro*COBOL).What do you think of that?Am I wrong in that INT/GNT requires 32-bit Pro*COBOL?
Problem I would like the .class file produced by the JVM compiler (cob -j) to be output to a different directory rather than be placed in the same directory as the source file. Solution You can use the command: cob -j -C iloutput\\"/home/project/bin\\" program.cbl Note: The directory /home/project /bin must already exist. #JVM#compile#class#directory
Problem. I use the PuTTY terminal emulator and when I try to use the function keys whilst animating a program they do not work as they should. In particular the F2 key should toggle between the program code and the program output, but the key press has no effect at all. Solution. In PuTTY configuration, select Terminal ->Keyboard and note that the default setting is ESC[~. This needs to be changed to VT100 . The anim function keys will then work as expected. #functionkeysanimatePuTTY
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.