Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I have an idea for a service. It would accept incoming network connections but instead of launching a cobol-thread to process the socket that gets created, it would need to start a separate process, with a new runcbl session. I've figured out how to pass enough information that the new-process could open a socket back to the service, and together they could handle the communication, but this would basically duplicate all the traffic going in/out of this server, because the information would have to be copied back and forth between the service and the new runtime. Do-able, but inefficient. Thus the desire to pass a socket handle to the newly started runtime and let it handle the communication by itself. This will normally be running on a linux server, but it would be nice if windows was also an option.#CSOCKET
Hello to all of you,my native language is not English, but I hope you will understand me. I do my best, and hopefully, you can help me a little.I have asked the MF Support, but I'm not that happy with the answers or better said not-answers. They told me there was a similar error with AcuServer, that should be fixed in Acu 10.0.1 and ask for a trace log when the error occurs, but we don't know where this error come from, and we can't reproduce at will.We are using AcuCobol GT-Runtime (10.0.1) (without AcuServer as far I know) under Linux and have a problem with TM-files in our working directory getting that large until the hard drive is full. The files are beginning with "TM" followed by six random letters and numbers.We found TM-files at another customer server using Acu 8.1.3, most of them have size zero, but some are contain data records we think to know. So, in my opinion these are kind of swap files and the records can A) not be written to a file (indexed, line sequential) or B) be
Need some ideas to get rid of more hardcoding. Currently when we post to the ledger from sales all the accounts and what amounts to use are hardcoded in the program. As I am trying to get rid of as much hardcoding as I can I am look for an idea or if someone has already solved this via some kind of file layout or ?? Some of the amount are added, some are subtracted.Here is one example. MOVE SPACES TO LEDGER-REC REPORT-LINE.MOVE 1020 TO GL06-ACCOUNT.MOVE "DM" TO GL06-COMPANY.IF PASS-COMPANY = "DM"COMPUTE GL06-AMOUNT = SA05-MTH-LIST-PRICE SA05-MTH-FRT-PORTION SA05-MTH-ACCRUAL-US
Can anyone tell me why my cobol program has delays when it calls another program in ACUTHIN, but has an immediate response in ACUSERVER? I am upgrading from 8.1.1 to 10.3.1 and I currently do not have any issues in Production with ACUTHIN. Granted, we are going from a 2003 server to 2016 server, but I would have expected the same or better performance
Can anyone tell me how to determine why I am getting different results from the same program in 8.1.1 vs 10.3.1 when I accept a font value from standard objects and W$FONT? I'm migrating from 2003 to 2016 and the results of these statements is causing my screen handling to give strange results. I have looked everywhere trying to understand the values being returned by these commands without success.
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
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.