Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Anyone having success with Relativity and being able to treat numerics like SQL where you can encase with single quote? In SQL for an int field select * from table where add_date = '20160701' works the same as select * from table where add_date = 20160701. However with Relativity this field is a PIC 9()8) and running without the single quote works but using the single quote I get message INCOMPATIBLE TYPES IN PREDICATE. Trying to save a boat load of code changes as we are migrating to Relativity from an ODBC connector that worked like SQL.#Reativitynumerichandling
Hello,please I am debugging Cobol on SunSystems 5.2.1 via MF Net Express 3.1.11 SP1. So I am on virtual machine with Windows XP.But on debug when I am not quick enough I got this message: "The sunsystems server is unavailable. Since there are no remaining functions open SunSystems will now close down."If I am debugging quick everything is going fine.Please can anyone help? Is there any setting for that?I found only in SUN root directory file SUN5.INI and there this option:CCI-Time-Out=3000I try to set this to 9000 but no change.Thanks for any help.#netexpress3.10#COBOL
Working with a developer to access Cobol data via Relativity from Visual Basic applications and I am being asked for the connection string or dll that needs to be used. I know I need to use the ODBC connection for Data Client ADO, but I am being asked for an example of others that have this step already working. Can anyone give me a small piece of sample code with a connection string? Thanks.
Hello, How I can detect which is the default printer in windows? I've done various experiments and should not walk away.If you use PC_PRINTER_INFO PC_PRINTER_OPEN after the printer is set by default prints a blank page.If you use PC_PRINTER_SET_DEFAULT opens a window to select a printer.In both cases I can know the default printer but is not very good print a blank page or be closing a window. Thanks Alberto Ferraz
Hi Apologies if this has been answered bfore, couldn't find it on the forum. Is Visual Cobol 2.1 for Visual Studio 2010 compatible with Windows 10? Just installed the trial on a new Windows 10 computer and it seems to be working ok but I want to be sure. We will soon be upgrading all our PC's to Windows 10 (currently on XP) but still want to use VC 2.1 for the moment. Also, is Cobol Server 2.2 and 2.3 compatible with Windows Server 2012? Thank you Brendan
I'm using version 8.1.00 rmcobol in windows 10. The subprogram C$GetLastFileName returns only the filename without the full path . On Windows7 working properly! Any suggestions?
Many years ago AcuCobol provided a sample program using an Active-X control for a multi-select List Box. Since then, has this functionality been built in to the Extend product line? I am using Extend 10 and need to create a multi-select List Box. Is Active-X still the only way?#ActiveX#acubench#multi-select#listbox
My Cobol server is running in Linux and I am using Relativity to populate some data to a website. I have a linked server setup using the 64bit driver. First off looking to see if anyone else has experience using Relativity in this manner as currently the only way I can see data is to use OpenQuery with my linked server. In this manner my alphanumeric data is showing properly, and regular integers are okay, but decimal numbers are being stripped off such that 1.987654 shows up a 1.0 and is causing countless issues. In my case the field has a picture clause of 9(06)v9(06) and was pulled as an import from my file definition and using a tool like ODBC test shows proper data. So my problem appears to lie with OpenQuery and possibly the way Relativity is defining my data for sharing with Open Query. Any help would be greatly appreciated.#RELATITY#decimalpoint#linkedserver
Hi Up to now, In Net Express, and Visual Cobol indeed, we have been able to print directly to Adobe PDF by setting the default printer to Adobe PDF and using the PC_PRINTER... routines. We would typically call PC_PRINTER_OPEN with flags set to 4 or 8 to define orientation. A dialog box "Save PDF File As..." is displayed and we press the Save button and the PDF file is created and Adobe is opened and that is all fine. Now, in Visual Cobol we are looking at using the System.Drawing.Printing.PrintDocument class and the Print() method to make use of better pormatting. This works fine when the default printer is an actual physical printer. With the default printer set to Adobe PDF the process just hangs when the Print() method is called, a message box appears saying it is printing page 1 of the document but the PrintPage event handler is never executed. Changing PrinterSettings::PrinterName in code has the same results. It what I am trying not possibl
We do see some compatibility issues between MF Cobol (Unix) and Visual Cobol (Windows) on Visual Studio. Can you please let us know how to mitigate 1) Comp-3,Comp-5 or packed decimal fields does not get compiled. However when changing to Comp it gets compiled 2) Reserved Keywords compatibility issues like "OPERATOR " Do we need to add any specific compiler options or any libraries .Kindly advise #Comp-5#COMPILER
We're running some legacy executables developed on NetExpress 5.1. They run under Windows 7. We are in the process of converting to another platform but need to keep these running until... I'm testing on a Windows 10 machine and am getting a Load error from cblvios.dll that says error code: 174, pc=0, call=1, ser=0 174 Imported file not found(N:cblvios.dll) Does anyone know what it's looking for? Any suggestions appreciated.
How can I retrieve the path of the currently executing RM/COBOL program? I am making command-line calls via CALL "SYSTEM" and need a way to route the output depending on where the program is running.#rm#COBOL
I try to learn COBOL a little bit more deeply with VISUAL COBOL, But I feel hard to understand someone's code like this: ****************************************************** identification division. program-id. gip2trbl. environment division. configuration section. data division. working-storage section. 01 TRBLINP-TYPE PIC X(01). 01 TRBLINP-SEARCH-DATA PIC X(40). LINKAGE SECTION.
Hi, in Server 5.1I have dfconv.lbr in Cobol Server 2.3.1 have dfconv.exe the same command line that work on server 5.1 "run.exe dfconv d:\\tmp\\flsetl\\mnt\\gluster\\pocs3\\prod\\sw\\prod\\xx\\conb\\scripts\\utilities\\conf\\flsetl.PRO d:\\tmp\\flsetl\\prod\\dati\\work\\utilities\\tmp\\txt2dat\\2016-06-27-17.10.32.473816485-14728\\flsetl.SRT d:\\tmp\\flsetl\\prod\\dati\\work\\utilities\\tmp\\txt2dat\\2016-06-27-17.10.32.473816485-14728\\flsetl-CRE.dat" write the output file : d:\\tmp\\flsetl\\prod\\dati\\work\\utilities\\tmp\\txt2dat\\2016-06-27-17.10.32.473816485-14728\\flsetl-CRE.dat d:\\tmp\\flsetl\\prod\\dati\\work\\utilities\\tmp\\txt2dat\\2016-06-27-17.10.32.473816485-14728\\flsetl-CRE.idx don't work in Cobol Server 2.3.1 "dfconv.exe d:\\tmp\\flsetl\\mnt\\gluster\\pocs3\\prod\\sw\\prod\\xx\\conb\\scripts\\utilities\\conf\\flsetl.PRO d:\\tmp\\flsetl\\prod\\dati\\work\\utilities\\tmp\\txt2dat\\2016-06-27-17.10.32.473816485-14728\\flsetl.SRT d:\\tmp\\flsetl\\prod
Is anyone using Relativity in a unix environment where you are sharing Cobol data with Windows? I am trying to push data from Unix to SQL using a linked server and also update Cobol data from MSSQL Server Agent and from scheduled tasks running visual studio projects. Any suggestions appreciated as we are trying to determine if we have the right product or not. Eventually I also plan to use Visual Cobol with Esql to get Windows SQL data to be available to Cobol in unix.#Relativityunixodbcsharing
Hi, I am looking for tools to convert from Microfocus COBOL to Visual COBOL . Can you please provide some pointers for the same. Thanks. #MicrofocusCOBOLToVisualCOBOLconversion
Hello, I have a datagrid with multiple lines.Select three of these lines.How do I read the three lines I selected? Thanks Alberto Ferraz
Does anybody know how to create shortcuts in Extend 9.2?
Hello, I made my first program with a TreeView and is working.I used the method that is in the example WPFBOOK the demo. Now the question I am asking is how do I get the selected line?For example I have a locale with five clients. What I want is to click on a client and display your data in another window. Thank you Alberto Ferraz
This is not a big deal, but I have an Indexed File that is NOT described as OPTIONAL in the SELECT statement. When I OPEN the file I-O, and the file is not there, it creates an empty file (good! that's what I want!) and returns a status code of 05 (instead of 35). I would have thought that the status code would have been a 35 in this instance (as it is NOT described as an optional file). So, my only question is why is it 05 instead of 35 in this case? Thanks.
is it possible to identify CobolWOW thin client users on the Sco Unix server? Windows 7 pro pc's run CobolWOW Extensions- thin client v9 configured to use port 5010 & ip of SCO Unix server. The CobolWow object is on the SCO Unix Server. Note below that all CobolWOW Extensions- thin client v9 users are identified as "root" (can't tell who actual user is) # ps -aef|grep menu.cob root 5440 5439 0 11:52:50 ? 00:00:02 ./runcobol /usr/cobolwow/me nu.cob S=00000010 K L=./libtclnt.so C=/u/xxx/idir/co root 5859 5858 0 12:04:04 ? 00:00:00 ./runcobol /usr/cobolwow/me nu.cob S=00000010 K L=./libtclnt.so C=/u/xxx/idir/co root 5871 5870 3 12:04:16 ? 00:00:00 ./runcobol /usr/cobolwow/me nu.cob S=00000010 K
The code below defaults to YES when the WOWMESSAGEBOX displays. So the user can press ENTER or click YES for "YES" or click NO for "NO". I'm trying to display the WOWMESSAGEBOX with no default so the user will be forced to click YES or NO in order to contunue. Any ideas? Thanks!! INITIALIZE MESSAGE-BOX-FLAGS. SET MB-DEFBUTTON3 MB-YESNO MB-TASKMODAL TO TRUE. CALL WOWMESSAGEBOX USING WIN-RETURN 0 "Continue Entering This Order?" "WARNING" MESSAGE-BOX-FLAGS.#COBOL#RMCOBOL
I downloaded Extend 10 62 bit version but not everything required was not installed. For instance the compiler ccbl was not installed as well as the sample/def directories. Am I missing something in this release. I downloaded the 32 bit and everything there seems to have been downloaded. Thanks David
Windows Messages / Extend 10.0.1 Hello,we have integrated a report generator into our COBOL application (List & Label of Combit) via a DLL. This works smoothly for years.Now we want to realize a sequence where the report generator send us Messages via "Windows Messages" back so that we can initiate new actions in COBOL.Can I noticed this news about a EVENT Procedure at the window? Has this window to be "modeless" and the DLL-Call a "thread"?Or must I wait on a ACCEPT (... allowing messages ...) in COBOL?Alternatively, you can also use callback routines for the report generator. What is that and does it work with COBOL?Unfortunately there are no COBOL users in the report generator Forum or do not want to do so much. RegardsFrank-Peter Clees#WindowsMessages
Hi, guys I'm using a dll to get a xml string from a Web Service. I don't know what size has this string, but I need to store it in a cobol variable or in a file, to parse it later. I don't want to use something like:this: 77 XML-STRING pic x(5000000) My code: CREATE "@Manager" NAMESPACE IS "Manager" CLASS-NAME IS "ManagerHelper" CONSTRUCTOR IS CONSTRUCTOR1 (  
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.