Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
[Migrated content. Thread originally posted on 12 December 2011]Hi,How should I codify this in Visual COBOL?List m_ListItemCache = new List();I need a list which could be ordered and also be searchable...
[Migrated content. Thread originally posted on 12 December 2011]Hello,I want to implement a property, like this one: public SortOrder Order { set { OrderOfSort = value; } get { return OrderOfSort; } }Then, I need to reference it in this manner: private SortOrder OrderOfSort; OrderOfSort = SortOrder.None;I am not sure if it will work like expected: 01 _orderOfSort binary-long. method-id set property #orderOfSort. &
[Migrated content. Thread originally posted on 09 December 2011]Hello,do you know if there are some know issues or some special setup procedures when using OpenESQL Assistant in NE 5.1 on a Windows 7 64bit platform.I setup the ODBC Data Sources and I am able to connect to the Oracle databases. Oracle 10g 64Bit client is installed and working on my Win 7 64 bit machine.Any assistance/direction is greatly appreciate.
[Migrated content. Thread originally posted on 09 November 2011]Hi all.We are just beginning to think about modifying our application to handle international characters, including multibyte characters (e.g., Korean).I have been browsing the Extend manuals and knowledge base, and I have not found any mention of Unicode or UTF-8 or UTF-16. Does Extend provide any support for Unicode? For example, can I accept a Unicode input string from a user on a screen, store it in a file, and then display it on the screen?Thanks for any help.Lee
[Migrated content. Thread originally posted on 09 December 2011]Hi All,Any one know the code to change the cursor shape to an hour glass when going off and doing a large SQL job and then resetting back to an arrow when finished?Kind regardsNeil.
[Migrated content. Thread originally posted on 09 December 2011]HelloI am trying to compile an old cobol program using the Visual studio trial software I downloaded from this site. Before when compiling our microfocus cobol programs we would ge through dos and use a series of commands. When I try to compile them with Visual, I am getting the following error:COBCH0012 : Operand SQLERRMC is not declared J:\\sfbpcob\\test469.cob 2272 48 sfbpcobCOBCH0801 : Required DB software: 'db2agapi' could not be found.This error prevents SQL processing from continuing - further EXEC SQL statements will be ignored. 1 1 sfbpcobSorry about this, I am sure it is straight forward but I am stuck.
[Migrated content. Thread originally posted on 01 December 2011]I'm working with Visual Cobol Eclipse. I have a Cobol Project with a Cobol program, that it's configured to work with the RM/COBOL File Handler. This works correctly; it only open a RM/COBOL data file, and read some data.Then, I have created a new Cobol Remote Project ("provaRemot2") with the same Cobol Program ("PROVAMB5").3936472 0 drwxrwxr-x 2 00550051 gdesa 256 Dec 1 10:50 . 3936480 4 drwxrwxrwx 3 00550051 gdesa 4096 Dec 1 11:31 .. 3936491 52 -rw-rw-r-- 1 00550051 gdesa 52480 Dec 1 10:50 PROVAMB5.idy 3936498 12 -rw-rw-r-- 1 00550051 gdesa 9947 Dec 1 10:50 PROVAMB5.o 3936479 28 -rwxrwxr-x 1 00550051 gdesa 26580 Dec 1 11:34 provaRemot2 But when I hav
[Migrated content. Thread originally posted on 17 October 2011]With the aid of a couple of Microfocus's finest and after a small amount of rewriting, I now have a green-screen application that will run on my PC, both in debugging mode in Eclipse and standalone. However, I need this to run on AIX. I have a VC AIX runtime installed on the target machine, but I haven't been able to find out how to actually get programs compiled and running on AIX. Could anyone tell me what I need to do on which boxes in order to get a running application?
[Migrated content. Thread originally posted on 21 April 2011]I have an issue where the top margin of the first page is always 1/8 inch lower than other pages. This has created an issue with Inkjet printers in that the bottom line will be cut off. This is also an issue if trying to set up printing for a form as well.I can shorten the first page by 1/8, then reset the top margin at the end of the first page and then I can get them to line up, but I shouldn't have to do that.Has anybody else run into this issue and if so what have you done to resolve it?Thanks, Steve
[Migrated content. Thread originally posted on 02 December 2011]I am trying to get the screen dimensions using GetSystemMetrics from a remote PC. I am getting zeros. We are in the process of upgrading to 9.0 from 7.2. This was not an issue while using 7.2. The client machine that I am testing on is a Windows 7 64 bit machine. Below are the relevant sections of code. acuthin was actually crashing until I used the SIZE is phrase. This was not needed before... EDIT: I used to also use the DLL_CONVENTION method before, and this does not work now either.EDIT2: I have tested this on a Windows XP machine and the result is the same. 01 SCREEN-INFO. 03 SI-WIDTH PIC X(04) USAGE IS COMP-N. 03 SI-HEIGHT PIC X(04) USAGE IS COMP-N. 03 RTN-VAL PI
[Migrated content. Thread originally posted on 03 June 2011]Hi there,when putting the acu web-control on the screen it by default displays horizontal/vertical scroll bars when the page is displayed.How do you prevent scroll bars from appearing.Thank-you.
[Migrated content. Thread originally posted on 06 December 2011]Hi I want all my developers using Net Express to share(Basically one) as their Debug/Release Folders.They have projects in different folders and have there own Debug and Release folder.Is there any environment Variable which i set in netexpress so that they all can have one Debug and release foldersThanks and regardsCheeta
[Migrated content. Thread originally posted on 06 December 2011]We are upgrading from AcuConnect 7.2.1 to 9.0.1 and either acuthin or the autoupdater is crashing with a memory access violation on Windows XP. Windows 7 seems to be unaffected by this. I found a forum post where this was an issue going from 7.2 -> 8.1. Has this bug resurfaced, or is there something that I can fix on my end?
[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
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.