Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi, i have a question for visual cobol:can I release executable file(gnt\\exe\\dll) compiled in Enterprise Developer to Cobol Server 2013?Or do I need to compile the COBOL source in Visual Cobol for the release of Cobol Server ?My programs are all batch sql without CICS and xdb . Thanks.
I tried to install Extend 10 32bit downloaded from Support Site on Windows XP but every time I start every executable it gives me the error that it isn't a valid Win32 application. Extend 10 lost Windows XP support because there isn't a .NET 4.5 runtime or there is a broken installer?
Hello, I'm trying to resolve some issues with DLL conflicts by using the Windows API calls to LoadLibrary, and GetProcAddress. I'm able to get a handle to the instance of the DLL by using LoadLibrary, but cannot get a handle to the internal processes of the DLL using GetProcAddress. I'm also wondering how I'm going to call these methods once I get the pointer? Does anyone have any experience using these functions? 01 DLL-INSTANCE PIC X(4) COMP-N. 01 PROCESS-POINTER PIC X(4) COMP-N. CALL "LoadLibraryA@WINAPI" USING BY REFERENCE "C:\\CSL\\CloudSyncLib.dll", RETURNING DLL-INSTANCE CALL "GetProcAd
I am trying to use my first .NET control. (I have used ActiveX controls many times.) When I run my program I get the following error: "There was a problem with one of the .NET support libraries. .NET assemblies cannot be loaded." Here is the background: I am using the 9.22 run-time and created my copy files with 9.22s NETDEFGEN.My control comes in 2 .NET versions 3.5 and 4.0 I have tried both with the same result.I have tried to install the control in the ACU dir with the wrun32 I am using and in a separate folder. (Uninstalling the control between installs.)It is currently in a separate folder and I have created a netevents.ini with the path to the current install folder in my ACU folder.My control does not show up in GAC but I browse to and everthing seems to go ok.NETDEFGEN does not crate an events .dll that I can find but I don't think the control has any events.I have tried the create statment with and without the event procedure. My development machine is Windows 7 64 bit.
We have a COBOL program that was migrated from Bull mainframe syntax to Visual COBOL. It took some work to get it to run, because not all of the code is "optimal". It's over 17,000 lines, and calls other assemblies. We had to go away from Perform Thru using Sections in some parts, back to using GOTO to get it to run using Visual COBOL. One of the other changes we made was to increase the stack size, using a compiler directive. Initially, we went to 200 megs (200 X 1024 X 1024) after receiving a stack overflow exception using the Visual COBOL default settings. After a couple of weekly runs, we experienced a Stack Overflow exception again. Since it was in production, and we needed the run for that night, the stack was increased to 300 megs. This happened a couple of times, until this last week it was increased to 500 megs. This has been the solution to a stack overflow without rewriting the program, which would be a daunting task. The compiler directive is this: &nbs
I have VC 2.2 PE. Using NATIVE mode, my Solution Explorer is now permanently enlarged and I don't know how I managed to do that. Also, when I open a source member in a Project, the slider bar is all the way to the right. Before, I had the SE window on the right with the program slider bar just to the left of that. I looked thru the doc but cannot find where to reset this condition. Does anyone know the fix for this? Thanks.
In Net Express 5.1 we never used Debug builds as the Release build had an .idy file for animation and debugging within the IDE and the .exe/.dll ran perfectly well without the .idy file when deployed (copied) to the production server running Server For COBOL (we have no interest in remote animation/debugging in our production environment). For pure native COBOL applications only, If we add anim and cobidy to "Build settings" of COBOL properties under Release configuration for each project will we: 1. Be able to animate our code within the IDE in the Release configuration in the same manner as in the Debug configuration? 2. Will the .exe/.dll execute properly under COBOL Server once deployed (copied) to the production server WITHOUT the companion .idy file?
In Net Express we would load all application-specific environment variables into one of an application's projects (Project Properties>IDE), export to a .gcf file, and then import the .gcf into all other or new projects that were part of the application. I've found where one can manually enter environment variables for use by a project within the IDE, but no way to export/import them to another project within the same solution. Is this even possible in VCVS? Is there a way of setting up solution-wide environment variables?
I am involved in a software application development project that utilizes XBIS running on a Linux server. The project has a requirement that states "If a request exceeds 15-seconds, the system will stop processing and return a message stating the request is taking too long". After speaking with Steve Jolivet I learned of the B$SetServiceTimeout. After reviewing the documentation, I understand I can set the timeout to 15-seconds to fulfill this requirement. The documentation states "If the timer elapses, the service program is terminated". I have never used the timeout feature. I have 2 basic questions, please: (1) considering the set-up steps of an XBIS program, where would the call to B$SetServiceTimeout go and (2) where in the program would I construct the "system is taking too long" error message. Any advice will be greatly appreciated. Thanks! Russell H. #XBIS#RMCOBOL#BIS#SetServiceTimeout
How do I maximize the screen and objects adjust to this new size? thanks
hello, I need help on creating RAR or .ZIP file I have some sample code , but this code does not let me add more than one file , I wonder how to add more than one file thank you example code *biblioteca de ZIP $set ilusing "System.IO" $set ilusing "System.IO.Compression" class-id fazZip.Form1 is partial inherits type System.Windows.Forms.Form. working-storage section. 01 FInfo type FileInfo. 01 InStream type FileStream. 01 OutStream type FileStream. 01 ZipIt type GZipStream. method-id NEW. procedure division. invoke self::InitializeComponent *C:\\teste.html FInfo::FullName invoke new type FileInfo("c:\\testebruno.txt") giving FInfo invoke FInfo::OpenRead() giving InStream invoke type File::Create(FInfo::FullName & ".gz") giving OutStream invoke new type GZipStream(OutStream, type CompressionMode::Compress) giving ZipIt invoke InStream::CopyTo(ZipIt) invoke ZipIt::Close() invoke InStream::Close() invoke OutStream::Close() goback. e
Does anyone know why when sending emails CC and BCC does not work? I am using VBSCRIPT with CDO. Thanks, David
Hello ! First of all, you have to know that I'm a Belgium student, so I speak french, and I hope my english will be good enough to make me understood.So, thanks to my college, I got a licence of visual cobol for Eclipse available until the next year. I've installed it on my computer at home, and thanks god, no problem with it.Then, I've installed visual cobol for eclipse on my laptop too (this is a MacBook, so I use Parallels Desktop in order to run Windows), and the installation was ok, but I can't use visual cobol. Why ? When I create a new project, with a new cobol program, I immediately have an error and so I can't launch my program. Even if this is a new, empty program, when I try to run, I've this message : "The COBOL Program launched could not be located". And a red cross in the line "end program Program1", with the message "COBCH1504S I-O error : 9/181 \\\\Mac\\Home\\Desktop\\Workspace\\Cobbol\\test\\New_Configuration.
I build my Visual Cobol application in Release mode and when i'm running it from command line the execution stops on a cbl_debugbreak call asking me if i want to start the debugger. Is it possible to disable that call when i'm running a release build?
Problem: The installation of HotFix 7 or higher fails with the following error message: Fix setup issue(s) and retry. For more information see the log file. 0x81f40001 - Micro Focus COBOL Server 2013 has been detected but needs to be upgraded to the R2 version. R2 can be downloaded from the SupportLine site. Please contact Micro Focus Customer Care if you have any queries. Resolution: COBOL Server R2 allows applications created with Visual COBOL for Visual Studio 2010/2012/2013 to also be deployed on Windows XP and Windows Server 2003. The R2 installers replace the original installers of COBOL Server and include any fixes delivered with HotFixes 1 to 6 of the COBOL Server 2.2 Update 2 release. This R2 installer is available for download from the Product Updates page at the MF SupportLine site. Once the R2 is installed, then you will be able to install HotFix 7 or higher. Note: Windows XP and Windows Server 2003 support is enabled in conjunction with HotFix 6 or greater for Visual
Problem: How to uninstall MF COBOL Server silently from the command line? Resolution: You may use the same setup file that was used to install MF COBOL Server to uninstall the same product from an elevated command prompt:start /wait <setup-file-exe> /quiet /uninstall where <setup-file-exe> would be for example: cs2010_22.exe for COBOL Server 2010 version 2.2 cs2012_221.exe for COBOL Server 2012 version 2.2 Update 1 cs2013_222.exe for COBOL Server 2013 version 2.2 Update 2 Please take note that the uninstallation process of COBOL Server does not uninstall MF License Manager automatically. In order to uninstall License Manager, you will need to know its product GUID. This is a long string that is enclosed within braces, e.g. {C4920323-C34A-4462-9C3E-BA0325BBD9BA} The product GUID is different from a version of COBOL Server to another, and you may find it from the Windows Registry: Open Windows Registry (regedit.exe) Go to HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windo
Hello, Is there any guide on how to begin migrate my Project which I made with extend 9.2.5 (acucobol-gt) into Visual COBOL? I just need a startup guide with how to migrate source code, screens, event paragraph, variables etc.#extend9.2.5VisualCOBOL
We have a bit of a problem with 2 different dll's using a common dll at different versions, and neither work properly with each other's common X.dll. they need to have access to their own version of the common X.dll... Here's the scenario: first.dll and X.dll (version 1) are in the folder C:\\first\\ second.dll and X.dll (version 2) are in the folder C:\\second\\ wrun32.exe Program.acu calls first.dll which calls X.dll (version 1) later calls second.dll which calls X.dll (version 2) and blows up with an error because X.dll is already loaded into memory by first.dll so it appears to be trying to call the methods in the wrong X.dll. If we don't have access to modify either one of these dll's is there anything we can do to force both first.dll and second.dll to load and use their own proper X.dll? Thanks
Hello, How can I make a splash screen? I am starting no with Visual COBOL and not much knowledge of Visual Studio. Any code example would be appreciated. #splashscreen
I have code like this for FirstChanceException: 01 currDomain type System.AppDomain. SET currDomain TO type AppDomain::CurrentDomain. ATTACH METHOD FirstChanceHander TO currDomain::FirstChanceException(). method-id FirstChanceHander static attribute System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptions. local-storage section. procedure division using by value sender as object e as type FirstChanceExceptionEventArgs. GOBACK. end method. Does anyone know how to write to a log from this handler? I tried updating my own ASCII log file but that causes an exception because this method is static. I'm tryi
Good morning, I'm needing to load a dll and I find nothing in Cobol for this, but I found the instructions in VB <DllImport("c:SATSAT.dll", CallingConvention := CallingConvention.Cdecl)> _Public Function AtivarSAT(numeroSessao As Integer, subComando As Integer, codigoDeAtivacao As String, CNPJ As String, cUF As Integer) As IntPtrEnd Function How to do this in Cobol? And the dll is in 32bit and my OS is 64. I need to change something in my project. thank you.
I am working through "Tutorial: Developing .NET Managed COBOL", trying to learn Visual COBOL. I developed Form1, then Menu1 and made it my startup program - all fine and working. Then to extend the exercise I added a button to Menu1 to call Form1 using the cobol command call "Form1". but it fails with error "173 Called program file not found in drive/directory [Form1]" What can I be doing wrong? Please help! Surely the syntax is correct, and both forms can be seen in Solution Explorer.
Is it possible to use the "Create Collection" to fill with DataGrid? How do it?
I am trying to download Visual Cobol 2012 from MicroFocus cobol site. The download seems to complete but there is a final message that it failed and the system busy. Do I just try at another time? Am I missing something from the download process? thanks, David #issue#VisualCOBOL#download
We are JUST starting the process of migrating from Net Express 5.1 to VCVS 2.2.2 for 2013. Our native application originated as batch programs on Unisys 2200. It consists of 62 unique Net Express projects, each one representing an original batch job. Each project produces a single .exe that serves as the job controller (more or less replacing the batch job deck) that calls one or more individual batch programs built one-for-one as .dlls (a total of 145 unique .dlls). Some batch programs (.dlls) are in more than one project. We are assuming, based on the product documentation we've read, that our goal should be one solution (the batch application) with each of the .exes and .dlls as its own separate project? We are also assuming that since our developer workstations and target servers are all 64-bit this should be the target platform? Our problem, after trying various combinations of Net Express Import Wizard, Project From Existi
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.