Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
[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
[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.
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.