Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi, I am facing issue when rebuild the file, it show chain broken/file broken. May i know that how can rebuild a corrupted file with 100% recover without any records lost? Thanks You.
Hello, I am trying to use the same screen section for several purposes. In a case all input fields must be available to the user, and in another case some fields must be protected and not visible. Of course the change in the field attribute has to be done at run time. I tried to play around with the ACCEPT CONTROL clause, I simply move "PROTECT" to a variable previously linked to the CONTROL clause in the SCREEN SECTION. Result: The field is effectively protected but the cursor stop on it when I hit tab from the previous field!!! Is somebody knows if there is a way to avoid the cursor to pause on it? #VisualStudio#ACCEPT#VisualCOBOL
Hi.On some Windows 10 PCs I have been confronting a problem when my software executes the next instruction from a rm cobol program. In the majority of the PCs with which I work this instruction works perfectly, but in the new Windows it ignores the instruction and I can not open the text file. Does anyone have any suggestions to solve this problem? CALL "SYSTEM" USING QUE-TEXTO-OPEN 02 QUE-TEXTO-OPEN. 03 FILLER PIC X(6) VALUE "WRITE ". 03 FILLER PIC X(17) VALUE "../Programas-wow/". 03 FILLER PIC X(13) VALUE "doc-inventar/". &nbs
I've recently added a MAC to my collection and found a VS 2017 for MAC download. Has anyone used this or is familiar with using a MAC with Visual Studio and Visual Studio Cobol PE. Is it the same Cobol download for the MAC as the one for Windows? Need to know if it will function the same as my Windows versions.
Is there an easier way to convert a RM Comp-6 to something that OpenESQL would recognize. The error I get is "does not have a suitable definition to be used as a host variable" The only way I've gotten this to work is move it to a Non Comp-6 Field first (into a signed non-packed field for example) ... then using that variable. I was hoping that CAST or CONVERT functions would work, but Haven't had any luck getting it to work, or I've just go the Syntax wrong. Thanks for your help/insight. Eric Boatman
Hi, we are trying the following: when the user starts a runtime we want the initial program A to call a little program B (as a thread) that runs independently as long as the runtime is running. Even if for example program A calls program C with CALL PROGRAM. Is this possible ? How would you achive this ? The thread was our first idea. If you come up with something other than thread we are open for your solution.
Hi all We are experiencing better execution 2nd time we run a program in the day, especially with large amount of records. The program read through a big file much faster second time. Has anybody else experienced anything like this Of course, this can happen by using the computer's cache. But if the computer is not closed, how can the same happen the next day. First execution takes a lot longer time that the second. Is there a way to control this cache? First of all make it as big as possible. Second, how do I avoid the cache is deleted during the night. I have been told that Acu only makes cache for programs when using acuserve. Is it possible to see what is stored in the cache? The programs is executed with Wrun32 directly on the server, version 7.2 but it is also seen in 9.2.1 Best Regards steen
Hi all, does anyone had this problem already? With the latest version Micro Focus Extend Runtime Version 10.1.1 I receive very strange values in wprtdata-lines-per-page (like 1431 or 1766, every time something else) when I use the command: call "WIN$PRINTER" using winprint-get-page-layout winprint-data. If I do the same with an earlier runtime (I used 7.0.0) I get normal values like "76". So, is it a bug (serious one) or do I have to change something?
Hi everyone, I've a Java program called consStatServ.jar and basically the main method creates a XML, and send it to a web service and returns a response, however to send it to the web service, I need to put in it a signature, for do this is necessary using certificate. In this case, I'm using Oberthur. This method works fine when I execute it in Eclipse, but when I call it within Acucobol C$SYSTEM causes error: "error signing certificate verify". I've already tried using the C$JAVA and it triggers other error caused by use of protocol object in a Java method. What's wrong? Is there another way to do this? Regards, Carlos#AcuCobol#CSYSTEM#JavaClass#extend
Prezados Amigos, Usei este programa como exemplo para gerar documentos no Microsoft Word: $set ooctrl( P) ooctrl( Q)*copy "word.if". *> Word vocavularies*copy "excel.if". *> Excel vocabularies program-id. WORDAPI. special-names. call-convention 2 is WinApi. Class-Control. *------------- WordApp is class "$OLE$word.application". *> Word 97 Working-Storage Section. *------------------------------ 77 j pic 9(003). 77 k pic 9(003). 77 wChar pic X(001). 01 WordServer object reference value null. 01 theDocuments object reference value null. 01 theDocument object reference value null. 01 theSelection object reference value null. 01 theReplacement object reference value null. 01 theParagraphs object reference value null. 01 theParagraph object reference value null. 01 theRange object reference value null. 01 theFind object reference value null. 01 wText pic X(255). 01 found pic x comp-5. 88 found-True value 45. 88 found-False value 48. 01 Program-Flags p
Hi all, I am a experienced COBOL developer having used MF products for many years in Windows PC environments - currently Visual COBOL / Visual studio. However my knowledge of direct Windows functions/api calls is more limited e.g. I launch a few apps to run scripts to find printers, display browser windows and manipulate MF Dialog System objects. I'd like to learn about Windows programming from an MF and general perspective i.e. how to process windows objects, how they are structured, how I can use built in Visual Studio/.Net functions and so on. As background I also use MySQL and program in PHP and javascript and have developed a few windows scripts. Many thanks, Linden
Problem: I have shipped Selected Files from COBOL Server together with my application files. When I run the application from a remote PC the RT Error 245 occurs. Resolution: Note: Micro Focus recommends that you ship the whole of COBOL Server with your application. However to provide backward compatibility, you can still select and ship specific files. Follow instructions in the Knowledgebase Article: Network deployment of Visual COBOL 2.3 native applications For this type of installation/configuration the progname.exe.mfcfg should contain the following two lines: SET BINPATH=\\\\ServerName\\COBOLsrv SET CESDYNAMIC=ces.ini
We are using acuxdbc with OEM-CHARACTER-SET ON It is working with Acuxdbc 10.0.0 32 bits It is not working with Acuxdbc 10.0.0 64 bits Is there a raison or...
I have two strange problems with the Output Window of NETEXPRESS 5.1 that appeared suddenly without having modified anything in the configuration.. Formerly when I selected some text in the output window and copy it to the clipboard, then pasting it in other application (Notepad or word) everything went quite well. But since some days nothing happens, nothing is copied. The second problem, I suppose it is related to the first is following: When some error messages appear in the output window, a double click positions the cursor on the error line of the source program. Now, just nothing happens after double click. Any Idea what is wrong with the configuration? Thanks in advance Rolf
Prezados Senhores, When I insert an object into a screenset in Dialog System 3.1, the borders look like 3D. Is there any way to show these borders without this effect but with borders as in a textbox? Best regardsRogerio Barbosa
Hi all, Is there a data structure similar to Python's dictionary? In other words, an array like: my_dict('name') = 'Jack' Thanks
Hi, Got a new message here and it is displaying after compilation. Below is the message; "808-S Maximum number of data items exceeded." Any solution to this?#netexpress3.10#COBOL
First: Please excuse my lacking knowledge of the Micro Focus product structure and licensing. I have built a little Visual Cobol application in Eclipse and wish to run this on our customer sites. We will of course run this on the Java Virtual Machine BUT from my understanding the customer also does need a cobol runtime installed for licensing purposes? If so, is this runtime product the "Cobol Server"? Our customers are mostly on the "Micro Focus Server" product (running code built in NetExpress). Will we be able to run our java application on machines with "Micro Focus Server" or do we need to upgrade to "Cobol Server"? (Can NetExpress built code run on "Cobol Server"?)#license#Java
Hello, Does anyone have any experience converting a COMP-6 data field to a readable value? I'm trying to read a Vision Version 3 file in C#, and I can see the uncompressed data just fine, but not the COMP fields. What type of encoding should I use to get these out of the data? Thanks Dave
In Extend version 10.1 (wrun32) there seems to be a memory leak. I have a program that calls many COBOL subroutines. This process is repeated very often. The COBOL subroutines should be removed from the memory after every run with "cancel all". After the program has run for several hours, it crashes without further error message. The only hint can be found in the error file via the runtime switch "-e errfile". There is "out of memory". During several debug attempts, I could see that the overhead memory is constantly and strongly growing. Does anyone have any advice on how the overhead memory can be freed?
Hello All, I was wondering if there was a way to read indexed vision files directly in a C# program, without the use of the XDBC program? Thanks Dave
Hi, Was wondering if you can help me figure out if this is a limitation of the C$SYSTEM and C$RUN. I want our application to open a web browers and continue on (have it run on it's own). If I put in the path (e.g. "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" url) all is good when I call C$RUN or C$SYSTEM. The problem occurs when we replace 'C:\\Program.....' with 'START CHROME url'. When using C$RUN it comes back with a status -1 (error occurred). Using the same command in DOS (e.g. start chrome http://google.ca), it works fine. Thanks in advance!! Dennis
Sorry to revive an old question, but I'd like to know if it's now possible with extend 9 or 10 to disable the initial comment in XML generated by C$XML (original filename and "generated by ACUCOBOL-GT", etc). This has been asked in the past, but there was never much of an answer. Since C$XML does pretty much what I want, I'd rather not get into other solutions like XML Extensions. I've already tried deleting the comment with CXML-DELETE-COMMENT, but it doesn't seem to be handled like a normal comment in the XML. I can't even access it with CXML-GET-COMMENT, like I can with comments I've added myself. Is there some trick or configuration setting for getting rid of this comment? Thanks, Claire COMMENT
Hi, May i know that how can i convert the hex value to ascii value using cobol. Thanks You.
Hi there, My Environment: Visual COBOL 3.0, Visual Studio Community 2015 How can I keep tabs when reading line sequential files i.e. not expand to spaces? Ideally I want to set it so that my project always just writes and reads line sequential files without interfering with the content i.e. no null insertion and no tab expansion. Thanks, Linden
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.