Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
[Migrated content. Thread originally posted on 19 May 2011]Hello,In the Interoperability documentation, it says the following in section 5.4.2:Note that you can call COBOL from .NET locally or remotely. You can evenhave the runtime execute remotely without a COBOL object executing on theclient. All you need on the client is a .NET program and a runtime. For thisto work, you set CODE_PREFIX in the configuration file that you providewith the runtime initialization to point to a remote server hosting yourCOBOL application. The remote server must also be running AcuConnect.AcuConnect is able to execute a COBOL object remotely and share data withthe local runtime. For more information on executing remote COBOLprograms with AcuConnect, please refer to the AcuConnect User’s Guide.When AcuConnect is setup to require a password, the first time I try to call a program using AcuConnect, a dialog pops up prompting for the AcuConnect password. The AcuConnect documentation section 2.7.1 says the fo
[Migrated content. Thread originally posted on 26 March 2011]Hi!I am currently evaluating MFNE 5.1 and am particularly interested in compiling COM components written in OO COBOL. There is no problem with building these using the IDE but I can't make it work properly using cbllink -d from a command line.I spent some time looking at how the process works and was hoping it might be possible to use a Make file that could include the TypeLib. It looks to me that the process doesn't do that, compiling the Typelib into a resource file and linking it that way instead.I don't want to have to manually set up a project for every COM component I want to build. I don't really understand why it forces the extension to be .CBL (my existing legacy is all .COB), and I can't see what this "trigger file" is all about. It doesn't appear to do much. All of my COM stuff is In Process server .DLLs. I wouldn't expect to have to trigger them; just instantiate the Class as
[Migrated content. Thread originally posted on 18 April 2011]Dear Community Members,I am working on a Legacy upgrade project. I have a cobol code which has to be called from Java Using JNI.I have worked on JNI where we have java calling C program by creating shared object(Dynamic) or Shared Library(Static Linking). These can be done using xlc (AIX) C compiler and JVM. I want to do the same JNI implementation for calling COBOL program from Java.I want to know the steps to 1) complie a C program using cob compiler.2) Link the complied object to a Shared Object3) Load the shared Object into Java and Call Cobol program from Java.It would be great if i get a code example.Thanks in Advance.RegardsHithesh
[Migrated content. Thread originally posted on 20 April 2011]Hy,I use acuconnect - W$PRINT to print report on client, but on extranet/internet is too slow.I think to increase velocity with a temp file of report spool on server, after that I convert it to a pdf and send it to the client...I can at now: - send a file I can use C$COPY or open with link http - server have a PDF printer that create a file in a directory any ideas???Thank's
[Migrated content. Thread originally posted on 25 March 2011]Has anyone using AcuCobol had experience with electronic signature pads, especially how the software would interact with AcuGt?
[Migrated content. Thread originally posted on 21 February 2011]Hi ,I am using 64 bit OS , and by default if i install Host Integration server 2010 , it will get installed as 64 bit , here if i want to use 32bit Enterprise server with 64 bit HIS.What kind issue i can face.Have any body faced such kind of issue.If any any body have good pointers to understand it.Thanks and RegardsCheeta
[Migrated content. Thread originally posted on 14 January 2011]With the introduction of 64bit Windows some years ago, something new came in place, a shadow hive serving the numerous 32bits applications out there.I will not go into the details about the diversion of registry access here, but state that the registry on 64bit Windows has a subkey under HKEY_LOCAL_MACHINE\\SOFTWARE named Wow6432Node.A 32bit application making inquiries on HKEY_LOCAL_MACHINE\\SOFTWARE will effectively read under this key: HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node. The 64bit OS does this automatically, you won't notice.For most, this is just fine, as what is there, is what a 32bit app usually would need to read from the HKEY_LOCAL_MACHINE\\SOFTWARE hive.In some special circumstances however, it might be necessary to read the native hive. As we shall see, it is actually quite easy to accomplish.The key is the library function REG_OPEN_KEY_EXExample:CALL "REG_OPEN_KEY_EX" USIN
I got error 114 when accessing a linkage item in some rare conditions item, setup is like this In first_program.exe I have link-rec i working storage. 01 link-rec is external by "EXTLINK" in second_program.dll i have it in linkage section. 01 link-rec. Every called program is passed using link-rec. I have listview programs with callback set up, here the declaration is 01 link-rec is external by "EXTLINK" in working-storage section When event vertical scroll fires I need to fill data and call my second_program.dll using link-rec. in second_program.dll when accessing link-rec item I get signal 11 (114) linkagr record not assigned, the call to second_program comes frpm guibase->entrycll. Any suggestions?#Externallinkage114signal_11
Greetings, I would like to welcome everyone to the Micro Focus Net Express / Server Express forum. My name is Chris Glazier and I am a Principal Support Engineer for Micro Focus handling the Visual COBOL, Net Express and Server Express products. I will be your main point of contact for any topics posted within the Net Express/Server Express forum. Please feel free to ask questions about any version of Net Express or Server Express. If you are currently using one of the Net Express or Server Express products and are reporting a problem then please also include information about the actual product name and version that you are using and also the operating system on which you are running. If you are having urgent technical problems with one of these products, I ask you to please go through normal Support channels by opening up an incident with Customer Care. I will do my very best to provide you with an answer to your question or at the very least point you in the right directio
[Migrated content. Thread originally posted on 07 June 2012]Hi All,I'm trying to call the EXTFH opcode 0xFA06 to retrieve file information but my program abort with code 9/-95.What does this code mean?Is there, somewhere, a list of all status code? Thanks in advance.Fly.
[Migrated content. Thread originally posted on 11 June 2012]Hi alllet's compare VB.net codes with Visual COBOL(managed or not) codes. Anyone to convert VB.net codes (below)? Thanks in advance. Imports SystemImports System.TextImports System.IOImports System.Net.MailModule Module1 Dim mail As System.Net.Mail.MailMessage Dim wshost As String = Nothing Dim wsport As String = Nothing Dim wssender As String = Nothing Dim wspassword As String = Nothing Dim wsrecipient As String = Nothing Dim wssubject As String = Nothing Dim wsbody As String = Nothing Dim wsfile As String = Nothing Dim wiport As Integer Dim StreamEncoding As Encoding Dim txtline As String = Nothing Dim txtline2() As String = Nothing Dim flag As Integer Public Sub Main() 'Before read and write getting encode (for Turkish) StreamEncoding = System.Text.Encoding.GetEncoding("iso-8859-9") Dim fs1 As FileStream fs1 = New FileStream("C:\
[Migrated content. Thread originally posted on 02 June 2012]Good Afternoon,I am having a problem creating a Tab Delimited ASCII file. Here is an example:I write the following ASCII record:01 MEI-VT-LUCI-HEADER. 03 FILLER PIC X(06) VALUE "TICKET". 03 FILLER PIC X(01) VALUE X"09". 03 FILLER PIC X(01) VALUE "A". 03 FILLER PIC X(01) VALUE X"09". 03 FILLER PIC X(01) VALUE "B".The hex values should be:54 49 43 4B 45 54 09 41 09 42 0D 0AHowever when I look at the hex values in my resulting ASCII file it looks like:54 49 43 4B 45 54 00 09 41 00 09 42 0D 0AFor some reason the system puts a X"00" before the X"09" in the ASCII file. If I Examine the record before I write it the values look correct.Can anyone offer some advice ?Thanks as a
Hi all, I’m Dominique SACRE, Product Director for extend - ACUCOBOL-GT and RM/COBOL product lines. It is my greatest pleasure to welcome all of you joining us for this RM/COBOL Forum, a part of the Micro Focus COBOL forum. Please feel free to ask questions about any topic which is related to RM/COBOL line of products. We will do our very best to provide you with answers to your questions. Best regards, Dominique
[Migrated content. Thread originally posted on 29 May 2012]The opcodes is: FhOp-Read-Random-Kept-Lock value x'DB'. FhOp-Read-Random-Lock value x'DA'. FhOp-Read-Random-No-Lock value x'8E'. FhOp-Read-Random value x'F6'.But the statement READ SOME-FILE IGNORE LOCK is not the same as FhOp-Read-Random-No-Lock.Actually FhOp-Read-Random-No-Lock and FhOp-Read-Random behaves same.What do I need to specify to ignore that the record is locked and aquiring the content?Does that also work with:CALL "EXTFH" USING FILE-HANDLER-FUNCTION FCD.
[Migrated content. Thread originally posted on 29 May 2012]Lots of warning messages is generated in the servers application-log: System - Provider [ Name] Micro Focus COBOL - EventID 1 [ Qualifiers] 0 Level 3 Task 0 Keywords 0x80000000000000 - TimeCreated [ SystemTime] 2012-05-29T07:52:37.000000000Z EventRecordID 250546 Channel Application - EventData C:\\program\\app.EXE GetLastError() returned 34 What is the cause of error 34?The MS explanation:ERROR_WRONG_DISK 34 (0x22) The wrong diskette is in the drive. Insert %2 (Volume Serial Number: %3) into drive %1.Running on windows server 2008 with therminal-server
[Migrated content. Thread originally posted on 28 May 2012]Hello People,In a screen level program, where one calls another, we get the following error thrown. Please Select: Program : BXXXXXXXTask : [6127]Routine : READFDRVersion : R004-V001-P003 Maintenance Change/s ScreenMessage : READFDR does not support function type [538976288]Diag : No such file or directory : READFDR.c : 116Can someone tell me how to get this resolved.PS: My first post here. Apologies if I haven't furnished enough info. Please let me know what is required. I can provide accordingly. Thanks for your time and support.
[Migrated content. Thread originally posted on 14 May 2012]The third webinar in the Visual COBOL webinar series, Getting Started with Eclipse, is now open for registration.WhenThursday May 24 2012 8:00 PDT / 11:00 EDT / 16:00 BST / 17:00 CESTFind out more information and register to attend
[Migrated content. Thread originally posted on 17 May 2012]Hello,I am trying to obtain the values of an array from a Java program, using a Visual COBOL program, this way (this has been taken from the example 'Using the JArray Class"): 01 arrayElement pointer. invoke wsTable "getElement" using by value CDims by reference Dims by reference arrayElementThe problem is that the values I am trying to access are String values in Java, and I do not know exactly how to do it. I am able to obtain the array
[Migrated content. Thread originally posted on 19 May 2012]hi all,is there anyone to help to convert that I've wrote C# codes (below) to acucobol ?Thanks. using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Xml;using System.IO;namespace dvzget{ class Program { static void Main() { Console.Clear(); DataSet myDoviz = new DataSet(); myDoviz.ReadXml("www.tcmb.gov.tr/.../today.xml"); string[] rowString = new string[myDoviz.Tables[1].Rows.Count]; int i = 0; foreach (DataRow dr in myDoviz.Tables[1].Rows) { rowString = dr.ItemArray.GetValue(11).ToString() ";"; rowString = dr.ItemArray.GetValue(1).ToString() ";"; rowString = dr.ItemArray.GetValue(4).ToString() ";"; rowString = dr.ItemArray.GetValue(5).ToString() ";";
[Migrated content. Thread originally posted on 16 April 2012]Can anyone recommend a good piece of reading material for assisting in converting our current GUI Dialog (circa 1999) into Visual COBOL Winforms?I'd just really like to get rid of the screens and build afresh if possible but am a beginner when it comes to the .NET protocols & stuff!
[Migrated content. Thread originally posted on 08 May 2012]Hello, we are using ServerExpress on Solaris and we intend to change to Linux. On Linux I have to use another ServerExpress Version. Is there anything else to change on Linux? Do you have any experiences with the change from Solaris to Linux?Michael
[Migrated content. Thread originally posted on 04 May 2012]The error code "COBCH1202 COBCH1202 Original item is larger than redefinition (size1 > size2)" belongs to server express 5.1. Can you please let us know more details on this error.
[Migrated content. Thread originally posted on 24 May 2012]on one of the system with server express installed when i run cob it is throwing error-ksh: cob: not found [No such file or directory] also the cobmodebut cob64 compiler in the same folder is working finei have checked my PATH varaible and other environment variabledont know why this is coming please help
[Migrated content. Thread originally posted on 25 May 2012]Hi,I’m trying to create a delimited text file using only selected fields from a database. The problem I have is that the fields I need to extract from the database and the fields in the file that I want to move them to can change. So for example, I may want to move DATABASE-FIELD-1 to TEMP-FIELD-1 but I don’t know that the content (or value) of DATABASE-FIELD-1 is DATE-OF-BIRTH, nor do I know that the content (or value) of TEMP-FIELD-1 is TEMP-DATE-FIELD-1.Is there a quicker way of finding out what the fields are without using IF statements to determine what each of the fields are? In other words, can I use the contents of a variable as a variable?Any help would be very much appreciated.
[Migrated content. Thread originally posted on 25 May 2012]Hello,I am running Microfocus NetExpress COBOL program on LINUX in a batch mode. I execute a SQL query fronm the COBOL program. What I would like is when my query ends up in error, I would like to log an error in a log file, with the query that has just run. Is there a runtime variable that exists where the last executed query is stored? It would make my life easier cause I would then be able to log exactly the correct query without having to "restring" it in my COBOL program.I use an Oracle database.Thanks,Sophie
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.