Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
My friends, We've recently suffered na HD crash and had to format the HD from our main development machine. What steps do i have to do in order to have a fully operational Net Express machine again? Should i reinstall Net and simply inform my new request key? There was no way to obtain a revoke key from the previous install due to the crash.
Hi, We have a client with a large COBOL application built on Net Express 5.1 - the data files are indexed ISAM COBOL files and we need to be able to read data from these files in C#.NET you you suggest the best approach to do this as the application is too big for us to re-write in C# and the client wants to keep his application i COBOL we just need to be able to access the data files from a C# application.
Hi, I was just wondering if anyone has done any work trying to interpret WINPRINT-MEDIA-TRAYS values over 255? These are the user-defined values, which probably mean something to the author of the printer driver, but are meaningless to an end-user without some sort of text description. Yours hopefully, Ian
We have just converted to Visual Cobol from RM. Since we've gone live about a week ago we have users calling to complain that they are locked up in programs. We're finding if one user is in a program that opens a record for I-O and another user is trying to run a report that uses the same record, the report program gets locked up, even though the report is only opening the file for Input. RM did not display this behavior - in RM as long as the reporting program was opening the file for input then the report could be ran. We're looking for a way around this. We found Visual Cobol documentation on line that references doing a read next-record with ignore locks but we get a compile error on the word ignore. We are running native code on Red Hat Linux.#help#rm#COBOLVISUALCOBOLMIGRATION
I am trying to call a JavaUI program ”JavaSwingUI.Java” from Acucobol program on click of a button which will load the UI screen. I have the following in my event paragraph : CALL "C$JAVA" USING CJAVA-CALLJAVAMAIN, "JavaSwingUI" GIVING STATUS-VAL. Java code: public static void main(String[] args){ JavaSwingUI swingUI = new JavaSwingUI(); swingUI.prepareGUI(); } Initially CALLJAVAMAIN was missing in java.def file, so I added it with opcode 29. Now, when I execute cobol program which is going to call main function of the java program it errors out with -8 ‘Invalid Opcode’ I am using Acucobol720. Do I need to place most recent java.def file? or Is there a different way to call main method of Java program?
We are running Microfocus Cobol in a Linux Environment and recently upgraded to VisulCobol 2 2 1. We have discovered a couple of things where this version is acting in a different way compared to our old one. I have one example that I would like to share. Maybe someone else has faced the same problem. example: 01 W-INIT PIC X(20) VALUE '1234567890ABCDEFGHIJ'. 01 X1 PIC X(20) VALUE SPACE. MOVE W-INIT TO X1 MOVE X1(10:10) TO X1(11:10) After the second MOVE X1 will contain '12345678900000000000' . It seems like the tenth position,"0" in this case, will duplicate into position 11 and 10 positions forward. This is a different behaviour compared to our previous version where it worked fine. If moving to a new variable it works fine, but if you are trying to move around within the same variable you get thi
I am using EXTFH and cant figure out how to open the file as shared so it can be opened again in the same run unit. Can anyone help? Scott
private void limparTextBoxes(Control.ControlCollection controles) { foreach (Control ctrl in controles) { if (ctrl is TextBox) { ((TextBox)(ctrl)).Text = String.Empty; } }}To calllimparTextBoxes(this.Controls);
I want to convert a NetExpress solution that has dialog system screen into Visual Cobol, I have the Visual cobol on a separate laptop than the current NetExpress project. Is there a standalone DIalog systems download that I can install on my new laptop to look at the screens for the new solution?
I'm currently working in an RM Cobol environment, and working my way into Visual COBOL. I have a question concerning adjusting the file/record size of existing systems. For example if a record is 1024 Bytes, and more fields need to be added. I currently write a conversion program to convert the file to the new size (Basically creating a new file with the improved layout and moving the old record to the new file). Then I update all the systems that use the file to the new size and layout. Which can be a pain if its very popular file layout. We don't use copybooks (boss has a horror story about helping a city with Cobol who had sources but all the copy books where missing). I was just wondering how you could, with Visual Cobol, do the same thing? And how would you track down which programs need to be rebuilt, in a Visual Cobol world. Finding the programs in RM is as simple as doing a search in the Source Directory for all programs that use the name of the file. But since Visual COBOL us
Our users are connected to a company Intranet, which, if there is no apparent activity for 2 minutes from a user, forces them to sign in again. This is a nuisance, so is there any way of running something in the background that will show activity to the intranet controls? The users do not want any screens popping up. I have tried a few things but normally end up in a tight loop which uses 40% of CPU. Anyone got any suggestions?
In an unpaged grid sort settings can be defined for each column. Does anyone know how a column can be sorted automatically without an user action (not mouse-click on the Header) Something like this: modify grid-1(col3), "sort ascending"
Hi all, We are using version 9.2.0 and we are facing the following problem: Our complex application has 18 files declared in the Data Set. All "File Controls" are of the type: SELECT OPTIONAL MY-FILE ASSIGN TO DISK "FN-MY-FILE" ORGANIZATION IS INDEXED ACCESS MODE IS DYNAMIC LOCK MODE IS MANUAL WITH LOCK ON MULTIPLE RECORDS FILE STATUS IS STATUS-MY-FILE RECORD KEY IS MY-FILE-KEY. So far so well, compilation passes with no error. If we add a 19th file (of the same type) then we get the error: "Too many errors, compilation aborted" with no other info. If we change the lock mode of a file from "MANUAL WITH LOCK ON MULTIPLE RECORDS " to some other e.g. "AUTOMATIC WITH LOCK ON MULTIPLE RECORDS WITH ROLLBACK" then compilation passes with no errors. (To be more detailed, we have now in the Data Set 18 files with lock mode = "MANUAL WITH LOCK ON MULTIPLE RECORDS " and 1 file with lock mode = "AUTOMATIC WITH LOCK
I have a need to generate a Tab Delimited file for export to an off the shelf program. where can I find information on how to insert tab characters between data elements in a line seuential file.
Problem With RM WoW Designer is it possible to limit the length of the lines when the code is generated? Resolution By default, the code generated by WoW designer can be longer than 72 columns. This can cause a problem as the designer does adds the following to the code: >>IMP MARGIN-R IS AFTER END OF RECORD Within the Designer, there are two areas to be able to set options, the options/preferences and the project/options. The project options override the WoW Designer preferences. The option that needs to be selected is the ‘Generate Short (72 column) Lines.’ Incident #2831580 #RMCobol#WoWDesigner
Is there any documentation on the functions exposed in AcuBenchPrint.dll? Thanks! #acubench#Printing
I am facing an issue while using the sample Acucobol program to call Java from cobol. I have small piece of code in my cobol program as : CALL "C$JAVA" USING CJAVA-CALLSTATIC "C:\\Javaprojects\\TestCobol2Java\\bin\\CobolCallingJava", "CobolCallingJavaInt", "(I)I", FIELD-INT, FIELD-RET GIVING STATUS-VAL it returns status-val as "-3" which seems classnot found I have tried with both with or without pathing but it results same. Java program cobolcallingjava.class reside at C:\\Javaprojects\\TestCobol2Java\\bin and cobolcallingjava.acu reside at c:\\maint\\object. I am using Acubench 720 where I could not find the config file. so I modified the cblconfig file as per instructions file. Where do I need to place the config file and keep cobol & java code.? I suspect issue is with different locations. Appreciate your help!#JavaClass
Hi, I am trying to migrate our Server Express 4.0 systems from an AIX 5.3 TL05 LPAR to an AIX 7.1 hosted WPAR running 5.3 TL12. after a test migration we now get the following when compiling a simple program. cob fkey.cobExecution error : file 'direct'error code: 119, pc=0, call=1, seg=0119 Name is not unique (binding symbol 'direct') If we try and run a previously compiled program we get Execution error : file 'mfini'error code: 119, pc=0, call=1, seg=0119 Name is not unique (binding symbol 'mfini') If we revert back to using an earlier level of (AIX 5.3 TL10) within the WPAR it works o.k. We also tried upgrading to Server Express 5.1 but still have the same issue. The WPAR was created using the -l switch so it has its own /usr and /opt I would be grateful for any assistance anyone might be able to provide. cob fkey.cobExecution error : file 'direct'error code: 119, pc=0, call=1, seg=0119 Name is not unique (bindin
Problem: I want to run .NET COBOL applications on my workstation without COBOL Server installed locally. How do I configure this to run a .NET COBOL application from a network COBOL Server installation? Resolution: To run a .NET COBOL application from a network server You can deploy a .NET managed COBOL application on a network server so that all workstations that are mapped to the server can run the application without the need to install COBOL Server 2012 locally on each workstation. Note: Throughout this topic, the installation folders should include the correct name of the targeted deployment product - COBOL Server, COBOL Server 2012, or COBOL Server 2013. Before you can configure your .NET COBOL application, ensure that: COBOL Server 2012 is installed and licensed on the server. The workstations that are accessing the server on the network have the necessary permissions. (see Trust issues below) If your application also uses native code components, you need to setup the lic
hello , I wonder if it is possible comparisons between datagridview thanks
Back in my NetExpress days I could look at the contents of an ISAM file using the Data File Editor. Research indicates that that tool is also available in Visual Cobol, however I cannot seem to figure out how to install it. I'm running version Visual COBOL 2010 R4 Version 1.3.20019. at the moment, and I have a full license. I plan to upgrade to VC 2.2 in the near future, but we're going through something of an infrastructure upgrade here and I'm stuck with a PC running WINXP at the moment. I've gone through the standard upgrade screens on the MicroFocus web site, but I can't seem to find the right path to get the Data File Editor for my version of WC. Can you please perhaps point me in the correct direction to get me started, and let me know if there's anything I need to know prior to installing it? Thanks!
I am facing an issue while using the sample Acucobol program to call Java from cobol. I have small piece of code in my cobol program as : CALL "C$JAVA" USING CJAVA-CALLSTATIC "C:\\Javaprojects\\TestCobol2Java\\bin\\CobolCallingJava", "CobolCallingJavaInt", "(I)I", FIELD-INT, FIELD-RET GIVING STATUS-VAL it returns status-val as "-3" which seems classnot found. Not sure if I mentioned the full path of the class file why it still could not found? Any help?
I have 2 separate solutions in the attached zip. One solution - NatCon1 - contains 1 native project - NatCon1. The other solution - ManWin1 - contains 2 managed projects - ManCon1 and ManWin1. These are intended to demonstrate: 1) a native-calling-managed scenario (based on your CCW concept, but using separate solutions), as well as 2) a managed-calling-managed scenario (within the same solution). Here is the weird behavior - in VS2013, when using native NatCon1 Program1 to call managed ManWin1 via "Start Debugging", it appears to honor the forced default setting of the focus onto the Exit button on ManWin1 Form1. (see the "invoke button1::Select()."). But, when doing it via "Start Without Debugging", it appears not to honor the [attempted] forced focus onto that Exit button. The debugging aspect would be associated with the native project, not with the called managed project, so I am confu
Hi, Is there any way to create a managed dll in Visual studio using the CBLLINK utility.? Earlier in our Net Express project we used to create dll using the command: cblLink -d -s -oxyz.dll @xyz.lnk . This command creates a native dll. Is there any way to create a managed dll using the same procedure. I do not wish to use the IDE for dll creation.
Hi These are the default directives which are set in NE. %FILENAME COBIDY(%TARGETDIR) WB3 WB CSI ANIM EDITOR(MF2) ENSUITE(3) nobell errq errlist rawlist linkcount(1024) bound perform-type(osvs) retrylock align"4" I need to replicate these directives in Visual COBOL. Can anybody help in explain the meaning of these directives. specifically " %FILENAME COBIDY(%TARGETDIR) WB3 WB CSI ANIM EDITOR(MF2) ENSUITE(3)" Thanks!
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.