Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi folks. I hope somebody can help me with this problem. I am working on maintaining a large program. The problem which I have is related to printing documents. On the computer are installed two printers:1) Bullzip PDF Printer2) HP LaserJet (default printer) I had successfully called printer dialog, chose Bullzip PDF Printer for printing. The only first document was printed with Bullzip printer, all other documents are printed with HP LaserJet without showing printing dialog. Here is my code: PRNW-OPEN.*-------- move 1 to Prn-Flags. move 0 to Prn-WinHand. move "Greska kod OPEN Printera !!! " to Prn-Errtxt. MOVE 128 TO Prnw-len. MOVE PrnDoc-naz TO Prnw-InCHR. PERFORM PRNW-Title-Len. IF Prn-IndOPEN equal zero THEN; CALL "PC_PRINTER_OPEN" using Prn-Handle, Prn-DOC, by value Prn-Flags by value Prn-WinHand returning Prn-RetCode. if Prn-RetCode not equal zero PERFORM PRNW-ERR. MOVE 1 TO Prn-IndOPEN. move zero to Num-Lin. What I want to achieve is:1) to choose in the
Environment AcuToWeb Gateway running in any browser on Apple CPU machines Problem When running a program in a browser using AcuToWeb, the program can show strange behaviour. Screens can close randomly, and the active entry field can switch randomly to another entry field. This doesn’t happen in the same browsers on machines with an Intel CPU. Resolution There seems to be some incompatibility with web technologies and browsers running on Apple CPU machines. The issue can be avoided by disabling hardware acceleration in the browser.For instance, to disable hardware acceleration in the Chrome browser, follow these steps: 1. Open Google Chrome. 2. Click the icon in the upper-right corner. 3. Select Settings from the drop-down menu. 4. In the menu on the left side of the window, expand the menu. 5. Click System. 6. In the middle of the window, under System, click the toggle switch next to Use hardware acceleration
Problem: IBM TXSeries starts one or more Application Server processes when a region starts. An Application Server process runs in the background and listens for requests, then invokes COBOL programs to fulfil requests. Other applications such as NTT DATA’s Unikix, FIS (formerly Sungard) Ellucian Banner, and Systems & Software's enQuesta are also designed using Application Server processes that invoke COBOL programs. It is difficult to use the Visual COBOL for Eclipse debugger to debug COBOL programs invoked by these Application Server processes. Solution: This article includes a COBOL module and instructions to make this type of debugging more practical.The Eclipse debugger can be started in different ways, controlled by the debug configuration. The Attach to Process debug configuration is not practical in these cases because the debugger would need to attach to one of the Application Server processes responsible for invoking COBOL programs, but more than on
Ineed a copy of socket.def solartoys@yahoo.com thanks bob
Why is this new version (only since any months available) not to download? Yesterday, a new try give vcvs2019-60.exe! Is here a reason or forget from MF to actualize? Thanks for answer!
I am trying to send an email from acucobol with no luck. All help will be appreciated. Thanks...bob
I am trying to create a Visual Cobol WinForm .NetCore project using VS 2019. When I click on the form to view the designer, I am getting the following error. "The language for this file does not support the necessary code parsing and generation services. Please ensure the file you are opening is a member of a project and then try to open the file again." Any help on this would be greatly appreciated. #VisualCobolWinForm.NetCore
I have a hopefully short term need to keep an old unix application which uses PANELS running under Visual COBOL on Windows. I've managed to get the code compiled and running and fixed the function keys etc. using ADIS but no matter what I do I can't get the colours to work, everything comes out black on a green background so it's impossible to see what I'm doing when running the code. Using a simple test program with display statements the colours work fine so it's definitely a panels issue, unfortunately everyone who originally wrote this code has long since eft the company so we have limited knowledge of how panels even works which isn't helping. In case it matters I'm using VC 6.0 and VS 2019. Any suggestions as to where to look greatly appreciated! Regards Gary#VisualCOBOL#panels
Hi, I try to enable the long password support option : https://www.microfocus.com/documentation/enterprise-developer/ed60/ES-WIN/HRMTRHCSTX01.html In my server option/control In the list of initialTrans, i only have the CESN option. i don't find the CESL option. Is there an option or something to install to add this option? Regards Eric
Hello, I created a table using Relativty and one column seems to break my queries. In Relativity's Query Builder, depending of the data I access, it returns a certain number of rows before it tthrows an error, like Table MyTable: Rows Processed = 4, Error Count =1. Querying with another tool (QTODBC), I get an intermittent error, which means that sometimes, it works, sometimes I get the following error: <eb1>Numeric item contains nonnumeric characters (column MyColumn) State: S1000; Native: -4084; Origin: [Micro Focus][Relativity][CRDM]</eb1> The column is defined as a Smallint in Relativity, and as a PIC 9 in Cobol. Side note: The previous field in the table is a COMP and may have some invalid data. Is there a workaround to that error? Thank you!#Relativity
Our many user sites have been using various 32-bit AcuGT runtimes with a variety of 32-bit Windows applications. Among those applications is the Adobe Reader, and recently Adobe is forcing an "upgrade" to their 64-bit version. When our applications attempt to launch Reader the runtime fails and returns a system code 2. (Installing 32-bit Foxit Reader is a good workaround.) But in anticipation Looking to the future three questions:: 1. Can we "correct" our applications to launch 64-bit applications? If not 2. Is the solution to use the 64-bit runtime? If so 3. Will the 64-bit runtime work with the 32-bit Windows applicaions? My hope is that the answer to 1 is Yes. Any guidance will be gratefully appreciated.
Hi, I need to convert a part of a program in VB and i need your help. Dim st As New StreamReader(Fich.FullName) xm = st.ReadToEnd Dim enc As New System.Text.UTF8Encoding Dim Buffer() As Byte = enc.GetBytes(xm) Dim Filename As String = Convert.ToBase64String(Buffer, 0, Buffer.Length)Console.WriteLine(wsSEF.EntregaBoletinsAlojamento(UH, Estabelecimento, ChaveAcesso, Convert.ToBase64String(Buffer, 0, Buffer.Length))) I convert like this: declare st = New StreamReader(Fich::FullName) set xm to st::ReadToEnd declare enc = New System.Text.UTF8Encoding declare Buffer as byte occurs any = enc::GetBytes(xm) set Buffer to enc::GetBytes(xm) invoke type Console::WriteLine(wsSEF::EntregaBoletinsAlojamento(UH,Estabelecimento, ChaveAcesso, Convert::ToBase64String(Buffer, 0, Buffer::Length))) Please tell me if is correct. I have no errors of compilation until the last line. At the last line i have an erro in this part: "Convert::ToBase64String(Buffer, 0, Buffer::Length)". The error
Hello, We need to generate Word documents from our Cobol application. I came across XMLDOCX which allows to create xml files and then convert them to docx document. The API is quite extended. I know that we can generate xml from Cobol. But I don't see how to generate cobol structures from the XML stuctures of the xmldocs api. For example, to add a text, here is the xml model :<pdx:content> <pdx:addText pdx:wordFragmentName=""> <pdx:textRun> <pdx:data pdx:dataId="" pdx:dataType="text|wordFragment">text</pdx:data> <pdx:textRunStyle> <pdx:bold pdx:value="" /> <pdx:caps pdx:value="" /> <pdx:color pdx:value="" /> <pdx:doubleStrikeThrough pdx:value="" /> <pdx:em pdx:value="" /> <pdx:font pdx:value="&q
ODBC Request from C# windows service unable to connect. Running into an issue with a C# application running as a windows service being unable to read from the odbc driver. When the application is running from Visual Studio it works as expected. Once it is installed as a Windows services it generates this error on the execution of the query(below) The Error {"ERROR [HY000] [Micro Focus][Relativity for RM][CRDM]Filename is invalid.\\r\\nERROR [HY000] [Micro Focus][Relativity for RM]Unable to open table: ORDER_HEADER_FILE."} The query SELECT OrderNo, OrderCustContact, OrderShipToName, OrderShipToAddress1, OrderShipToAddress2, OrderShipToAddr3,OrderShipToCity, OrderShipToState, OrderShipToZip, OrderCustPhoneNo, OrderShipViaCode, OrderTotalSaleAmount, OrderFreightPayCode,OrderPurchaseOrderNo, OrderShipToNo, OrderShipToCountry FROM ORDER_HEADER_FILE#WindowsService#error#C#c#ODBC#Relativity
I am using a grid box to list files in a directory so one can be selected and copied from pc or unix to pc or unix. When getting the files from the unix directory I can not see all of my files. Is there a limitation on how many items can show in a grid box?
Hi, In Relativity Designer/DBA, I can change the path to the data file supporting each of my table. If all the data files are in the same directory, is it possible to have a dynamic path, like with a environment variable? Or is it possible to modify it in a batch? Thank you! Simon.#Relativity
We use already webservices provided by other applications. Now we have to provide webservices of our own. I know this is not exactly a cobol problem but I would be interested in a case where somebody has provided a webservice using a cobol applications because I'm not sure about the general procedure. Any help is appreciated.
I don't know how to do this. This is not a COMP-3 field. I'm needing to match the file layout the government gave me. All of their amount fields are defined this way. The internet says I need to use USAGE IS DISPLAY. When I look at the field afterwards it is still 12 characters including a sign. Is there something I need to install? Or, a switch I need to set?
Problem How to setup C and COBOL (Calling C module) projects in Visual COBOL for Eclipse. Resolution The following steps can be used to prepare an Eclipse Project to recognise C projects and Source files:-Install the C/C++ Eclipse plugin via IDE > Help > Install New software > Add 'http://download.eclipse.org/releases/mars'; after that check > Programming languages > C/C++ Development Tools and install these. -Following that, install and configure the 3rd Party MinGW C compiler to be used by the Eclipse IDE, available at URL: https://sourceforge.net/projects/mingw/files/-For the MinGW compiler you may have to set the Windows PATH environment variable (at SYSTEM level) to point the MinCW compiler e.g. as set here: -Install the additional MinGW gcc compiler files via Windows command prompt (command: mingw-get install gcc), from location as shown in the above path.-Create an Eclipse C project (Project Type>Shared Library, ToolChains > MinGW GCC), -Add your sou
Problem How to get count of how many lines of code in project/workspace Resolution Visual COBOL or Enterprise Developer do not offer a built in feature for this but an alternative is to use listing files to generate the information, then use a script to read those.Content of .bat file used: @ECHO OFF setlocal enabledelayedexpansion set /A counter=0 for /F "delims=" %%a in ('findstr /S /I /C:"Lines of Code" *.lst') do ( set result=%%a set /A endresult = endresult+!result:~-5%! set /A counter +=1 ) echo Source line counter results are: echo Listing (.lst) files processed: %counter% echo Total lines of code counted: %endresult% -Complete sample: linecounter-sample.zip.-First set affected projects as follows, in the project properties see example: -Compile affected projects (to gene
Environment RM Relativity DesignerAll Windows Platforms Problem RM/Cobol supports a number of data types and one of them is the comp-6 binary numeric data type. Does the user need to do anything special in Relativity if the file definitions use this data type? Resolution RM/COBOL supports the standard Packed Decimal Cobol data type of COMP-3. It also supports an extended Packed Decimal data type COMP-6. To be able to correctly map a file that contains COMP-6 fields, there are two Cobol Data Types options that need to be set before the file is imported into the catalog.Setting the Cobol Data Types Options in the Catalog here are two Cobol Data Type options that need to be set. They are: Include RM/COBOL data types Computational No Sign data types Points to note: The options need to be set before the Cobol File definitions are imported into the catalog. If the options are not set and the file is mapped to a table, errors can occur when selecting the columns from the table
Now that Visual Studio 2022 Community Edition has been released when will the Visual COBOL PE that integrates with the 2022 edition be released?
how do I stop a process running with the thread? I tried with stop thread but it does not work..
Hi, Would like to ask your assistance to confirm if we install a new license, what will happen to the old license, does it append to the current license and not replace? Thanks in advance.
Hello, We need to test the behavior of our cobol (LINUX Redhat server express) application with PostgreSQL database ; Does Microfocus provide support for this DB ? And what type of connexion MF advice or provide ODBC,other ? Does MF provide or advice for a pre-compiler ? regards
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.