Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
[Migrated content. Thread originally posted on 06 February 2012]Hi, I have generated a web site and I want access rmcobol program, this program is native dll, but I´dont know, set environment rm variable in order to works with rm files. This program native rm works ok with windows-forms.Please give me step by step what i can do in order to solve my problem.Thank youCAMILO CRUZ
[Migrated content. Thread originally posted on 23 February 2012] HiI have a poblem calling a .NET DLL from within AcuCobol at a customer. I have the exacpt same .DLL and extend programs running on my laptop - works fine.At the customer I've installed the extend 8.1.2.1 version in the directory C:\\Program Files\\AcuCorp\\Acucbl812. In the same directory I have the netevents.ini file. It contains one line:D:\\Lessor4\\System\\LifLevelMy .acu programs is located i d:\\lessor4\\system\\liflevel where my .dll also is located.In the same directory as my programs, I have the portal.xml file. It contains:<?xml version="1.0" encoding="utf-8" ?><FILESPEC><Assembly>Portal</Assembly> <Module>Portal.dll</Module> <StrongName/><Version>1.0.0.0</Version> <Culture>neutral</Culture> <FilePath>Portal.dll</FilePath> </FILESPEC> The create statement in my program looks like this:CREATE "@Portal
[Migrated content. Thread originally posted on 22 February 2012]Hi!I am using NetExpress 5.1 with VS2005Suddenly, I have started getting error (Message box with "Visual Studio" as header) 'count' cannot be non-negative. Parameter name: countwhen I press to go to new line while typing code.I click on OK, and cursor goes to 1st char of next line, and not below 1st character of previous line.I have tried un-installing and re-installing NetExpress 5.1 but no luck.Any help with this will be most welcome, since I have a project to complete, and typing code has become near-impossible with this error.Thanks in advance
[Migrated content. Thread originally posted on 22 February 2012]I have to do a conversion from NE4 naar NE5.1 and have to compile all programs.Now I have a problem with all programs, that have the command " EXEC HTML "The HTML-code made in the programs gives errors when I compile them with NE5.1The error : - Error at line 898, column 7 in file RC101P.sks- PCB-S-00401, Character string not properly terminatedI copied the code to a 'online html compiler '.The code has no errors and the screen is ok.How can I solve this problem ?
[Migrated content. Thread originally posted on 19 August 2011]I'm looking into migrating a system to Visual COBOL (at which I am a complete newbie) from Server Express 5.1. I threw the 268 programs that I have into the evaluation copy of VC for Eclipse and 265 of them compiled. The remaining three are quite important, as they are routines to handle pop-up windows, which we use a fair bit. They use the ACUCOBOL windowing syntax, which is implemented on Server Express by using the "window1" preprocessor directive. However, VC isn't happy with this. My understanding is that VC was partly introduced as a way of bringing ACUCOBOL, RM/COBOL and MF COBOL together, so I imagine that there is a way of using this syntax. I've tried omitting the preprocess directive completely, but that throws up compilation errors. Could anyone tell me what I need to do?
[Migrated content. Thread originally posted on 20 February 2012]Hi,i am having trouble on running a simple cobol procedure to be accessed from solaris thread simultaneously.for simplicity i took demo program c-cobol for this task here is the source code for cobol: copy "cmain1.cpy". IDENTIFICATION DIVISION. PROGRAM-ID. cobsub1. ENVIRONMENT DIVISION. CONFIGURATION SECTION. WORKING-STORAGE SECTION. 01 yyy pic x. 01 zzz char redefines yyy. LINKAGE SECTION. 01 param param1. PROCEDURE DIVISION using by reference param. * display "In cobsub1.cbl" move 10.5 to a move 10 to b move 10 to c move "a" to yyy move zzz to dhere is c program accessing cobol:#include #include #include "cobmain.h"#include "cobcall.h"#include "cmain1.h"void* main_function(void* a ){ struct param1 param; struct param2 paramb; char t
[Migrated content. Thread originally posted on 12 February 2012] Hello, I have a web site and the aspx.cbl calls RMCobol dll, I had several problems with perform instructions, I had that change the program with goto instruction for the solution works well because the perform instruction in the RMCobol dll did not work, I can demostrate it, It is possible that I need some directive, please help, in the example from the community site about the use windows form with RMcobol progrma uses goto.Thank you
[Migrated content. Thread originally posted on 14 February 2012]I'm attempting to create web services that call unmanaged COBOL code. I thought everything was all well and fine until I started load testing and receiving accessViolationException exceptions. I did find the following article which was a great help www.philadelphia.edu.jo/.../PInvoke_tcm21-6374.pdf, and as an alternative to aspcompat="true" devlicio.us/.../calling-an-sta-com-object-from-a-wcf-operation.aspx, but I'm still having some issues.So I compiled my unmanaged dll using the REENTRANT(2) directive and that seemed to work okay, but memory is never released. Then I tried creating the COM server interface using the toolkit, but when I get multiple threads running against the COM component the accessViolationException is being thrown again. I tried setting the REENTRANT directive in the project directives, Build directives, and I tried specifying them during the Service Interface wizard, but when I depl
[Migrated content. Thread originally posted on 04 February 2012]I found in the old Extend forum artikles about CutePDF and want to used it. I did less with the system registry so is there somebody how will help me with an example for how to set the documentname.Best regards,Jaap
[Migrated content. Thread originally posted on 10 February 2012] Hello I have a web site ASP.Net with cobol program, this program calls RMCobol dll and it works but it gives me file status 9A, this file status is not documented in the help and I couldnt work with files in the RMCobol program.Thank you
[Migrated content. Thread originally posted on 09 February 2012] Hello,I am trying to use COBSQL to compile code against Oracle 11g as the database.I have usedCONFIRM CONSTANT DATABASE"ORACLE" p(cobsql) CSQLT=ORACLE11 CST CSP DIS MAKESYN SQLDEBUG VERBOSE KEEPCBL END-C p(cp) CONFIRM LIMITED-SEARCH ENDP ENDP as the COBSQL directives. I have put CSQLT=ORACLE11 not sure if this is ok (documentation seems to allow for ORACLE8)When I compile the code, it happily invokes the precompilerPro*COBOL: Release 11.2.0.1.0 - Production on Thu Feb 9 15:32:35 2012Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.the compilation is sucessful and and .obj is produced.when I further try to link this object into an executable I get.OBJ : error LNK2001: unresolved external symbol _csqlsuppD.OBJ : error LNK2001: unresolved external symbol _ora8libD.OBJ : error LNK2001: unresolved external symbol _ora8protI have included orasql11.lib and even CSQLSUPP.lib in the link
[Migrated content. Thread originally posted on 08 February 2012]I have a web page with gridview. I want to be able to click on any line in the grid, and do some processing on the selected line. How do I do it? I've created a method (shown below), and "onmouseover" etc work, but how do I call a method, or do anything, when a line is clicked on.Any advice gratefully recieved. Many thanks in advance. method-id grdSearch_RowCreated public.*************************************** local-storage section. procedure division. invoke grdSearch::Attributes::Add("title", "Click to select"). *> WORKS invoke grdSearch::Attributes::Add"onmouseover", "this.style.cursor='pointer';this.style.color='white';"). *>WORKS invoke grdSearch::Attributes::Add("onmouseout", "this.style.color='blue';this.style.background='white';"). *>WORKS invoke grdSearch::Attributes::Add(&qu
[Migrated content. Thread originally posted on 08 February 2012] Hello All,I am trying to precompile a Pro*cobol program.I have included an INCLUDE for SQLCA, but I am not sure where is the definition being picked up from.I have checked COBCPY, procompiler INCLUDE ... etc but it does not seem to pick up any of my copybooks but has this version in the compiler listing which I am not sure is picked up from.Is there a way so that the path of the copybook (both COPY and INCLUDE) is listed in the compiler listings ?--- UpdateI would like to further mention that If I issue an COPY SQLCA then it does pick up my version, how ever INCLUDE does not.-PTeng
[Migrated content. Thread originally posted on 02 February 2012]Hello,I have a package configured in RM/COBOL to allow the user enter data in utf-8 languages (chinese, russian, etc). Mostly I use an external win dialog to accomplish it.I am meaning to work with it using Visual COBOL, but I found that, after showing the utf-8 string in a given line, characters printed in the same line but in higher columns are misplaced.Any suggestion to deal with this?Thank you.
[Migrated content. Thread originally posted on 27 January 2012]Thank you to everyone who attended the webinar on Thursday – a fantastic turnout.We had a lot of great questions which I hope I've managed to answer below:1. Can you use Visual Studio for COBOL development on Unix?2. Can I use Pro*COBOL compiler?3. I’m a VB developer - Does the installation of Visual COBOL change the environment? 4. Are there lift-and-shift tools to take CICS/JCL to the Cloud?5. How much does the product cost?6. Where does source code live?7. Do I need Developer Hub to debug an AIX application?8. Can we mix Net Express 3.0 dlls in the same process as a Visual COBOL application?9. Does Visual COBOL support CICS?10. Can we migrate Dialog System apps to Visual COBOL?11. Are the data tools supported in Visual COBOL?12. Can we get the email addresses of other attendees on the webinar?Answers:1. Can you use Visual Studio for COBOL development on Unix?No. We recommend you use Visual COBOL for Eclipse2. Can I u
[Migrated content. Thread originally posted on 03 February 2012]Hello,I know how to link a C library in a COBOL program (static link), but I do not know if it is possible to make it dinamically.To build the static link I do:cob -z,CC PRCALLC SFDC.c SFDCPP.cppTo build the C library alone:cob -z,CC SFDC.c SFDCPP.cppBut, how to call the C module from a COBOL program which is not linked with it?Regards
[Migrated content. Thread originally posted on 31 January 2012] Hello I could not call dll native cobol from asp.net, the dll exists but the asp.net cobol program does not find it, I used asp.net with windows .net class link in order to link dll native, asp.net works well with .net windows program but I have te same problem because I can not link .net windows program with dll native in this solution, the dll exists and compile but it does not work.Thanks for your helpFrancisco Zambrano
[Migrated content. Thread originally posted on 03 February 2012]Hello,I found that when I perform two calls to a C program, and the second string returned by C is smaller than the first one, COBOL does not recognize the 0x0 character and shows the two strings overlapped.For example:The first call returns 'file11111.txt', and the second 'file2.txt'. Then COBOL understands 'file2.txt txt'.Dump of p_szFile in C program ='file11111.txt' 66 69 6C 65 31 31 31 31 31 2E 74 78 74 FILE-W IN COBOL=file11111.txtDump of p_szFile in C program ='file2.txt' 66 69 6C 65 32 2
[Migrated content. Thread originally posted on 02 February 2012]Command Line utilities for generating the record layout(STR) File?Can we generate the Dclgen for all the tables in Oracle ESQL From command line
[Migrated content. Thread originally posted on 02 February 2012]Hello,Anybody could tell me what does it mean?ld: 0711-552 SEVERE ERROR: Object TIEN615VC.o: Csects with symbol numbers 200 and 182 overlap.By the way, this option produces a
[Migrated content. Thread originally posted on 01 February 2012]Hi All,Just started to get a windows error message popping up when running my Visual Cobol Windows project.This has only started happening since it started running on a Windows 7 pc and the message says:-"Program has stopped working" "Windows is checking for a solution to the problem" however it just hangs.The exact same application works fine on a Windows XP machine.So what does it mean and how can I tell it to just "get on with it!" so the program works normally.Any help greatly appreciated as my customer is getting very annoyed!Many thanksNeil.
[Migrated content. Thread originally posted on 01 February 2012] FIRST STATEMENT WORKS FINE,BUT WHEN I USE VARIABLE IDENTIFIER DOES NOT WORK, I KNOW THE LENGTH OF VARIABLE IS THE REASON SO HOW CAN I FIX THIS. EXEC SQL DECLARE CSR17 CURSOR FOR SELECT DISTINCT A.EMPL_NO ,A.ENGL_NAME ,A.ARABIC_NAME FROM PERSONAL A WHERE ( A.ENGL_NAME LIKE N'%JAMILA%' ) END-EXEC EXEC SQL OPEN CSR17 END-EXEC PERFORM UNTIL SQLCODE EXEC SQL FETCH CSR17 INTO :PERSONAL-EMPL-NO ,:PERSONAL-ENGL-NAME:PERSONAL-ENGL-NAME-NULL ,:PERSONAL-ARABIC-NAME:PERSONAL-ARABIC-NAME-NULL END-EXEC IF SQLCODE = 0 PERFORM VARYING IDX FROM 1 BY 1 UNTIL IDX > SQLERRD(3) DISPLAY PERSONAL-ENGL-NAME END-PERFORM END-IF E
[Migrated content. Thread originally posted on 20 January 2012]Greetings.New to JVM COBOL and this forum.Wondering if anyone can shed any light on what I am experiencing in Visual COBOL for Eclipse.I have created a .java file in the Visual COBOL for Eclipse IDE and it seems I cannot save the file when I try to populate a byte in a byte array with a cast of a char to a byte. This code construct works elsewhere in java. byte[] crtioDataByteArray = new byte[16240]; crtioDataByteArray[0] = (byte) 'a';I get the same error if I even define a char as below: char OPENED = 'O'; When I attempt to save the file I get a dialogue box indicating "Save Failedjava.lang.NullPointerException"and the detail button offers no further explanation.Thanks
[Migrated content. Thread originally posted on 28 January 2012]Hi.Sorry for my poor English.I am trying to do this:////Code flagment ////////////////////////////////////////////////// Invoke BitmapData "fromFileZ" Using z"D:\\piSistemas\\Imagem\\Foto01.bmp" Returning BitmapOR Move 0 To hPalette Move 1 To fPictureOwnsHandle Invoke OlePicture "fromBitmap" Using BitmapOR
[Migrated content. Thread originally posted on 26 January 2012]Hello,I am trying to save a new configuration, after altering the default RM settings, but I cannot see the file in the current dir.After altering the options, I press ESC three times, F4 to save, F2 for new configuration, enter the name and ESC, but no file is created.
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.