Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
[Migrated content. Thread originally posted on 14 December 2011]We are currently working with RM / COBOL, and we set up a folder system that we like to keep when we come to work with Visual Cobol.We have the following folders:/ CPY/ FUENTES/ LST/ OBJAll Programs .CBL are in the /FUENTES folder. When you compile a program, the copies are obtained from /CPY folder, the .LST file generated goes to /LST folder, and the .COB goes to /OBJ.I've been doing some testing with Visual Cobol Native and I have some doubts. My idea is to generate .SO files so that programs can be executed with the command cobrun, and to be called by other programs with CALL.1)Compiling and linking from command line. With de command (DES): aixlab0102: / FUENTES> cob -z -P Program1.cblI get the next files Program1.idyProgram1.intProgram1.lstProgram1.oProgram1.soThen I move "Program1.so" to /OBJ folder and "Program1.lst" to /LST folder; and I remove the rest of files. I do all of this manually
[Migrated content. Thread originally posted on 15 December 2011]Hello,our Intranet is coded in AcuCobol (CGI).I will give the Users the Option to Create a Event in Outlook from the Intranet-Calendar i coded.I think the easiest option is to create a vcs-file. But to realsize this i have to change the - Content-Type- Content-DispositionIn the CGI-Manual from Acu i found in "4.6 Creating a Runtime Configuration" that i can Change the Content-Type-> Problem 1 solvedBut what is with the Content-Disposition?With PHP i will write:header("Content-Type: text/Calendar");header("Content-Disposition: inline; filename=calendar.ics");
[Migrated content. Thread originally posted on 15 December 2011]Hello,Does it exist any manual which explains how to install the runtime for production uses?I have this information:Whilst there is a minimum spec for the development side of things, the runtime doesn’t have a clear minimum spec as it all depends on what the application is doing. Also a lot of it depends of the requirement of the Microsoft components (see below), which we cannot really comment on. The runtime has a pretty small footprint but obviously more I/O and database access for an example would require more CPU and RAM but it’s hard to say without knowing what the application is doing. One way to try would be to use an evaluation runtime and build some test application based upon what the existing application does. The requirements that I can state are : OS:Windows XP 64 bit SP2, Windows XP 32-bit SP3, Windows Vista SP1 32/64-bit, Windows 7 32/64-bit, Windows Server 2003 SP2 32/64-bit, Windows Server 2003 R2
[Migrated content. Thread originally posted on 20 October 2011] I am fairly new to COBOL, I am a JAVA developer but I have been tasked with calling a java program from an existing cobol program. So I thought I'd start with a basic proof of concept to see how it works and I can't even get it to load basic java libraries. here is my program:$set ooctrl" p-f" IDENTIFICATION DIVISION. PROGRAM-ID. TEST-FD. ENVIRONMENT DIVISION. CONFIGURATION SECTION. class-control. Sys is class "$java$java.lang.System" . DATA DIVISION. FILE SECTION. WORKING-STORAGE SECTION. 77 pic-x-item pic x(50). thread-local-storage section. 01 anInt pic x(5) comp-5./ PROCEDURE DIVISION. invoke Sys "getProperty" using "os.name" giving pic-x-item. display "Operat
[Migrated content. Thread originally posted on 14 December 2011]Hello,I am moving the demo I have been writting with Visual COBOL for .NET to another computer, and just executing the release version. Everything goes fine, except one of the modules. The error in the subject appears every time we execute it.The project is managed, and uses a native COBOL program to access the file.Another project that uses the same last module (the native one), but it is written in C#, using a managed COBOL bridge, never crashes.And also there is another project similar to the first that works with that file too, and also works fine (notice that the program that reads the COBOL file is always the same).The curious thing is that, after executing the second or the third project, the first one never comes to fail again.Any ideas, by chance?
[Migrated content. Thread originally posted on 13 December 2011]I have application which is developed in VS 2003 with Net express 4.0 ( cobol) and which is working very fine. Now I want to upgrade this to VS2008 and net express 5.0. This project has main solution, within main solution we have 5 project/library, 3 class library written in .NET and 2 written in cobol. .NET Library is getting upgraded and compiled. .Cobol library is getting upgraded however it not getting compiled its showing error "System error - failure during ILASM phase" I have already tried to add "ilasm" references for project of verion 1.1 and 2.0 folder even though its showing the same error. I have already done R & D on above error also searched on Google about it, however we did not found any solution for the same.Operating system i'm using is Windows server 2003 R2I have admin right's of current OSIt would be really helpful if you can suggest some solution. Thanks & regards,
[Migrated content. Thread originally posted on 05 December 2011]We are converting a working process that displays images using Microsoft Reporting Services images inside of an imbedded browser component to display the same images using PDF format. The process is working correctly until the user closes the application....once they close the application they receive the following error (sorry for typing as I could not figure out how to add a screen print to the post!):*********************sw: acuthin.exe - Application ErrorThe instruction at "0x0477609c" referenced memory at "0x0000000014". The memory could not be "read".Click on OK to terminate the program*********************Has anyone seen this issue before and did you find a solution?Thanks for any help.
[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
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.