Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem After Net Express 5.1 has been installed you might find that you are unable to generate a Request key. When you go to the MICRO FOCUS License Management System Configuration screen (i.e. Windows ‘Start’ > ‘All Programs’ > ‘Micro Focus Net Express 5.1’ > ‘Configuration’ > ‘License Management System’ you might find that although Net Express has been installed and there were no errors during installation that ‘Net Express’ does not appear under the heading ‘Product’. If Net Express does not appear under the heading ‘Product’ it means the License Manager does not recognize that Net Express has been installed on that machine. Resolution One of the most likely causes of this error is that the user who installed Net Express did not have sufficient user permissions. For example, if Net Express (and subsequently the License Manager) had previously been installed
Problem: The error “Micro Focus License Manager service is not running” almost always occurs when attempting to RUN a COBOL application – eg on a production machine with Application Server/Server for COBOL installed. However, there are circumstances when this error might also occur when building a Project in the Net Express IDE. The project can be opened and worked on without issue, but when building the Project this error can sometimes arise. Resolution: This error might occur if Net Express has been upgraded from an earlier version or if the machine was originally a runtime server with Application Server installed but is now being used as a development machine. The problem can be the result of the COBDIR environment variable setting. If COBDIR has been set at a System or User level in Windows (Control Panel > System > Advanced System Settings and then the ‘Environment Variables’ tab) for a previous version of Net Express or Application Server
PROBLEM : System.Drawing.Image is not recognised ------------------------------------------------ I want to read the contents of a jpg file and *>1 - Create a thumbnail from a photo (quality 100 % , 320, 320) *>2 - resize the photo to a maximum size (quality 100, 1680, 1050) *>3 - Get exif info as one string *> One of the MAIN problems i encounter is that all references to : type System.Drawing.Image is not recognised by the compiler as a valid class or method ????????????? (the method : System.Drawing.Image.Fromfile(filename string) looks usefull here ) When i open Namespaces in the property tab of the project, System.Drawing is not present. I am using Visual Cobol 2.2. , Visual Studio 2012 , .framework 4.5 and the program is defined as : managed console application. The program reads an input text-file containing the full path and file name of one foto ( one per line). REMARK: I can not use windows forms , because the
Dear Bruce, Enclosed the result after your suggestion.. TKS
Dear Mr. Larry Hines, Could You please be more especific about HOW we can do that?.
Mr Larry Hines, were tested the projects submitted? Since the solution sent by ustes of is not for Visual Cobol for Eclipce. Ver 2.2.00247 Please Run the projects submitted in visual studio platform and copy them to Visual Cobol for Eclipse and see what does not work. Please send us the solution for V. C. for Eclipse. thanks Atte. Luciano Ulloa.
Problem: After upgrading Visual COBOL to Version 2.2 Update 1 the following error may be encountered when using Managed Code Projects where code does not use specific properties of a method: COBCH1712 <object type> has no visible instance method '<value>' with 0 parameters. Resolution: The release notes of Visual COBOL 2.2 Update 1 state: In member reference in managed COBOL syntax, parentheses can only be used when referencing methods. Parentheses can no longer be used when referencing fields or properties, as this will produce a syntax error. For example: set intLength to testString::Length() must change to: set intLength to testString::Length
Dear Chris, Enclosed the projects in ZIP Fprmat to you test. TKS
Hi, I'm trying to disable opportunistic locking, and I've been reading documentation in this same foro about it. My question is the next: I'm using mapped drives to access to vision files (not acuserver). Would it be enough by turning off opportunistic locking from client pc, or should I turn off opportunistic locking in the 'server' machine too? The problem is that I never know if the opportunistic locking is disabled in the server machine, while I'm running the application from the client. Thanks and regards
Hi all I cannot get the runtime tunable command_line_linkage to work. There is warning in the documentation that this works only for executables. Does this mean this tunable will not work for program compiled to GNT or INT? I am using NetExpress 5.1 with MTO regardsRico
Is there some way of knowing what classes and or methods are being used in each of my programs? We currently don't have very many classes, but as we build upon them I can see that we could lose track of things pretty quickly. I don't want to have to go into each program and check what class has been added as a reference. I also don't want to rely on human documentation. We are using Visual Cobol with visual studio 2010. Thanks#VisualStudio#VisualCOBOL
We just recently went to visual cobol and we are having trouble with the call x'91' function 35. It seems to work fine on each of the developers pc's - which have visual cobol installed on them, but not on our end user's pc's which don't have visual cobol installed. #VisualCOBOL
Created On: 20 October 2010 Problem: Windows has its own locking mechanism, called Opportunistic Locking, for files shared in a network environment. This mechanism is enabled by default and can contribute to file errors and performance issues in such an environment. Resolution: Disabling Opportunistic Locking on Windows Client PCs To disable opportunistic locking on a Windows client PC, change or add the following Registry value: HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Services\\MRXSmb\\Parameters OplocksDisabled = 1 Disabling Opportunistic Locking on Windows Servers To disable opportunistic locking on a Windows server, change or add the following Registry value: HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters EnableOplocks = 0 Disabling Opportunistic Locking on SMB2 Opportunistic Locking cannot be turned off for SMB2, but you can disable SMB2 itself. To disable SMB2 on a Windows Server 2008 or Windows Vista PC, change or add the fo
Error 1 COBCH0857 : System error - failure during ILASM method-id ReturnNBTransDTO private. 01 oNBTransPolicyRTSKeyDA type NBTransPolicyRTSKeyDA. procedure division returning oNBTransDTO as type NBTransDTO. set oNBTransPolicyRTSKeyDA to self::ReturnNBTransPrimaryKeyDA() set oNBTransDTO to oNBTransPolicyRTSKeyDA::GetData() end method. I keep getting this error intermittently when I compile the above code . When the error does appear it appears in white space prior to the following code.....set oNBTransDTO to oNBTransPolicyRTSKeyDA::GetData() The project where this code is included has an Interface class and as soon as I exclude the interface from the project and comment out the code that uses this interface the solution compiles successfully. #VisualCOBOL
I was wondering if there were any side effects of setting the configuration variable CLOSE_ON_EXIT to a 1. We have come upon some situations where developers have forgotten to close files opened in their programs. I cannot find what issues could arise using this option only a place in the docs that indicate that it is not ANSI compliant and, therefore, not the default when using runcbl. I think that another option that I would prefer is to inquire of some way to log when a program exits with files that are open still so that the programs can be fixed. Is that possible?
Bonjour les cobolistes, Je viens d'installer un client oracle 11g afin de faire des tests de comptabilité pour une migration d'oracle 10 vers là 11. Installation Ok, compilation du programme OK. Au lancement de mon programme, je reçois une erreur à la connexion 173 called program file not found in drive / directory SQLADR. J'ai lancé ensuite un PROCOB afin d'avoir un peu plus d'information sur l'erreur et apparemment la precompiler ne sait pas ouvrir un cpy (structure d'une table DB). Workstation : win Xp 32 bits, NetExpress 3.0.14
I have a project where managed code calls a naïve code program, which in turns call another naïve code program. I get a stack overflow on a read after processing about 300 records, it's a basic read/generate report program. This managed code project, has about 47 naïve code programs in it. If I run just the naïve code, .exe program calling the report program, it runs fine. Suggestions?
We are using AcuCOBOL-GT 9.2.2 on Windows. What is the best approach to using the runtime to support use on a touch screen with a physical keyboard available? Specifically, what is the best way to have an onscreen "10-key" setup of PUSH-BUTTON controls that will feed the number for the button pushed into an ENTRY-FIELD and keep the focus on the entry field? Here are the two issues we've run across. 1) We can't just use a hard coded tab-value with "set goto-field to true" to move back to the entry-field because there can be more than one entry field on a screen which would need to accept the input from the push-buttons. If the user clicks into the other entry field, how do we know which one needs to be updated? 2) The second issue is when the user uses the arrow keys on the keyboard. We don't see an exception, so we don't know that the cursor position has changed. When you move the cursor with the arrow keys, then click the PUSH-BUTTON, the value gets added
I would like to be able to use an FD record layout in a derived class. I don't want any instance of the class to be able to use the fields in the record layout so I have them marked as private. I would rather use protected. Can this be done? below is the code that I am working with. If I make the private field protected I get the following compile error Error 2 COBCH0885 : Visibility attributes can only be used with native managed types at 01 select test-file assign to "\\temp\\test.dat" organization is indexed access is dynamic record key is test-key lock mode is manual file status is fileStatus. fd test-file. 01 test-rec  
How do I make variable case sensitive. I would like to make policyNumber and PolicyNumber different variables. How is that done? working-storage section. 01 policyNumber type String property no set. method-id New. procedure division using by value policyNumber as type String. Set PolicyNumber to policyNumber. end method. #VisualCOBOL
We have a copy/replacing statement where our intent is to change the 01 level to an 02 level. Here is the statement we are using, note the space before and after the 01 and 02 values. Copy "PrmPolcy.fd" replacing leading ==MP== By ==VPPINew==, leading ==PRM== By ==VPPINew==, leading == 01 == By == 02 ==.The copybook begins like this 01 &nbs
Does anyone know how to translate these Excel vba macro instructions to ACUCOBOL statement: ActiveSheet.PivotTables ("My_Pivot_table"). PivotCache.Refresh Thank you
I "enhanced" a program and screwed up something. As always, I had made a backup under a different name. Now I'm in Microsoft Visual Studio, navigating back and forth between the original code and the enhanced code, so that I can find my boo-boo. I'm clicking first on the tab for one program, then on the tab for the other. But that is slow and awkward. Is there a keyboard shortcut where I can quickly flip back and forth?
When I try and set a nullable Decimal to zero I get the below error. I did notice that if I parse the zero to a decimal it does work. COBCH1624: cannot implicitly convert binary-char to type System.Nullable[Decimal]. 01 testDecimal type Nullable[type Decimal] property. method-id New procedure division. set testDecimal to 0. end method Is this a problem with the compiler? It seems that this code should work.#VisualCOBOL
Problem : The customer creates a UTF8 file and want to print it with a Cobol application . What does he do Solution: It is necessary to use the Operating system commands or functions . The generic name is iconv . The follow Cobol program is a subprogram to convert a UTF8 buffer to a CP864 buffer , with four parameters : The UTF8 buffer (input) The CP864 buffer ( output ) The size of the UTF8 buffer The size of the CP864 buffer The operating system is a Linux operating system : WORKING-STORAGE SECTION. 78 pfx value " *--> ". 78 OK value " <OK> ". 78 KO  
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.