Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi, When I compile the example on this link ( community.microfocus.com/.../what-is-a-quick-way-to-test-whether-server-express-can-compile-and-run) with this command: tehpu091!hpemsm1:/tmp/cob_test [353]> cob -x -v -Q k -o pi pi.cblcob32 -C nolist -x -v -Q k -o pi pi.cbl* Micro Focus Server Express V5.1 revision 000 Compiler* Copyright (C) 1984-2009 Micro Focus (IP) Limited. URN RXCPV/AA0/00000H* Accepted - verbose* Accepted - nolist* Compiling pi.cbl* Total Messages: 0* Data: 2548 Code: 365* Micro Focus Server Express V5.1.00 Code Generator* Copyright (C) 1984-2009 Micro Focus (IP) Ltd. All rights reserved* Accepted - verbose* Generating pi* Data: 2092 Code:&nb
It's time to revamp our bitmap button bar, and before we invest in code that decides on which of several size bitmaps to use, depending on screen resolution, one thought is to simply use an SVG icon instead of a bitmap icon. Anyone figure out how to do this?
Hi Everyone, My company is looking for an automated regression testing tool for LCS (Logical Claims Solutions). We are currently on v10 on Windows 7. We are planning to upgrade to v12.14 and Windows 10 in the near (?) future. Does anyone know of a tool that can work for both versions?
How to generate QR code and convert it to jpg file ?? to print Thank you#qr
Can you access enums in one class from another? I have a models folder with some enum values setup in a class file. I want to access those enums from within another class. When I instantiate the class object (myClass type Stats value new Stats()), i was hoping to have access to the enum values, but intellisense does not seem to recognize them. Thanks.
Hi, I'm using the NetExpress v3.1 and I had an entry callback in my program, as below; 000-Program-Body section. invoke entrycallback "new" using z"onCloudError" returning osException invoke exceptmgr "register" using oleExceptMgr osException : : :888-Callback section.entry "onCloudError" using by reference lnkErrObject by reference lnkErrNumber by reference lnkErrText. ....{do some display} and.. go to 000-Program-Body. I need to go back to the top of my program, and just continue with the normal flow (again) and re
Hi, Is there anyone who can provide me the sample program wheelevent.cbl. It is supposed to be included in the AcuGT > Samples directory but I can't find it. Thanks in advance.
Is there anybody who has a sample program to do this. We wrote a link but sometimes we got the following error: The server returned an exception. We run version 9 of extend with ACU THIN CLIENT Kind regards,
the precompile-step "P(gcc) -E -P -x c -I/home/max/workMax/include ENDP" gets always the error "COBCH0018S Preprocessor error on initialization" Any idea, what went wrong?
Are extension methods still recognized in the latest visual cobol for .net? I have a very simple ext method I am trying out and it does not seem to be recognized. I keep getting the error Undefined Error Contact Tech Support. I have a static extensions class like this. class-id Extensions static. Method-id CountWords(str as string) returning result as binary-long extension static. declare #words as string occurs any = str::Split(' ') set result to size of #words end method. End class. Then my calling method is in another class like this. Method-id SomeMethod() declare a as string = "Mary" declare b as binary-long = a::CountWords End method. Intellisense does not recognize CountWords as an extension and I get the error noted above.#VisualCOBOL
We have a legacy Net Express 3.1 application that just got moved to a new Windows machine along with the runtime files and when invoked we see the EXE running but the screenset is never displayed. We have tried using compatibility mode and a variety of other things but cannot narrow down why it works on one machine and not on another. We do notice on the machines where the screenset is not displayed that the EXE it taking 5-10 percent CPU which it normally does not on a machine that displays it correctly so I am assuming it's cascading an error but we cannot see it. The OS versions involved in the test are Windows 7, server 2008 and 2012. Is there any way to debug the program or screenset on the offending machine without recompiling? Thanks for any information.
I installed NetExpress 6.0 on a development machine and went about trying to compile a module. The code here at my new job is uses copybooks for everything. The Properties tab in the menu under Project is disabled. When I compile a module it fails because NetExpress can't find the copybooks. Any assistance is welcome.
Can anyone convert this to visual cobol .net. I am having trouble with the byte array. using (RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider()) { byte[] buff = new byte[Convert.ToInt16(saltsize)]; rng.GetBytes(buff); return buff; } What i have thus far is local-storage section. 01 buff type Byte[] occurs any. perform using rng as type RNGCryptoServiceProvider = new RNGCryptoServiceProvider set buff to buff[type Convert::ToInt16(saltsize)] end-perform#VisualCOBOL
The tutorials for creating a web application with visual Cobol state I must select WEB under the COBOL template. The only options I have are Managed and Native. What do I need to install to get the WEB option? Thanks Shirley
RM/COBOL-85 Compiler - Version 6.09.04 for SCO Unix System V R 3.2.2 is used on a number of systems where the configuration is supposedly identical (aside from registration number) to many other systems, but, on the affected system, the compiler fails to build source files in a standard folder. For example: $ cd /PROJECT/25 $ /usr/bin/rmcobol SCH399RM/COBOL-85 Compiler - Version 6.09.04 for SCO Unix System V R 3.2.2.Configured for xx users.Copyright (c) 1985, 1986-1996 by Liant Software Corp. All rights reserved.Registration number: TA-xxxx-xxxxx-xxOpen error for file SCH399. The issue is not permissions related, and the error message is misleading. Using a system call trace utility, I can see that the problem is one of path translation. In the partial log below, note that SCH399.CBL is found in the current working directory (/PROJECT/25) but the compiler proceeds to attempt to open the source file at the path "/dev/25/SCH399.CBL". It obviously fails becau
Assume I have two instances of the runcbl running. Each running an extend cobol application. Designate them A and B. Can A do something that would interrupt an accept statement that B was doing? (And preferably in such a way that B knows A did the interrupt and can get some information. Just like the thread "SEND", but between two separate runtime instances.) I've figured out one way to do it, but it requires creating a socket service program to route socket messages between the processes, and each runtime session would have to spawn a thread that connected to the service so messages could be received from the socket, then internally "sent" to the IO thread. I don't need this feature badly enough to write the code to do all that, so I'm hoping someone else has already solved this or has a better idea.
PROBLEM When a shared or mapped drive is set in the Working Directory in the Alias then there will be an error 267 in the AcuConnect logs, and the program will not run. This same set up works on Windows 7 but not now with Windows 10. RESOLUTION Microsoft has increased security on Windows 10. Now services created as Local System account cannot access mapped/shared drives. The Windows error 267 means ‘The directory name is invalid’. The AcuConnect service is created to log on as ‘Local System’. As such it cannot access the drive and returns the error. There are 2 solutions to get around this issue. Depending on your setup and system architecture, 1 solution may work better than the other. SOLUTION 1 – Change the AcuConnect service to not run as the SYSTEM account. Press the Windows R keys which will open the ‘Run’ window. Type ‘services.msc’ enter, this will open the Services window. Find the AcuConnect service i.e. AcuConnect 10.2.0 on port 10200 &
I was wondering if there is a tutorial or example for calling a URL and manipulating the response.
Hi, one of our customers has the following request: because it's difficult for him to see the cursor he wants the current field to be highlighted (for example with color). Has anybody solved this issue ? Is there a way to do this automatically (with Acu or via a windows theme) ? And will the solution apply to all controls (even check-boxes, radio-buttons and combo-boxes) ?
Hello, Sometime ago, we post about a problem in our installation CD of acucobol runtime 64 bits v8.0.0. Here is the link community.microfocus.com/.../5958.aspx we are looking again to solve the problem, because the option of copying the folder after install using the setup not works well. When the runtime executes, we get an error of no license archive found. The text of our license says this: ACUCOBOL-GT Runtime v8.0.0for x86 running Windows Vista 32/64bit #Users 50 And this text make me think it's not a real 64 bits runtime or the license given isn't a 64 bits runtime license. Anyone with same problem? Thanks afterwards#runtimeerror
Hello everyone, After experimenting with the AmortControl sample, i enabled the window to be resizable. When i resize the window, the screen behaves in unpredictable ways, wiping out all the dot net controls. Is it a problem of the cobol run time ? - Before resize: - After resize: Thank you all.
Since we are on this subject, and you are updating this process it would really be nice to have some sample programs that actually create pdf's, and they should contain code for all the library calls that are supported. Back in the day Acu provided sample programs that were very good starting programs. PDF is becoming or shall I say the defacto standard in the industry today. Being able to generate graphical invoices and statements that blow away the competition from within our applications as PDF's would be huge today. The bench is not a good means to create graphical forms from within our applications today, there is no easy method I am aware to piece this code into existing programs today. We have been exploring creating Dynamic PDF's using Adobe LiveCycle to create the forms, then generating XML code to merge the form and the xml code using other 3rd party software, if we could instead use these new PDF libraries it would be fantastic. We did explore other avenues such
How do I get Visual COBOL runtime to accept a blank or generic TERM environment variable? All of our COBOL programs run on Linux with no user session (started by cron or other daemon processes). All of these programs have stdout redirected to log files and use the "DISPLAY" statement to put info into the log files. Most of this works fine, but in a few cases (and I cannot see anything special about the DISPLAY statements) I get a message like com.microfocus.cobol.program.COBOLRuntimeException: 191 Terminal type not defined [ts236h (while in native code - see cause for more information)] There is no TERMINAL per se, so I just want the DISPLAY the string. The last line in the log file before the error is from this source line display 'values returned to topend: ' out-detail-tbl. where out-detail-tbl look like. 01 out-detail-tb
Hi I am trying the new function "C$PDF" for runtime 10.2 I am trying to add a jpg image to a pdf file - but I am having trouble. When executing I get an error: Invalid or missing parameter to "C$PDF" using hpdf-page-drawimage Is there anyone who can see what I'm doing wrong ?! identification division.program-id. pdf. * Create a PDF file using "c$pdf" routine. Insert jpg image.* Runtime version 10.2.0 or newer is necessary ! environment division. data division. &n
hi, How do you get the Break on Data Change option for Variables in Unix version of Net Express 5.1 ?, I am able to use the option in the Windows version of the same. Scouring the Internet and Documentation from the Micro focus Website, i found the following Commands. Monitor Q, C, F4 Monitor Break Change Q, C, Ctrl F4 Monitor Fixed Q, C, Ctrl F5 I am able to use the Monitor Feature, but the remaining two commands only does a Step into and does not Break on changed Value. #Monitor#breakpoint#animation#NetExpress5.1#unix
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.