Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I have managed to generate an XML file using the XML GENERATE statement but for some reason when I try use the NAME or TYPE phrases, the program doesn't compile. I get an "Verb expected, NAME found" error. Am I missing a copycode or definition? Or do these only work on mainframe?
Hello,I need to create safearray (to pass it into COM object outside Cobol), and each item in this safearray must be PIC N string.I am using this code: move VT-BSTR to w-vartype move 1 to w-dimension move xx-z to cElements of w-saBound(1) move 0 to llBound of w-saBound(1) invoke OLESafeArray "new" using by value w-vartype w-dimension by reference w-saBound(1) returning w-hostArray end-invoke perform varying w-Index from 0 by 1 until w-Index >= xx-z invoke w-hostArray "putString" using by reference w-Index by value 100 by reference w-item(w-Index 1) returning w-hresult end-invoke end-performWhere w-item is PIC N(100). But it's not working, on the other side in C#, I receive in string variable co
Problem: Each Server (region) running under Enterprise Server shows, on its Server > Properties > General tab, settings named Shared Memory Pages and Shared Memory Cushion. These have default values such as 512 and 32, for example. But the values might need to be adjusted to be certain the Server has enough shared memory. When a Server is running under load and the shared memory settings are exceeded, the following error might appear in the console.log: 'CASKC0007W Shared memory storage constrained'. How should a person decide what values to specify? Solution: The product documentation contains charts to help estimate the amount of shared memory a Server might require, for example as shown on this page: http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.eclipseux/BKCACACONFS011.html But in practice Micro Focus end-users usually establish values for the Shared Memory Pages and Share
Is there any way to redeem a Cobol Server license key purchased in 2008 by mý company? The only information i have is the serial number.
Hi. We are evaluating AcuToWeb. Our application is actually running in the 10.2.1 version and fairly well, so congratulations to the development team. We do a couple tricks which require W$TEXTSIZE to know the pixel length of strings as they appear on the screen. If we use W$TEXTSIZE, it works perfectly, but is very slow over an internet connection (repeated loops where server sends request to client and gets answer back, so high latency slows things down) We came up with a trick to operate over the internet (with thin client) where we cache the character sizes in our fonts, using W$TEXTSIZE once per character at startup instead of having to use W$TEXTSIZE on every string we display, since that is VERY slow. This works great on the thin client because the fonts don't use kerning or change size due to anti-aliasing, so the server can pre-calculate string sizes. When working with AcuToWeb, the strings are variable # of pixels per charac
Hi everyone.The recent online webinar about the 10.3.0 release had a section where they showed off the new ability to insert javascript functionality. As an example, they showed a signature capture function. I reviewed the 10.3.0 documentation for AcuToWeb and could not find references for how to use the new javascript functionality - ie how to trigger it from cobol and/or how to capture the result of the javascript - ie how to get the signature that was just captured. So I was hoping to review the code from that webinar example. A quick look did not show where they might have stashed it on the website.
Technical expert Blair McDonald from Micro Focus discusses and demonstrates advanced debugging techniques available in Visual COBOL for Eclipse. https://youtu.be/1IH2DJ2Z1oM #HowTo-BestPractice#Videos
Introduction to Visual COBOL for Eclipse Technical expert Blair McDonald from Micro Focus provides a “Getting Started” walk-thru of the Visual COBOL for Eclipse product. ... #Videos
[Migrated content. Thread originally posted on 30 June 2009]My colleague Claudio has created this nice little example on how to send fax from ACUCOBOL-GT using the Windows Fax Services.Thought we should share it with you, as I seem to remember there were an inquiry for this some time ago. To run this, you have to generate the fxcomdef.def using AxDefGen.exe.You also need to provide the document to fax. IDENTIFICATION DIVISION. PROGRAM-ID. fax-from-cobol. ENVIRONMENT DIVISION. CONFIGURATION SECTION. SPECIAL-NAMES. COPY "fxscomex.def". . DATA DIVISION. WORKING-STORAGE &nbs
Has anyone successfully used this ?Is there anyone at MicroFocus, ( developer, support person, etc, ), that can tell me that it actually works. I am trying to talk to a Verifone credit card reader connect on my network. #CSOCKET#Verifone
Hi, i implemented below logic, But, call "HttpPost" does not work.... what is causing issue on my code.? Or MicroFocus software has issue?Move spaces to XMLFILE1-ID.String LS-DIR-HOMEDRIVE-VALUE ":"LS-DIR-HOMETEMP-VALUE"TMP\\file1.xml"delimited by spaces into XMLFILE1-IDEnd-String.Move spaces to XMLFILE2-ID.String LS-DIR-HOMEDRIVE-VALUE ":"LS-DIR-HOMETEMP-VALUE"TMP\\file2.xml"delimited by spaces into XMLFILE2-IDEnd-String.XML INITIALIZE.IF NOT XML-OKGO TO 004-END-PROCESSEND-IF.open OUTPUT XMLFILE1.If XMLFILE1-STATUS = "00" or "10" or SPACEcontinueelsePERFORM 005-ERROR-STATUSEND-IF.move WS-AUTH-XML to XMLFILE1-REC.write XMLFILE1-REC.close XMLFILE1.XML GET TEXTrequest-payloadrequest-len "XMLFILE1-ID"IF NOT XML-OKGO TO 004-END-PROCESSEND-IF.PERFORM 001-NET-INIT.call "HttpPost"usingPost-Address1Content-Typerequest-payloadrequest-lenresponse-payloadresponse-lenDesired-SOAP-Action1givingresponse-st
In Server Express you have the command cobfile that you can use to identify how a gnt file was built, i.e.$ cobfile k9initora.gnt k9initora.gnt: Micro Focus 64-bit generated code file for Intel x86 (Win64)$ cobfile k9initora.gntk9initora.gnt: Micro Focus 64-bit generated code file for HP/UX IA64My question is simple, with Visual Cobol is there some tool that can do this? /Robert
I am a complete newbie when it comes to socket and HTML connections.I can get SOCKCLI, SOCKSRV1 and SOCKSRVM to work but not SOCKHTML.When I type a web address or IP address as SERVER-NAME, I get 'Unable to connect to server'.When I type plain numbers instead, the program stops responding.Is there a specific format for SERVER-NAME? How to get this program to work? What does this program actually do?
Hi,for continuous integration purposes, I would need to build single .netmodules from my Visual Cobol Classes. They will be joined in a single assembly and distributed.I'm looking for a command like csc or vbc, that takes a class as input and build from it a .netmodule. Is there a way to achieve this goal? Thank you in advance, Piero
We were testing upgrading from 6.2 to 10. When running runcbl we get the message "sh: runcbl: Execute permission denied." The file is protected 777.When I do a file command:[d1::/opt/acucobol62/bin]grs20 test $ file runcblruncbl: ELF-64 executable object file - PA-RISC 2.0 (LP64)[d1::/opt/acucobol1001/bin]grs20 test $ file runcblruncbl: ELF-64 executable object fileDoes anyone know what this means. The version 10 file doesn't state the PA-RISC 2.0 part.
What means this message in the COBOL RTS terminating window:The Micro Focus COBOL RTS has detected an RTS error number 240, and has coredumped the process into i:\\adm\\prog\\cblcore (starting Directory)than a new error window:Execution error: file 'associtn' error code: 240, pc=0, call=1, seg=0240 Object reference not valid'associtn' is only defined in the self generated program from microfocus for the datepicker:class-control. Window is class "window" CharacterArray is class "chararry" OrderedCollection is class "ordrdcll" Association is class "associtn" Dic
Intro The following Cobol program creates a sample invoice using the C$PDF function available in Microfocus Extend 10.3. Assumptions Input file and logo.jpg both must exist on the desktop during runtime. Invoice file will be a .pdf file that will be created on the desktop. Cobol program will have access to extend copybook CPDF.DEF during compile. Summary Program will read the invoice.txt file and create the invoice PDF on the desktop. The invoice.txt file is a tab delimited input file containing values that will be used to populate the PDF file. Invoice.txt Tab delimited layout COLUMN NAME Description Value (Column 2) INVOICE The Name of the Invoice File to be Created DATE Date of Invoice DUE When the Date of Invoice COMPANY Name of Company receiving Invoice ADDRESS Address of Company CSZ City, State, Zipcode I Invoice Line Item (Columns 2, 3, and 4) Item Description Hours Rate PDF Demo.zip#HowTo-BestPractice
Intro The following Cobol program creates a sample invoice using the C$PDF function available in Microfocus Extend 10.3. Assumptions Input file and logo.jpg both must exist on the desktop during runtime. Invoice file will be a .pdf file that will be created on the desktop. Cobol program will have access to extend copybook CPDF.DEF during compile. Summary Program will read the invoice.txt file and create the invoice PDF on the desktop. The invoice.txt file is a tab delimited input file containing values that will be used to populate the PDF file. Invoice.txt Tab delimited layout COLUMN NAME Description Value (Column 2) INVOICE The Name of the Invoice File to be Created DATE Date of Invoice DUE When the Date of Invoice COMPANY Name of Company receiving Invoice ADDRESS Address of Company CSZ City, State, Zipcode I Invoice Line Item (Columns 2, 3, and 4) Item Description Hours Rate
Visual Studio 2019 is now avalaible for mac osx.Plan MF to integrate VC 5.0 for this osx?Mac OSX is Linux based and perfect for development/testing
Hi,I have a problem with HttpPost with https and rmnet.dll.HttpGet with https works well.HttpPost with http also.But HttpPost with https gives always a 400 Bad Request.It works also with the program Postman and I used the same address in my application.Does HttpPost with https require more info in the header than the Authorization ?Does anyone have a working example for this issue ?
Microsoft have end the Support of win7 on 14.1.2020.What plan MF for their customer who works with Netexpress 5.0 and lower or older Workbench?Or forced MF all customer to migrate to Visual Cobol?What plan customers, how do you solve this actual Problem?Thanks for many answers!
What would cause a program to compile cleanly in debug mode but in release mode fails and reports the following error: Undefined data item: CURRENT-DATE ????Running Acubench for 10.1.1. Newly installed on a clean system but was doing the same thing on an old system. Release Compile options = -ox .\\object\\@.acu -Fo c:\\A2\\datafiles -SaDebug Compile options = -ox .\\object\\@.acu -Cp -Fo c:\\A2\\datafiles -Sa8 -GaWhat am I missing?Thanks for your help.
Win10 64bit, Visual Studio Pro 2019, Visual Cobol 5.0i see that the Compiler create /bin and /obj directories, than subdirectory /x86 and under this /release and /debugWhy double directories in /bin and /obj?is it possible as in Netexpress 5.x to create automatically an Output Directory with all modules (included mf-runtime modules)?Thanks for help
Win7 32 bit, Visual Studio 2017, VC 3.0What means this error by compiling in Release mode (x86) and how can i suppress it?Thanks for help!
I have a project with one main form and six sub-forms. While entering code for Form5 I received the message "COBCH0804: Source limit of 2200 procedure lines exceeded". The main form is a menu with some procedures that do not use forms. The sub-forms are self contained and send no data back to the main form. What can I do to finish my project? On another subject. I have a form containing one text box and several labels. I have captured the return key and send the tab key. When I use the enter key to terminate an entry the bell sounds. This does not happen if I use "TAB". What can I do to silence the bell in this instance?
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.