Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
[Migrated content. Thread originally posted on 28 August 2008]Can anyone provide an example of how to use CJAVA-EXCEPTIONOCCURRED and CJAVA-GETEXCEPTIONOBJECT (from C$JAVA facility) in simple cobol app? These are new in V8.0 I understand.Thanks
[Migrated content. Thread originally posted on 12 August 2008]Hello,I'm new to AcuSQL and I have a question about cursors. I'm trying to write a program that takes a query string from the user, declares a cursor for a select statement, and fetches the results returned by the query. I've managed to do this successfully.The problem occurs when I try run a second query, using a different user-supplied string. The results returned by the second query are identical to the first set of results. The third time I try it, I get the error message "Duplicate cursor name".I declare, open, and then close the cursor every time, in addition to preparing the statement, but it seems that the cursor (or the prepared statement) doesn't get completely closed. My question is this: Is it possible to free the cursor in order to reuse it for a different query? Or am I just going about it the wrong way?Here's the code I'm using: * run que
[Migrated content. Thread originally posted on 05 June 2008]Hello,I need to send information to an Active-x calender and also receive data from it.Does anyone has a sample program?Thanks
[Migrated content. Thread originally posted on 17 June 2008]I am passing a String (PIC X) to a Java method and Java heap memory is increasing until it eventually hits the limit(default 64Mb). I can up the limits but it will occur again so I need to know how to avoid this.I have used a debugger to find that the Strings passed to my method are not being garbage collected and are remaining on the heap. I am not storing them in anyway on the java side.Below is the COBOL call. I am talking about a PIC X(1000) or more and calling it over 100,000 times.Is anyone else having this problem or know a work-around, thanks.000000 CALL "C$JAVA" USING CJAVA-CALL, IPGLBAL-HANDLE,000000 "com/company/cobol/IpglbalProcessor",000000 "execute",000000 "(X)I",000000 IPGLBAL-DATA,000000 IPGLBAL-CALL-SUCCESS000000 GIVING IPGLBAL-CALL-STATUS.000000*
[Migrated content. Thread originally posted on 18 June 2008]By any chance has anyone ever seen this error message before and have a clue as to what to look for.Error message attached: This is generated from the following COBOL statement in an attempt to access a web service. MODIFY QUALCOMM-HANDLE "sendTextMessage"(WD-SENDER WD-ADDRESSEES WD-REPLY-TO WD-RETURN-RCT WD-PRIORITY WD-MACRO XMT-DATA) giving wb-get-result.
[Migrated content. Thread originally posted on 11 June 2008]Buenas tardes.Estoy accediendo a traves del jdbc de acucobol-gt 8.0 a una base de datos GENESIS.Quisiera saber como manejar el bloqueo de registros desde una aplicacion java que accede via el jdbc, ya que desde dos funciones accedo a los mismos datos y no deseo que una funcion vea dicha informacion hasta tanto la otra funcion libere dicho registro.Intent? configurandolo a traves del archivo acuxdbc.cfg pero no logro los resultados esperados.Desde ya muchas gracias.
[Migrated content. Thread originally posted on 18 June 2008]Does anybody know how I could convert Acucobol C$PARAMSIZE in MF Cobol as there is no equivalent routine?
[Migrated content. Thread originally posted on 30 May 2008]Alguien me puede ayudar a decirme como puedo liberar Runtimes atrapados en Linux ya sea si la maquina cliente Windows tiene thin client y deja de usarla por determinado tiempo o se cae el sistema y el runtime del servidor Linux lo deja activo. Que puedo hacer para que no suceda esto ? Cada dia en la ma?ana me encuentro con usuarios atrapados y tienen que ser liberados manualmente con el acurcl -kill.Existe alguna Variable de Configuarcion que evite esto ?Ya prob? con las Variables TC_QUIT_MODE 0TC_SERVER_TIMEOUT 30TC_CHECK_ALIVE_INTERVAL 1200y no funcionan para esto.Gracias.
[Migrated content. Thread originally posted on 05 June 2008]Hello all - (sorry for the book)I'm having an issue with lost threading within a multi-level threading environment. I have isolated where I am losing the thread, but I'll give some background information first.I have a process which is chosen from the main menu window which then calls the first program where the user makes a selection of over 100 people to run the process on, which then calls a parameter program, which then calls the processing program, which then calls the print program at which point the user closes/prints the displayed print and the process wraps back around to start again with the next selected person and so on. This process was working seamlessly when, about a month ago, this lost thread began to happen. I have tried numerous things, but I can't even find an available variable to help me force the path to continue. The thread(s) is getting lost after the 15th processing in the Acu-Proc of
[Migrated content. Thread originally posted on 29 July 2008]Hi all,i want explain what i need to do.I have a grid with 1 column. I need to move in the cell of the grid a string not defined in size, but what i have to do is go ahead with the rest part of the string (in a new line maybe) when the size of the cell is full. But i need to go ahead not cutting the string but with the entire word, like a multiline entry field do.I have ofc idea how to do it... but if there is someone already done it should be great.Ty allcudonant
[Migrated content. Thread originally posted on 18 June 2008]Hi there,Does anybody know how it would be possible to replicate with Micro Focus cobol on Unix the ACU specific screen width switching display:DISPLAY SCREEN 132DISPLAY SCREEN 80 ?The closest from this I have found in Micro Focus Cobol (Server Express) is to do a call "cobtermmode" using with 0 meaning 80 Columns and 1 meaning 132.The problem is - so far - I got it only working with TERM=vt100 (with no color support) and also anything I try to display after column 80 when in 132 columns mode is simply ignored.As in ACU, I need to be able to seamlessly switch (with full color support)between screens with a 132 columns width and others with 80 columns width.Apparently cobtermmode relies on terminfo and can only switch between 132 and 80 columns if the terminfo file includes support for wide mode (ie: vt100-w with cols#132)Ideally I would probably need to get hold of a Terminfo file with the following capabilities:swit
[Migrated content. Thread originally posted on 30 July 2008]I have registered to the forum but am not able to post anything yet. I am waiting for the administrator to give me this right. In the meantime could you post the following question?*I want to use an Acubench grid control to enter transactions. Basically there are 4 visible columns and 13 rows. Row 1 being a header row.Since the AcuBench help manuals indicate that each cell provides all function key feature of an entry field, I made the assumption that I would get all event procedure of an entry field as well. Apparently this is not so.I have 2 questions. *1. I would like to edit whatever the user types in the first column cells as s/he types it. In an entry field, I used the Ntf-Changed event. I am reformatting an account number to use ?-? between segments, e.g., the user type ?00? and now the entry field shows ?00-? with the cursor positioned after the ?-? ready to accept the next character. Thus the user enters digits ?00001
[Migrated content. Thread originally posted on 07 August 2008]We have designed all our graphical screen to run at 800x600. Customers are now asking to be able to run at either 800x600 or 1024x768. I read about the resize manger and have been trying to incorporate that into our software. I have one problem, the resize manger appears to only allow me to either move controls or resize controls. I want to do both, more it and resize it. I tried adding the resize and move values together but it only performs the move not the resize and move both. Has anyone gotten the resize manger to both move and resize controls using the resize mananger?
[Migrated content. Thread originally posted on 24 March 2008]Hi All -We have been using Totem as our IDE for more than 6 years and are being told that Totem is not being supported on Vista. We want to convert our programs to AcuBench. We would appreciate any information and ideas on moving from Totem to AcuBench. Thank you!
[Migrated content. Thread originally posted on 12 May 2008]Hi Folks,I have been trying to get a program working that will connect to a web service so I can load information to the site. I used the "sockhtml.cbl" program found in the 8.0 installation sample directory as a basis for accomplishing this. The data returned from the web site is as follows:==============================HTTP/1.1 302 FoundDate: Mon, 12 May 2008 18:57:29 GMTServer: Apache/1.3.33 (Unix) PHP/4.3.11X-Powered-By: PHP/4.3.11Location: http://cenappsdev.redirectme.net/?fConnection: closeTransfer-Encoding: chunkedContent-Type: text/html0===============================I understand the 302 found message has to do with some sort of redirection going on but I'm not sure now what to do about it or where to go from here. I have attached the source program which uses C$SOCKET that makes the connection to the web site and a file that contains the information being sent "CENAPPS.WEB". Any informatio
[Migrated content. Thread originally posted on 13 May 2008]Does anyone have any experience are advice in developing a program to generate cXML files for Ariba ?
[Migrated content. Thread originally posted on 09 May 2008]I do not know quite where to start with this - but I would like to be able to call the compress/decompress (zip/unzip) abilities within MS Windows. Does anyone do this already or knows how to go about it?Keith
[Migrated content. Thread originally posted on 14 May 2008]Hi,I want to use the * sign as a tab. In the configuration file I have added the line "KEYSTROKE EDIT=Next Terminate=9 42.This works fine but when I use it in a grid he always leaves the grid and goes to the first entryfield. I am using thin client in a Unix environment. Has anybody an idea how to solve this.
[Migrated content. Thread originally posted on 22 May 2008]I have raised these issues before and just want to share the fact that PKWARE have a command line version of their windows PKZIP family of products called PKZIPC (version 400). It works perfectly with long file names and solved all our problems.download at http://www.pkware.com/download-softwareKeith
[Migrated content. Thread originally posted on 14 May 2008]Hello to everyone, I have a serious problem with interoperability with acucobolGT (7.0.1 and 7.2.0 for Windows) and Java.I have a java class (called from acucobolGt) that merge several (500-600) PDF documents in one (big) PDF (about 21Mb-28Mb).The designated java class perform this steps:1 - extracts (one to one) the name of the PDF documents to merge contained in an array of string2 - read the source document 3 - add the source document to the destination PDF4 - update (write) the destination PDF on the disk5 - repeat the steps (1-4) until the source PDF documents endswhile the class perform this steps the memory usage grow until 92Mb, at this point the class exit abnormally without generate exception or other error. In the beginning I thought that the problem depended for the class that I used but changing the method I noticed the same problem at the same size of memory used (about 92Mb).Someone knows if there is a limit of
[Migrated content. Thread originally posted on 09 May 2008]Hi,I am using acusql 7.20 and i want to execute a stored procedure in my cobol program. When i do this the open cursor gives the next error "Attempt to execute nonexistent, unprepared or invalid statement spcurs"I can't find what i'm doing wrong. Maybe somebody else can?I use the next small program to test IDENTIFICATION DIVISION. PROGRAM-ID. magweg. ENVIRONMENT DIVISION. CONFIGURATION SECTION. SPECIAL-NAMES. COPY "SPECIAL.ENV". INPUT-OUTPUT SECTION. FILE-CONTROL. DATA DIVISION. FILE SECTION. WORKING-STORAGE SECTION. COPY "STANDARD.WS". COPY "STANDSUB.WS". 01 num-rows-read PIC 9(09). EXEC SQL BEGIN DECLARE SECTION END-EXEC. 01 num-rows pic 9(09). 01 ret-code pic 9(09). 01 A24-NAAM PIC X(0030). 01 A24-VOORLETTERS PIC X(0005)
[Migrated content. Thread originally posted on 01 April 2008]Hello everyone .. I have some questions that I hope I help solve .... -- Imagine a server with Windows Server 2003 for 32-bit and imagine a second server with Windows Server 2003 for 64-bit ... 1 ?. There acubech and runtime for 64-bit whatever? 2 ?. I have a different runtime acubech and one for the 32-bit OS and one for the 64-bit OS? 3. The runtime for the 32-bit OS run on the 64-bit OS? ... And if you are then that the provision would have less than 64 bits (for example slow)?. 4. If I have a 64-bit runtime for?, Run in 32-bit? I hope help me with these questions that I postThanks to hand ... CIAC
[Migrated content. Thread originally posted on 01 May 2008]Hello,Has anyone here worked with PDF Factory?:confused:
[Migrated content. Thread originally posted on 17 February 2008]Hello everyone. A few months ago has left the version 8 of acucobol and I have a series of questions that would help me pudieseis .. 1 ?. Version 8 of acucubol runs on 64-bit platforms? 2 ?. The runtime version 8 of acucobol is more rapid in the execution of programs that version 7? I hope I podais help ... Greetings Cordiales Peter.
[Migrated content. Thread originally posted on 04 March 2008]Hello,The SQL Server gurus say to avoid cursors. Is there any way to pass data from SQL Server to an Acucobol program WITHOUT using a cursor? The examples in the AcuSQL manual all use cursors.Thanks
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.