Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
This article discusses the widely used base64 encoding scheme for transmitting binary data via XML. Problem: While most specifications that use XML do not require special encoding of data, XML Extensions and Business Information Server may be used in situations where APIs and specifications have not anticipated the use of XML as an intermediate data representation. In these cases, binary data outside the range of characters that may be easily transmitted by an XML code set may be specified. Resolution: W3C has several specifications that may be used when binary data is to be transmitted within a transport protocol that does not allow all possible character code points (such as ASCII control characters, binary zero, etc.). One of the most widely used is base64. XML Extensions converts data described as numeric within the COBOL program to XML standard character strings that represent the value of the number. However, when binary data must be embedded in an alphan
Good Morning: I am trying to adapt a part of a C# program (Forms) for Cobol and there is a part that I don't understand. For example: this.Amount=operation.Amount; this.Date=operation.Date; this.Destination=operation.Destination; is converted to: set self::Amount to operation::Amount set self::Date to operation::Date set self::Destination to operation::DestinationWhat is the "this." statement and how to use the converted statement "self ::".ThanksAlberto Ferraz
Is it possible to get another one year license for Visual COBOL 5.0 PE (running under Visual Studio 2019)? - Mine has expired. I've tried the 'manual send email' option in Visual Studio under 'Micro Focus Visual COBOL Product Licensing' but have not received a response. I see that version 6.0 is available but I won't be able to download/install it until our office reopens. Thank you.
We are using visual cobol 2.3, framework 4.5. I need to send out a json file. We don't currently work with json so I am not sure what I am doing. I seen there is a json generate statement in cobol upgrades, but upgrading is not an option for us right now. I guess I envision this to have a text file that we would run a program over to convert to json. How would the text file need set up? What statements/libraries would be needed? Thanks!
Hi, I know it's somehow weird but the editor in visual studio doesn't transform the keywords to upper-case despite I've already enabled taht from options!! could anyone please help me ?? Best Regards#VisualStudio
I have finally got Alfred to compile on our system with the help from M/F. I need help with a modification I want to do. I want the RW button on to be the default rather than the RO button. I have took a look but can not figure out where to make the modification.
helloI am trying to use the CBL2XML tool, to convert an XML schema to a cpy cobol file, in order to generate XML invoice files. But it always crashes, and does not generate anything. I have to close the version with the task manager.I try from the command interface, any of the versions of CBL2XML, included in VC 6.0 in 32 and 64 bits, and also the wizard version included in NetExpress 5.1 (CBL2XMLWZ.exe), and I follow the instructions detailed when writing the command, and the result is always the same. Crash,I ask, is CBL2XML really operative? or if there is another alternative.Attached are the XML schematics that I need to generate the cpys.Greetings
Hi,I am using Microfocus visual cobol(3.0.2). I want to create an XML file with the XD structure in FILE SECTION. XML GENERATE WS-XML-DATA FROM XML-DATACOUNT IN WS-XML-COUNTWITH XML-DECLARATIONEND-XML.I can see the proper data in WS_XML_DATA while debugging but file is not created in the folder.Could you please help me in fixing this problem. Thanks,Anusha.
Compiling any programs from a converted project from Netexpress 5.x i become following compile error:MSB4181 - Die Aufgabe "Cobol" hat "FALSE" zurückgegeben, jedoch keinen Fehler protokolliert. File is MicroFocus.COBOL.CurrentVersion.targetsTraduction from german: The Task "Cobol" have given "FALSE" back, but no error to protocol.I can't find a error, compiling this with older VC will give no error!Thanks for help
Hi everyone / ,I'm having trouble activating my free trial for Visual Cobol for Visual Studio 2019. When I try applying the 16 digit authorization code which was provided to me, I am getting a dialog box with message - "The supplied authorization code does not include a valid license for Visual COBOL for Visual Studio.My Serial (for support): 600000824102Thanks for the help,Saravanan**PERSONAL INFORMATION REMOVED**
Revise AcuToWeb execution on IOS to support W$MOUSE routines. Associate finger taps to AcuCobol W$MOUSE coding. Perhaps the following:1-finger-tap held ==> left-button-pushed1-finger-quick-tap ==> left-button-released1-finger-2-quick-taps ==> left-button-double-clicked1-finger-tap-held with 2nd-finger-double-tap ==> right-button-double-clickedand be able to determine the position with GET-MOUSE-STATUS (in pixels)or another possibility using Push-Buttons to know what is being tapped is to have transparent Push-Buttons that don't actually display, (or that only show an outline with whatever image is behind it showing through). Then I could have a couple hundred of these push-buttons positioned where I might service the operator's tap to determined where they tapped.I currently have a routine that displays a graphic, representing a layout of a marina, that the operator can double click to sho
Every morning, seemingly once per day our customer gets a memory access violation that causes Acuserver to shutdown First exampleremoving client 'ITDRENMVP17143' user 'xxxxxx.xxxxxx' pid 13588 fid 374Number of files decreased to 152failed: 127311553 - Memory access violation - shutting down Second exampleChecking access for 'd:/data/southpac/prod/v8.6/retail/prod/LV405283.DAT': 0xf, 1opening data segment (#0): d:/data/southpac/prod/v8.6/retail/prod/LV405283.DAT>>Header accesses: 0 updates, 3 locked reads, 0 unlocked reads>>0 unlocked reads waited for update, 0 unlocked reads retriedclosing data segment (#0): d:/data/southpac/prod/v8.6/retail/prod/LV405283.DATremoving data segment (#0): d:/data/southpac/prod/v8.6/retail/prod/LV405283.DATsucceeded (1)v_read: 140, 491, 0, 0x1 - invalid file IDfailed: 1, 9fwrite: 140, 488, 1, 31 - invalid file IDfailed: 9fflush: 140, 488 - invalid file IDfailed: 96584107 - Memory access violation - shutting dow
i had no problem with sql syntax and i work a long time only with sql databases.Now i want to change my conventional programs to access the sql database and all operations as oo cobol.Do you have a little example to call this oo-methods? connect, select, insert, update, drop, etcI want to program this showing the examples in VC6.0 and Netexpress 5.1, but become not a running program.Thank you very much for any help!
Symptoms The background is that a customer is trying build a Pro*COBOL application with the COBSQL preprocessor using ED/VC 6.0 in Visual Studio.The following problems were reported: Copybooks with .cob extension via COPY statement were not recognized by the compiler.e.g. COPY FRED. Copybooks with .cob extension via EXEC SQL INCLUDE were not recognized by the COBSQL preprocessore.g. EXEC SQL INCLUDE FRED END-EXEC. When running Pro*COBOL applications, RTS 173 error occurred: SQLADR not found Solution For 1., customer misunderstood that the values “.cbl,.cob,.cpf,.cpv,.cpy” in “VS->Tools->Options->Text Editor->Micro Focus COBOL->Advanced->Copybook extensions” applies to the COBOL compiler but in fact, that value is only recognized by the Text Editor. In order for the COBOL compiler to recognize .cob extension, the COBOL compiler directive “copyext(cbl,cpy,cob)” must be used. Also, the COBOL copybook Paths must be set correctly in the Project Settings. For 2., EXE
HelloI would like to use the CBL2XML tool, to convert the attached XSD schemas. I have tried to use the versions included in Visual Cobol 6.0 and Net Express 5.1.19 in the 32 and 64 b versions from the CMD and also the wizard version CBL2XMLWZ.exe, and in all of them, it crashes, does not generate the cpy on demand, and forces to close the session. In the past with NE 5.0 versions I remember that CBL2XML did work.From the command interface, I try to run CBL2XML according to the help, and it always crashes, and does nothing.For example."D:\\Program Files (x86)\\Micro Focus CBL2XML.exe" -c tbai12.cpy -p -noprompt -nocountin -uniqUE "TICKETbAI V1-2.XSD"Micro Focus CBL2XMLCopyright (C) Micro Focus 1984-2020. All rights reserved.Checking TICKETbAI V1-2.XSD for errorsValidating TICKETbAI V1-2.XSD for well-formedness.And it stays permanently validating, until the session is closed.can you inform me, how should I proceed.Or if CBL2XML does not work anymore...Thank you. 
I am currently testing AcuToWeb 10.4 with my application.It’s a fantastic feature that opens up unlimited possibilities with respect to mobile computing and it is working just fine with may application. There are just a few hic-ups that I'm sure the developers can rectify.But, please get it working and certified for IOS so our AcuCobol applications can execute on tablets and smart phones. (Specifically iPads and iPhones).Thanks
I am having issues creating an variable length records for a file I am exporting out of my program.My issue is that the Carriage Return and the Line feed are not showing up in the correct spot in the record.When I would make this file in RM COBOL - It allowed me to use an Line Sequential File layout, and records that had spaces at the end (that are supposed to be there) were NOT truncated.Now, using the same exact code with Visual COBOL, the records that have spaces at the end of the record, the Carriage Return\\Line feed is being placed at the end of the last character in the record (the way Line sequential files are SUPPOSED to work)I've changed my file layout to be Record Sequential, but now i'm getting Garbage at the front of every record.How do I make this file work?? I've tried EVERYTHING!
Hello,I have a new project which is to communicate with a currency payment device. Communication is through JSON and I never programmed with this tool. I would like to get your help on this project.I attach the document that the supplier sent me with an explanation of the process. I also send the complete documentation of the supplier.Follow the link to access the ALICE Integration Pack. ALICE Integration Pack Password: Alice4Cash In order for you to have as much information as possible on how to perform the functional integration with ALICE, in the pack we send you can find all information related to the Web Service (alice_ws_doc), as well as ALICE simulator software (AliceSim) and a POS software simulator (AliceClientDemo).I am waiting for your help. Thanks.Best regardsAlberto Ferraz#lol
I am trying to access .NET class properties/methods from ACUCOBOL (Micro Focus extend runtime version 10.3.0)I have built and registered my .dllI have used NetDefGen to extract the access points in the .dllWhen i try to Create my Object in acucobol it returns a zero handle CREATE "@myAssembly" NAMESPACE IS "myStringer" CLASS-NAME IS "Stringer" CONSTRUCTOR IS CONSTRUCTOR1() HANDLE IS MY-NONGUI-HANDLE.Attached source and batch files to build the projectAny help is greatly appreciated
I have just completed an installation of Visual COBOL for Eclipse and trying to compile and run a program. It compiles fine but gives this linking error. I assume it is some additional library or path that is not correctly configured. This is running on Windows 10. This is a simple test program from a class. The only thing different is it uses a sequential file that I can see.Here is the link stepcobol.link.cfg.New_Configuration:[cobollink] Linking (64-bit) CarSales.exe...[cobollink] Micro Focus COBOL - CBLLINK utility[cobollink] Version 6.0.0.69 (C) Copyright 1984-2020 Micro Focus or one of its affiliates.[cobollink][cobollink] ERROR: (11) Cannot find C runtime library[cobollink] Link complete with errors[cobollink] Program ListingIDENTIFICATION DIVISION.PROGRAM-ID. COMPUTEVERBS.ENVIRONMENT DIVISION.INPUT-OUTPUT SECTION.FILE-CONTROL.SELECT CARSALESFILE ASSIGN TO "CARSALES.DAT"ORGANIZATION IS LINE SEQUENTIAL.DATA DIVISION.FILE SECTION.FD CARSALESFILE.01 SALESDETAILS.88 E
We have a large number of Cobol jobs running on AIX that connect to a Sybase database. Our company is migrating that database over to SQL Server so we'd like to pick the best migration path for these Cobol jobs. So far, we're looing at two options:1. Use an 3rd-party ODBC driver. Is anyone doing this? If so, what driver are you using and what advice do you have? We're not sure which driver to use (Microsoft does not provide an ODBC driver for AIX). We're an enterprise company so we need driver software which is supported (e.g. - by a vendor).2. Compile all of our Cobol jobs as Java and then use a JDBC driver (which Microsoft does provide). In this case, we're worried about the impact this would have on our AIX server. If we convert all of these jobs to java, will that result in higher memory or CPU demands on the box? Are there any other things to watch out for?
I am attempting to convert an application written in Net Express 5.1 to Visual COBOL 3.0.Mostly everything is working fine apart from the following issue.When this code is executed, built from NE 5.1.CALL MEN-CALL USING MEN-PARAMCANCEL MEN-CALLIn this case the CALL adds the called .dll to memory, which can be seen in a process explorer under the application. The .dll is also locked in its folder, stopping it from being deleted or moved.After the called program has been executed and returned with GOBACK. The CANCEL command removes the called .dll from memory. Which can be seen when running a process explorer. The .dll is also not locked in its folder and could be deleted or moved, with the main application still running. However, when the code is executed, built from VC 3.0.In this case the CALL adds the called .dll to memory, which can be seen in a process explorer under the application. The .dll is also locked in its folder, stopping it from being deleted or moved.After the
Hi I am getting the error 173 - Called program file not found in drive/directory SQLADR when running the simple cobol. I included the below command of Additional Directives of Project Properties as my database is Oracle 19c Enterprise Edition 64 bit. I am using Micro Focus Eclipse for Windows.p(cobsql) CSQLT=ORACLE8 MAKESYN VERBOSE KEEPCBL END-C p(cp) ENDP ENDP litlinkAlso I linked the file Orasql12.lib file through Project Properties > Additional Link files. I am new to Micro Visual Eclipse. So I followed the instructions in MicroFocus website. But I am still getting the error. Please let me know if i am missing anything. Thanks in advance.
I am trying to convert a C# sample (ftp from AlexPilotti) to AcuCobol, but the second part is not clear to me.Maybe someone can help me with this sample. https://archive.codeplex.com/?p=ftpsusing AlexPilotti.FTPS.Client;using AlexPilotti.FTPS.Common;using System.Net;class Test{ public static void Main() { using (FTPSClient client = new FTPSClient()) { // Connect to the server, with mandatory SSL/TLS // encryption during authentication and // optional encryption on the data channel // (directory lists, file transfers
Hello everyone. We had to move our network drive from Win server 2003 onto Windows 2008 recently and during that move, the user that are on windows 7 are now getting a Runtime error 09/013 when trying to print. Before the move, they were able to print without any problem to a network printer or a local printer (LPT1)However I have a few workstation that are still on Windows XP and they are able to print just fine. The cobol program was all done in Netexpress 4.0 First I would like to mention that I am not a expert cobol programmer however can compile and resolve issue within cobol. At any rate, I am curious why moving data from Windows Server 2003 to Windows 2008 would cause this kind of issue?I have read this thread in regard to this error /cobol/enterprisec/enterpriseserver/w/wikiid-118/34930/runtime-error-9-013-when-attempting-to-print-to-lptn-where-the-physical-printer-port-is-mapped-via-a-net-use-statement-on-windows-7however if the user were able to print before on
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.