Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi, I am getting Error 26 - Licence validation error when I try to use Visual COBOL PE. It appears that validation error was caused by me changing system clock for DAY-OF-WEEK testing. (Had to change clock to see of DAY of week code was returning correct value). Could you please re-enable my licence? I should have Timed licence until 1/24/2016. One of the following emails was used for product licence registration: lazarenko.luda@gmail.comlaza0027@algonquinlive.com Thanks.#Error26-productlicenceclocktamper
Hi In our project earlier we were using a unmanaged DLL that was consumed by C . Now we are migrating from C to .NET. So the same DLL can not be consumed by .NET. The problem statement:- The COBOL program "Prog1" inside the DLL is having 4 Entry points. As read from some of the threads we are trying to create a COBOL COM wrapper Class from File -> New->CLASS->COM Component. This will create a new class in a new Net Express project. then We tried to create 4 method using Class wizard in this Class for all entry points. 1. Like Method1 for Entry1 2. Method2 for Entry2. Now we are not able to understand how to make a call to existing (Prog1) COBOL program for an entry points in the Method. We also tried the below option: Method 1() :declare in local storage of method 1 77 default-entry-point procedure-pointer. :Code in Mehtod
Hi, Something happened and now if I try to compile to generate an int file under Visual COBOL for Visual STUDIO, I receive FILE I-O ERROR on the .int file and nothing is generated. I am using cobol myfile.cbl int() ; from the Visual COBOL Command Prompt 32-bit
hi, on netexpress 5.1 the function numval of a string don't give abend . On mfe, instead, it give abend "181 invalid parameter error" the source NUMB PIC 9(18) comp. WK-STR PIC X(50). MOVE "00000061G " TO WK-STR COMPUTE NUMB = FUNCTION NUMVAL(WK-STR) I add this compiler directive: HOSTNUMMOVEHOSTNUMCOMPAREHOSTARITHMETICNOSIGNFIXUPCHECKNUM but I don't have the same behavior.. thank... #181numval
In the doc on Interoperability, the link "To use CCW to expose a .NET class to native COBOL" appears to be a broken link. Thanks, Austin1
We're trying to troubleshoot some sporadic crashes in an ACUCOBOL 9.2.4 program that interoperates with a C# DLL. Our configuration file has the following setting: ACU_DUMP 1 This does cause a dump file to be created for some crashes, but not all. What tools/techniques can be used to troubleshoot the sort of crash that prevents the dump file from being created? My first thought is to try using procmon, but I just wanted to see what else this community would recommend. Thank you!#ACUCOBOL9.2.4#Crash#AcuCobol
I have a program in cobol wow that is called to create a file. The main program only does the following: perform process-1 thru exit-process-1. The process involves reading a file to finish creating other new features. While running the process "read next" I want to allow the user to press a button to cancel.On the form I have a button that says "press here to cancel". During the process I need to know if the user presses the button to cancel. The question is, what code should I include in the process for detecting that was pressed the button "cancel" and proceed to go to the exit-process-1.
I have imported a Net Express project that uses Dialog System into Visual COBOL. When I try to run in I get "DSRUN error 18,0,0". I have added the Addpack for Visual Studio 2012: compataddpack2012_222.msi Is there some other step I am missing?
i need to implement datdiff function as following. How can i recieve the value of duration in a field like 01 duration pic 9(05). SELECT DATEDIFF(SECOND ,PulsZeit,getutcdate()) AS 'Duration' FROM Clients where AnwendungsId='Thomas Grausgruber@IBOS.TG007'
Is there any guide for creating reports at the size of reciepts (80mm) for thermal printers?#reports#receipt#thermalprinter
I’m looking for some alternatives to printing documents with graphics/logos from Linux, and I’m interested in what other people out there are using? Currently we are using thin client to windows clients with a Linux data server. For printing we’ve always stayed internal to runtime, printing graphics and logos by using win$printer commands passed to the windows print spooler. As our output has become more complex we’ve run into speed issues with this approach. So we are now looking into alternatives. We do not have any issues getting the output converted to PDF, or in front of the client’s eyes but with generating the graphical elements themselves outside of win$printer. Initial thoughts are to generate a HTML report on the server side, or start exporting data in a flat format to be picked up and output by a report writer. But I was wondering if anyone else has already crossed this bridge or has other insights as well? &nbs
Hello, We use to debug an application with cobanimsrv under ServerExpress 5. We start cobanimsrv and then start an application that calls a daemon to communicate with cobol. When cobanimsrv is started, it waits for our application to start. Once we have launched our app (via Adobe Air), we can debug the cobol code with anim. Is there an equivalent of the cobanimsrv command for VC2.1 for Eclipse in order to debug a program from inside Eclipse ? Thank you Alain
Hi, what about the SQL Option to set the application name - any restrictions with Microsoft SQL Server? I tried the following: exec sql set option APPLICATION "MyAppName" end-exec exec sql connect to :db-alias user :user-passw end-exec The connect works as usual but APP_NAME() in SQL Server is not affected, it is empty. Windows 7 Professional, Net Express 5.1 (Version 5.104.0083), Application build as 32-Bit, SQL Server 2012, ODBC driver standard SQL Server Regards, Torsten
Hello, I have been trying to send mail using cURL from Cobol. I took an example from this forum but I am stuck with the mail body: Here is the link to the example from cURL http://curl.haxx.se/libcurl/c/smtp-mail.html. The following code (partly taken from a previous discussion on the forum) seems to work partially : *> Demo showing how to make an http request from a COBOL program *> using libcurl. *> libcurl can be found at sourceforge.net/.../ *> libcurl documentation can be found at http://curl.haxx.se/libcurl/ *> *> compile as follows: *> cob -x urltest.cbl -L/usr/lib -lcurl -L/usr/ssl/lib -lssl -lcrypto -ldl *> &nbs
Hi, guys!Living in a country that uses comma as a decimal point (1.000,00), I found a bug in the decimal-point is comma declaration.After using a mask to accept input:w-Number PIC 9(02)V9(02)w-Number-e PIC Z9.99 It displays "0,00" but it ignores the Z, and after moving the mask to the proper variable, it continues to have the default value:move w-Number-e to w-Number.#decimalpoint#comma#COBOL
When opening the project is presenting the error attached. Would have to refer to any namespace?I'm using VC 2.2 Vs 2012.
Problem: A .NET managed code application such as Windows Forms or WCF is trying to call a program which resides in a native code .dll. The program being called has the same name as the .dll and it is available in the current folder of the managed code application. When the call is made an RTS 173 error occurs stating that the program cannot be found. What could cause this? Resolution: There are a couple things that could cause the 173 error. The most common are: 1. The case of the program name in the call statement does not match that of the entry point name. If you do not specify the $SET CASE directive within the native program then the default is to convert the program-id to upper-case. If this is true then the call statement needs to use upper-case as well. If you do specify the CASE directive then it will generate the entry point name exactly as it is specified in the program-id. 2. The native .dll is not linked as dynamic and the run-time system cblrtsm.dll is not available withi
Greetings. I am trying to get acucobol to work on an armv7 board running debian jesse. when I try to execute runcbl, I get "unable to execute binary" Has anyone managed to recompile acu-cobol and manage to get it to work on a raspberry pi? I am using a raspberry pi clone, cubox i4 pro Thanks in advance#recompile#raspberrypi
Dear Chris, I am Testing a Visual Cobol for Eclipse program with MQ and I get the Enclosed Error : sc_script.txt
Hello, I'm creating a Word file and trying to insert a numbered list by using a cobol definition of Word. I've created a very simple Word macro but I can not translate to Cobol. Can anybody help me? This is the macro code: ListGalleries(wdNumberGallery).ListTemplates(1).Name = "" Selection.Range.ListFormat.ApplyListTemplateWithLevel ListTemplate:= _ ListGalleries(wdNumberGallery).ListTemplates(1), ContinuePreviousList:= _ False, ApplyTo:=wdListApplyToWholeList, DefaultListBehavior:= _ wdWord10ListBehavior Selection.TypeText Text:="TEST" Thanks!!#AcuCobol#extend32-bitRuntime
Problem: In Net Express and Server for COBOL, the syntax to run the Data File Converter (DFCONV) command line is the following: run dfconv profile-fname [input-fname] [output-fname] In Visual COBOL or COBOL Server, running the above command line fails with the following error: Execution error : file 'dfconvdll'error code: 114, pc=0, call=1, seg=0114 Attempt to access item beyond bounds of memory (Signal 11) Resolution: In Net Express and Server for COBOL, the DFCONV is a .lbr, which requires the RUN trigger program to execute it while in Visual COBOL and COBOL Server, DFCONV is a .exe. In other words, DFCONV must be executed without the RUN command: dfconv profile-fname [input-fname] [output-fname] Note: Since there is DFCONV.DLL in Visual COBOL and COBOL Server, the RUN command actually tried to run it and resulted to the Error 114.
I have an application copied from a SCO UnixWare system (using a Liant COBOL runtime and compiler) to a SUSE Linux system (using Visual COBOL 2.2). Copying was as simple as taring the application, copying over to the new system, and untar. Paths are all the same, as are permissions. The immediate goal is to simply get the application running on the new system. This is the FILE-CONTROL: SELECT INQFL ASSIGN TO RANDOM "/mypath/INQFL" ORGANIZATION IS INDEXED ACCESS MODE IS DYNAMIC RECORD KEY IS I-KEY FILE STATUS IS IND-STATUS. The application compiles but on execution of the line OPEN INPUT INQFL, IND-STATUS contains "98". &nb
I am trying to Create New Internet App in Netexpress, which usually work well. This CBL has embedded SQL in it and the Create gives me error message NO SQL DIRECTIVES have been set. The directives I have Set are DBMAN (ODBC), AUTOCOMMIT, ALLOWNULLCHAR. Do I need others? Ellen S.
I have a managed .NET class named Customer and i need to write a method in order to create an XML file. How can i enable XML syntax in my Class? is there any sample code?
I'm getting sqlcode -102 opening a cursor to select from a SQL view. The message is "syntax error". This code works on other SQL servers, so I'm stumped as to what the error is. see code below, the error occurs when I open cursor. Any ideas??? Thanks, Ellen exec sql connect to iDatabase user 'coboluser.Data500$' end-exec. if SQLCODE < -1 MOVE 2 TO WS-ERRORCODE go to 100-END. EXEC SQL DECLARE CSR1 CURSOR FOR SELECT &nbs
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.