Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
[Migrated content. Thread originally posted on 14 November 2011]Hello,I am trying to write a VC program using OPOS.Firstly I created a Visual C# program to test the library:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using OposPOSPrinter_1_9_Lib;namespace TestOposC{ public partial class Form1 : Form { OPOSPOSPrinter printer = new OPOSPOSPrinter(); public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { printer.Open("PRINTER"); printer.ClaimDevice(1000); printer.DeviceEnabled =
[Migrated content. Thread originally posted on 15 November 2011]Hello,I've created a remote Cobol project with Visual Cobol Eclipse; this project only have one Cobol program that display "HELLO WORLD!!". I can debug this program successfully, because I have installed "Develpment Hub" in the remote system and "ViewNow X" in my local system.Now, I want to have an executable of this program that display its output in my local system... I think that to do this, I have to follow this steps... -I guess I should create an "X Client" in "X Control Panel" of my local system, to execute the remote program by passing the parameter "Display" (it will be the Identifier for the X server that will display the program output) -So I will need to modify the program to accept and process the parameter "Display". To do this I supose that I will need to add a X11 protocol library...Are these the correct steps to follow?What
[Migrated content. Thread originally posted on 14 November 2011]I use v811 acuCOBOL. call "C$XML" using CXML-ADD-ATTRIBUTE element-handle "HAR" WS-ATTR-DATA 1024.I find CXML-ADD-ATTRIBUTE method the attribute maximum characters which I could add is 1024, if longer then 1024, the attribute value will have previous attribute value.Does anyone know attribute value maximun character length for acucobol v811?Does anyone know attribute value maximun character length for acucobol v911?If it has maximum value, is it possible to enlarge this value?
[Migrated content. Thread originally posted on 10 November 2011]Hi there,We have upgraded to extend 9.0.1 and use Acu4GL for MSSQL (sql 2005) and have found that on occassions we are throwing an error about SQL being busy09:46:19.869000 execute_with_COBOL_data09:46:19.869000 Executing previously prepared statement f0d6d8 on server 'JUPITER\\MSSQL2005'09:46:19.869000 report_status called from 381009:46:19.869000 [1] HY000 0 - Connection is busy with results for another hstmt09:46:19.869000 No more messagesWe do have other threads that perform read/write operations on data files in the background of the current session. I cannot say that this was ever noticeable with the 7.2.2 runtimeHas anyone come across this ?
[Migrated content. Thread originally posted on 22 February 2011]Hi,can we call batch script in JCL/Cobol in Net Express 5.1. If yes, How?Thanks and RegardsCheeta LM
[Migrated content. Thread originally posted on 03 November 2011]Hello,I am trying to convert a chinese string codified in UTF-8, to Unicode.In order to achieve that, I am working with a .NET managed code project. Here is my program: program-id. Program1 as "testcodepage.Program1". data division. working-storage section. * 01 greektext type Byte[] value x"AFACAE9E". 01 chinesetext type Byte[] value x"E58F91E7A5A8". 01 wsEncoding type Encoding. 01 codePageValues type Byte[]. 01 unicodeValues string. 01 b type Byte. 01 unicodeString string. 01 enumera
[Migrated content. Thread originally posted on 09 November 2011]Hi,i create a simples project with nativa Cobol caracters in Visual Cobol.Can i run this project without Visual Cobol?
[Migrated content. Thread originally posted on 04 November 2011] Hi,in set directivetargetdb no exist option MySQL yet?In Visual Cobol.
[Migrated content. Thread originally posted on 02 November 2011]Good morning, I need to call a DLL (COM) using input parametes (array as variant) from VISUAL COBOL.This DLL is installed in Server Transaction.Here I post code in Visual Basic 6, How can I do the same call in VISUAL COBOL.Dim objService as ObjectDim arrRpta as VariantDim arrData() as VariantArrData(1, 1)="001"ArrData(2, 1)="Jack Smith"ArrData(3, 1)="Married"ArrData(4, 1)="10-12-1978"ArrData(5, 1)=1500ArrData(1, 2)="002"ArrData(2, 2)="Mary Harrison"ArrData(3, 2)="Married"ArrData(4, 2)="07-08-1980"ArrData(5, 2)=3500Set objService = CreateObject("Customer.clsCustomer")arrRpta = objServicio.CustomerSave(ArrData)msgbox arrRpta(1,1) --"Sucess" o "failure" Thanks, Manuel
[Migrated content. Thread originally posted on 07 November 2011]acuCOBOL version: v8.1.1I am trying to add a new child with name "B"(only one character) by *Add a element "B" call "C$XML" using CXML-ADD-CHILD element-handle "B" move return-code to element-handle. In my output, it shows me the new child "<>", but I expect to see "".If I use any value length >= 2, it will show me the correct new child name.I don't see the document mention the child name could not be one character.Does anyone has similar issue?
[Migrated content. Thread originally posted on 14 April 2011]Hi,I am developing an application in Acucobol which needs to converse with a third party who offer an XML interface. Data is passed either using REST (e.g. www.website.co.uk/getdata DemoUser **** standard XYZ12345 or using SOAP (which I know nothing about). I have a test program set up which writes XML and reads it back in again. I have two questions:-1) How do I remove the generated at the start of the XML data stream I am writing out? This causes a syntax error with the third party's website when I enter the xml manually.2) How do I assign the input and output files in the configuration file. I have tried:-output-filename www.website.co.uk/getdatainput-filename www.website.co.uk/getdataBut I get an error 35 (file not found) when I try the initial write.Any help/advice/suggestions etc. would ge gratefully receivedRegardsNick Brook
[Migrated content. Thread originally posted on 03 November 2011]Hi GuysWe are converting the assembler program to COBOL. So we are looking for equivalent service callable by COBOL program. We want to imitate the functionality of ESTAE in Microfocus environment using COBOL, Our requirement is to trap the abend and bypass it if required at run time based on the rules.Can you point us to any lbr or API which is available in microfocus libraries which can be called from COBOL program.
[Migrated content. Thread originally posted on 12 August 2011]It would be great to have these available to us.Thank you,Paul DuBois
[Migrated content. Thread originally posted on 08 November 2011]I have a problem with variable records. I never used them before.I write for our Intranet a blog (the complete intranet is written in acu-cobol).File description: fd db-bstory external record is varying in size from 16 to 50016 characters depending on dbbs-size data record dbbs-satz. 01 dbbs-satz. 03 dbbs-key. 05 dbbs-id pic x(16). 03 dbbs-text pic x(50000).When i write the record, i calculate the record size and fill the dbbs-size.Have i also to fill the dbbs-size when i read the record? The Problem at the mome
[Migrated content. Thread originally posted on 04 November 2011]We are new to Visual Cobol and have toyed around with building an application in Winforms as well as WPF in order to figure out which to embrace. We have leaned towards WPF but we are running into situations where Winforms has options for a Masked Textbox and WPF does not. All of the internet searches reveal that WPF is much more difficult in handling these situations. An oversighte on Microsofts part? Our simple application has a textbox defined, the maximum is 9 positions. All we want to do is ensure that we have either nothing in the textbox, including no spaces, or we have 9 numerics only, no alpha or spaces allowed. How would you handle this in WPF? How can we handle a simple phone number so that the textbox has "( ) - " to start and the masking will only allow either nothing or a format of "(123)456-7890"?
[Migrated content. Thread originally posted on 03 November 2011]Hi, I have been having troubles getting the acuXODBC driver to install on Server 2008 R2. I am using version 7.4 which according to the documentation can be installed on a 64bit platform. From the installtion screen I have selected "AcuXDBC Data Interface for Windows", then entered the product key.However the driver is not showing up in the windows ODBC Data Source Administrator.Are there any specific steps required to get this driver to work on x64 system?Regards,Paul
[Migrated content. Thread originally posted on 08 November 2011]Hi, is there any known issue in setting the RECURSION environment variable to 1 and then calling a program recursively? As "issue" i mean also performance drop and any kind of other drawbacks.My target is to make the program A call the program B that calls an entry point of the program A. Is it a supported flow?Thank you in advance.Luca.
[Migrated content. Thread originally posted on 26 October 2011]Hello,"I would like to be able to put a TextBox/Entry-Field with autocomplete on a form. I thought I would be able to do it by placing the .NET TextBox control on my form, but although I can get the TextBox to appear, and I set the properties to make it autocomplete, it doesn't seem to be working. Has anyone successfully done something like this? I created a .NET DEF file using netdefgen and System.Windows.Forms.dll".This is a text from an old post. I am trying to get this to work aswell but I can't figure out how to fill the forms.XML file which holds the information for the autocomplete function.Can someone help me get this to work.Thanks,Andre,
[Migrated content. Thread originally posted on 01 November 2011]I'm trying to create a report where I list the "operations" in a model. For example:Operation Signature Visibility getTerminationPoint(Framework.DataObjectClasses.NamingAttributeType tpRef, NetworkResourceFulfillment.DataObjectClasses.TerminationPointDataType tp) public I can use the getDWRwiElement to create a link for the "types" being used for the input/ouput parameters (i.e. Framework.DataObjectClasses.NamingAttributeType), but what I would like to be able to do is actually list the actual class structures immediately after the "operation" in the report.How can I do this? Rather urgent please, as my boss is waiting on this report :-)
[Migrated content. Thread originally posted on 29 October 2011]OK, since nobody else has asked...We have all seen the news out of Microsoft on their new Windows 8 coming out some time next year.The two big changes are the Metro UI and support for ARM processors.Does MF have any comment yet on if/how the Visual COBOL product will be adding support for these environments? For example, are there any plans to support native COBOL on ARM? Will there by any ARM support?Thanks
[Migrated content. Thread originally posted on 03 November 2011]Hi Team,Need Below informartion so that we can refer Microfocus Product to one of our client.1) Do Microfocus Sell MFA as Stand alone Tool, If yes Pointers for licening information.2) Latest documentation for this3) Is Changeman support to work with MFA Sync Monitor.An early reply is highly appreciated.RegardsCheeta
[Migrated content. Thread originally posted on 12 October 2011]A maintenance update to Visual COBOL R4 is now available.Further information on the release is available here.
[Migrated content. Thread originally posted on 27 October 2011]HiWe upgraded our cobol system from server express 4.2 with oracle precompiler 9 to server express 5.1 with oracle precompiler 11g.After the upgrade, the system uses 3 times more CPU. Our system works on AIX 6.3.Does anyone have an idea what could cause this problem?
[Migrated content. Thread originally posted on 02 November 2011]COBRT170 System program not found (Fatal) - what in the world is this trying to tell me???I got this error on a cobol program that has been running for months. It appears the program fiinished.All lines before the stop tun appear to have executed. I'm confused... any clues??
[Migrated content. Thread originally posted on 01 November 2011]Anyone know how to lock a record so that it cannot be updated? I have tried the FOR UPDATE in the DECLARE statement and that did not work. I used the example in the ACU manual. I also set ARUSQL_ODBC__CURSORS to 0 That did not seem to help either. Ideas?
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.