Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
[Migrated content. Thread originally posted on 05 December 2011]Hi i am facing teething issue, I am trying to Change the JUST IN time Debugger as mentioned in kb.microfocus.com/.../article.aspxbut interesting thing is that i don't have following path in registry Computer\\HKEY_LOCAL_MACHINE\\SOFTWARE\\Micro Focus\\Net Express\\6.0\\COBOL\\6.0\\Config but i have Computer\\HKEY_LOCAL_MACHINE\\SOFTWARE\\Micro Focus\\Net Express\\6.0\\COBOL\\6.0\\Install andComputer\\HKEY_LOCAL_MACHINE\\SOFTWARE\\Micro Focus\\Net Express\\6.0\\COBOL\\6.0\\ EnvironmentNot able to spot Config folder and thus unable to spot the registry where i have to make changes.Thanks for help.
[Migrated content. Thread originally posted on 05 December 2011]I have a Remote Project "Program4" in VisualCobol Eclipse that only display a message. I’ve built it and I’ve generated the “Callable Shared Object” "Program4.so".I have another Remote Project "Program1" that calls Program4. I’ve built it and I’ve generated the executable "Program1".Finally I’ve executed “Program 1” from the remote machine and it works correctly.The first problem I’ve found is that if I try to execute “Program4.so”, from the remote machine, directly with cobrun command, I receive the next error Load error : file ' Program4.so ' error code: 253, pc=0, call=1, seg=0 253
[Migrated content. Thread originally posted on 01 December 2011]Hello,I need to implement a little class inside a form, and should implement the interface 'ICompare':class ListViewItemComparer : IComparerI do not know how to code this in Visual COBOL, sorry.Regards
[Migrated content. Thread originally posted on 02 December 2011]Hello,How could I write this sentence in Visual COBOL?listView1.RetrieveVirtualItem = new RetrieveVirtualItemEventHandler(listView1_RetrieveVirtualItem);Thank you
[Migrated content. Thread originally posted on 29 November 2011]Hi,I was just wondering if any one can advise on how to improve on SQL performance.As the SQL database gets bigger then the number of records returned increases and the Visual Cobol App appears to slow down.I use the OpenESQL Assistant to create my SQL cobol and embed in the program, see sample below:- EXEC SQL DECLARE CSR110 readonly CURSOR FOR SELECT A.Co ,A.Code ,A.Type ,A.CodeDesc ,A.DateChanged ,A.Param ,A.NominalCode FROM Codes A WITH (NOLOCK) WHERE ( A.Co = :Codes-Co ) AND ( A.Type = :Codes-Type ) AND ( A.Code LIKE :ws-top-search ) ORDER BY A.CodeDesc DESC END-EXEC EXEC SQL OPEN CSR110 END-EXEC PERFORM UNTIL SQLSTATE >= "02000" EXEC SQL FET
[Migrated content. Thread originally posted on 29 November 2011]HiMy application is an Cobol EXE calling many entry procedureof an external Cobol DLL, when running in the IDE (animate)works well. Outside the IDE fails when repeatedly calls the sameentry procedure, approximately 30 or more times.Cobol reports:Execution error: file 'gadget'error code 114, pc=0, call=1, seg=0114 Attempt to access item beyond bouns of memory (Signal 11)And mfdebug.logNetExpress Exception Handler - 29/11/2011 17:00:06C:\\PfCont\\PF901M.exe caused an exception at address : 0x58C44784Exception type - EXCEPTION_ACCESS_VIOLATION on Read. Address 0x0409B000Registers: EAX 0409AFFF EBX 001625D8 ECX 000002A3 EDX 024E8D01 DS 0023 ESI 0409AFF8 ES 0023 EDI 00000008 FS 003B GS 0000 CS 001B EIP 58C44784 SS 0023 ESP 0012DD70 EBP 0012DDD0 Flags 00010246Error occurred in : C:\\WINDOWS\\system32\\comctl32.dll, loaded at 0x58C30000 CompanyName Microsoft Corporation FileDescription Common Controls Library FileV
[Migrated content. Thread originally posted on 15 July 2011]Could anyone give me an example of: how to read indexed files of RM-Cobol with Visual Cobol. My e-mail is jose61@pryma.wsThanks:Sincereley: Jose Manuel Guevara
[Migrated content. Thread originally posted on 01 December 2011]My team will be receiving virgin Windows 7 machines shortly and we will be installing Net Express 5.1 on them. My question is if the following is the correct/prefered procedure?1. De-install Net Express from old XP machine, revoking license to get revoke key.2. Install Net Express on new 7 machine by executing NXP3251060079.exe downloaded from Micro Focus' SupportLine web site.3. Re-register installation with revoke and new response keys.
[Migrated content. Thread originally posted on 30 November 2011]I have a situation that occurs intermittently where the CBL_DELETE_FILE returns a 9/029 error (Attempt to delete open file) on a sequential file that is not supposed to be open. I suspect that the file is either locked by another process or the operating system is not letting go of the file quick enough. This problem has just started happening on code that has been in use for over 10 years so I do not think there is a problem with the code or function. Are there any utilities that could identify what process has the file locked or that could provide any other information that may be helpful that can be called from within COBOL and can be executed at the time the error occurs? The code is compiled under NetExpress 5.0, I am operating in a Microsoft Windows network environment and I am not using FileShare.
[Migrated content. Thread originally posted on 03 November 2011]After installing extend 9 AcuXDBC (64-bit) 9.1.0 on Linux server and the corresponding extend 9 AcuXDBC (64-bit) client on a Windows Server 2008 R2, I created a "System" DSN for the data on the client using the 64-bit driver. Then, the when trying to create a linked server on SQL Server 2008 R2 (64-bit) using the 64-bit DSN; I get the following error:OLE DB provider "MSDASQL" for linked server "(null)" returned message "[TOD][ODBC Driver][acuxdbc03:user/passwd/xvision:pamsdata001.cfg@20223:10.5.1.171!acuxdbc04]VISION: No entry for product 'AcuXDBCS' in file '/opt/acucorp/812/bin/xvision.slc'"Notice the version in the path to the license file. For some reason it's looking at the wrong license file; it needs to look at '/opt/acucorp/910/bin/xvision.slc'. Is there some enviroment variable or config file setting that tells the xdbc server which license file
[Migrated content. Thread originally posted on 28 November 2011]Hi,I use Visual Cobol and was just wondering if any one can advise if there any are advantages/disadvantages to setting the OpenESQL Assistant Mode to :-1) ODBCor2) ADO.NETThanksNeil.
[Migrated content. Thread originally posted on 25 November 2011]Hello,I have found information about how to pass data between C and COBOL, but nothing about C#.Have you got any file regarding the conversion with C# (like cbltypes.h for C)?Thanks
[Migrated content. Thread originally posted on 25 November 2011]Hello,I have found a big problem working with solutions which have several types of COBOL projects. I will try to explain this the better.For example, consider the following scenario:-One solution having a main managed project that uses another managed project, and this last one has a reference to a native project. Let's say A to be the main managed project, B the second and C (the native one) the last.The folder where A generates the final executable is set like '.\\x86\\bin\\Debug\\', and the same applies to B. C has to have B's output folder.All goes well until now.-Now I create a new solution having a new managed project that references C. Let's name it as D. I include C inside the solution, and I change C's output folder to be pointing to D.All ok.But what happens when I come back to my first solution? Visual Studio tells me that something has been changed in project C (I could not apply the ch
[Migrated content. Thread originally posted on 21 November 2011]Hello,I'm working with Visual Cobol for Eclipse (Windows). I've created a Java Application that calls a Procedural Cobol Program. I have follow this steps...-I have generated a "Single native library file" (dll) for the Procedural Cobol Program, and I have added it in the Java Project.-In the Java Project I have added the "Visual Cobol Runtime System" library, and I have used the "RuntimeSystem.cobcall" instruccion for the call...... and finally, it works correctly.Now I want to use this application in a AIX server with JRE 1.6.0 and "Development Hub". To do this I have follow this steps:-I have imported the Procedural Cobol Program with the option "Convert local Cobol Projects to Remote Projects", where the remote server was this AIX server... Then I have generated the ".so" library, and I have added it in the Java Project.-Then I have copied the Java App
[Migrated content. Thread originally posted on 22 November 2011]Hello,Have you got any example passing parameters to a managed app from the command line?I have tried with "linkage section" but it seems only works with native applications.Thanks.
[Migrated content. Thread originally posted on 22 November 2011]Hello,I want to use CultureInfo in a managed project. I set these lines: $set ilusing "System.Threading"$set ilusing "System.Globalization" I do not know how to translate this code (original in C#):Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-FR");I find it a 'bit' tricky.... I got an instantation error in the last line. 01 thread type System.Threading.Thread.01 cuture type System.Globalization.CultureInfo.set culture to new System.Globalization.CultureInfo(idioma).set thread::CurrentCulture to culture.
[Migrated content. Thread originally posted on 15 November 2011]Hello,I want to create a Cobol JVM remote project from Visual Cobol Eclipse.. Is it not possible?Visual Cobol Eclipse only have the option to create a Cobol Native remote project...I've tried one way to do this... -I create the Cobol JVM Project -I copied it to antoher folder -I removed it from my workspace -I imported it to my workspace with the option "Convert Local COBOL Projects to Remote Projects"But when the "Development Hub" build the project, it returns error:cfg.New_Configuration: [cobol] [cobol] Compiling Arrays.cbl... [cobol] Error[18]: No license code is available for feature SolarManagedCheckerPE on host 127.0.0.1. [cobol] *1507-U [cobol] Illegal command line [cobol] cob32: error(s) in compilation: /MNG/DESA/FUENTES/EQBASE/visual_cobol/Arrays/src/Arrays.cbl [cobol] Compilation complete with 0 errors, 0 warnings, 0 notices and an exit code of 16Is there any
[Migrated content. Thread originally posted on 16 November 2011]Hello,Is there any way to call synchronously a VS COBOL native program from a VS COBOL managed code? If I use CBL_EXEC_RUN_INIT with flag = 1, the cmd window is not shown and the parent program gets stuck. But, if I use flag = 101, the newly created window is independent from its parent.Regards
[Migrated content. Thread originally posted on 18 November 2011] Hello,I am trying to figure out how to replicate this program based on a RM/COBOL example in Visual COBOL: identification division. program-id. RMNetTest. data division. working-storage section. 01 prservices2. 02 men-mensaje pic x(30) value "texto del mensaje". 01 request-payload usage pointer. 01 response-payload usage pointer. 01 response-error usage pointer. 01 response-status pic 9(3) value
[Migrated content. Thread originally posted on 14 November 2011]Is there any way to have multiple Acubench projects up on the same machine? Many times I would like to have multiple projects open in Acubench but am only allowed to open one at a time. Currently we will go into the project folders and open the .evt in a text editor to see the code we need to duplicate.Thanks.
[Migrated content. Thread originally posted on 17 November 2011]The external CICS interface (EXCI for short) allows programs running in batch, to execute a program that exists in an CICS environmentDoes Net Express support EXCI?and how do we implement this, maybe you have Documentation and sample programs/JCL/directives that could guide me in using EXCI. Thanks!I'll consider your response as a great help :)
[Migrated content. Thread originally posted on 17 November 2011]Hello,Do you happen to know if exists any Visual COBOL Runtime version for mobile devices?Thank you
[Migrated content. Thread originally posted on 17 November 2011]I'm loading Net Express 4.0 on a new laptop. When compiling a program, the output window displays:Rebuilding program_name.pcoRebuild completeIt completes without error, but is not including the Precompiler info that I usually receive. Example:* Micro Focus COBSQL Integrated Preprocessor* Net Express V4.0 Copyright (C)1984-2006 Micro Focus (IP) Limited.* URN AAAPA/ZZ0/00065* CSQL-I-004: Accepted VERBOSE* CSQL-I-004: Accepted makesyn* CSQL-I-008: Invoking cp Preprocessor* CSQL-I-018: Invoking ORACLE8 Precompiler/Translator* Host Variables...Can anyone suggestion why I'm not seeing the Precompiler info? Thank you.
[Migrated content. Thread originally posted on 23 October 2011] I am an experienced COBOL programmer looking to move to a project using OO cobol and doing a little self education.I have a pretty good grasp of JAVA and C# so was expecting to pick it up reasonably easily. It will be syntax and basic program/class structure I need to get to grips with.My first attempt at a COBOL JVM project using visual COBOL for eclipse.I am getting error "COBCH0829S could not find method "storeData" with this signature".Any guidance on where to look for and how to fix it would be appreciated.Cheers,Gary. IDENTIFICATION DIVISION. class-id Learning1. class-object. data division. working-storage section. 01 classField pic x(1). procedure division. method-id storeData. working-storage section. linkage section. 01 methodField pic x(10). procedure division using methodField. move methodField to classField goback. end method. method-id. returnData. working-storage section. linkage s
[Migrated content. Thread originally posted on 16 November 2011]From the doc1.Each level 01 and 77 data item declared in Linkage should be named in a USING phrase of the Procedure Division header. Data items that are REDEFINES of other data items should not be named, howeverI also know that the standard imposes to list the linkage items in the procedure division USING phrase in the exact order in which they are declared in linkage section, otherwise the runtime raises an error. However i didn't find anything in the doc or in google about the order in which they must be listed in the USING phrase of alternatives entry points.For example, it follows an extract from one of my program: linkage section. 01 lks-array. 05 lks-array-ptr usage pointer value 0. 05 lks-array-el-sz pic 9(04) usage is comp-4 value 0. &nbs
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.