Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: File status 9/194 "File size too large" was reported against a sequential file. The file size on disk was 7.5 gig. The file handler configuration file included: [XFH-DEFAULT]FILEMAXSIZE=8 This FILEMAXSIZE=8 setting should allow the file handler to handle sequential files larger than 4 gig, but for some reason the error was still occuring. Solution: The environment variable EXTFH is supposed to point to the location of the file handler configuration file. In the environment in which the application ran, EXTFH did appear to be set pointing to the correct file handler configuration file. But when we added code to the COBOL program to reveal the run-time value of EXTFH, we learned that a script used to trigger the application had modified the value of EXTFH, so by the time the COBOL program was invoked, EXTFH was not set correctly. Here is the technique used to reveal the run-time value of this environment variable: Insert
Is anyone reading/writing encrypted data from/to a text file with NetExpress? If so, how? I did a quick search of the knowledgebase and documentation and don't see anything about this. I need to store a database user id. and password in a non-clear text format of some sort, preferably using some strong, standard encryption. Thanks in advance for your help.
Problem: Programs that use the XML-PARSE directive, fail to compile with an exception 791043 in Visual COBOL version 2.3 Update 2 and 3.0 Resolution: In Visual COBOL 2.3 Update 2 and 3.0, the new parser used by XML-PARSE in XMLSS mode does not recognise the encoding "Windows-1252". Changing the XMLPARSE directive to use XMLPARSE(COMPAT) or changing the XSD's encoding from "Windows-1252" to "ISO-8859-15" can be used as a workaround. A fix for this compilation error will be available in the 4.0 version of Visual COBOL.
Problem AcuXDBC Server 10.1.1 64-bit is installed on the server.The installation works fine, testing it using the asql.bat script to run basic queries (without a DSN). AcuXDBC 10.1.1 64-bit is installed on the client.Trying to establish a connection between client and server, the following error is returned: C:\\Users\\username>odbcsql.bat -d DataSourceName VORTEXsql - Simple Interactive SQL. Version 2.0.5.0 (64-bit) - Production.Copyright ® 1989-2015, Trifox, Inc., California, USA. All Rights Reserved Worldwide. ***** ERROR: [TOD][ODBC Driver][acuxdbc03:system/manager/xvision:acuxdbc.cfg@20222:ServerName!acuxdbc04]VISION: No entry for product 'AcuXDBCS' in file 'C:\\ProgramData\\Micro Focus\\extend\\10.1.1\\x64\\xvision.slc'SQL (/? for help) ==> /qC:\\Users\\username> The license file on the server is correct. What may be the reason for this issue? Resolution There's a known issue with AcuXDBC 10.1.1, when it tries to read its own licenses. It may occur both in a Cl
I'm using Visual Cobol to access a MySQL Database. I have the $SET SQL(DBMAN=ODBC) set, and I've even tried setting that in the Microfocus > Build Configurations > COBOL > SQL Preprocessor. However the compiled executable from Visual Cobol, gives me the following error. OpenESQL Error: Unable to load ODBC Driver/Driver Manager. Ensure that your database environment is set correctly. However if I compile from the Linux command line using "cob -xV Source.cbl" the executable works perfectly. Its just a convenience thing, but any ideas how to get Eclipse to compile executable programs without resorting to me going to the command line every time? Thanks for you help. Eric Boatman
Hi ,Can anyone share a sample program to read xml file using micro focus cobol.
Hi, Do latest visual cobol V3 patch updates always include earlier patches? Thanks, Linden
Thank you for your help.
I have a question about clearing a pointer, please. I'm working on a program that uses a pointer. 01 REQUEST-PAYLOAD usage pointer. 01 ZERO-LENGTH PIC X VALUE x"00". The program uses this command to set the pointer:SET REQUEST-PAYLOAD TO ADDRESS OF WK-CODE-BODY(1:CODE-LEN) The program uses this coomand to clear the pointer:SET REQUEST-PAYLOAD TO ADDRESS OF ZERO-LENGTH My question:Is this the proper and most efficient way to clear a pointer set by the application? All advice, comments, and suggestions will be welcome.
Good morning! As the subject line indicates, I am having a bear of a time activating MF VC PE. Have uninstalled / reinstalled twice now. Telling me that my e-mail address is not recognized and then tells me to got to the registration page but there is no registration link (that I can see anyway)...I would think that filling out the initial download info would have "registered" my e-mail address. Please help Thank you for your time Joel Toscano HighFlight56@Cox.Net
Problem Is it possible to enable additional diagnostics on the client side of an AcuToWeb environment? Resolution AcuToWeb offers a Gateway tracing facility on the server side, along with the usual AcuRCL tracing options. On the client side, the additional diagnostics can be enabled directly from the browser used to access the remote alias: 1. Open your browser and navigate to:http://yourserver:3000/ Then, select the "Enable Logging Client" box. Select your alias and click on the button "Connect". Alternatively, add the following argument to your direct URL: &enable_log=y For example:http://yourserver:3000/?hostgw=yourserver&portgw=8008&alias=tour&runtimeArgs=-d&enable_log=y 2. Click on the black-monitor icon on the top left of the screen. 3. Activate all the items for the "Show:" option. 4. Operate as usual until the error occurs. 5. When the connection time-outs or gives the expected error, save the recorded information to a file by using the "Diske
I have a question about the proper use of RMNet command "NetFree", please. I'm working on a program that uses a pointer. 01 json-string pic x(80000). 01 PASS-1-DOCUMENT usage pointer. 01 PASS-2-DOCUMENT usage pointer. The program uses XML Extensions command:XML EXPORT TEXT JSON-STRING PASS-1-DOCUMENT "JSON-STRING" "json2xml.xsl" XML TRANSFORM TEXT PASS-1-DOCUMENT "json2xml2.xsl" PASS-2-DOCUMENT The description of the "NetFree" command from the book states:A pointer given by RMNet that caller wishes to free. Use this function only fo
I am trying to use HTTPPOST to upload an XML file via a web page. Content type needs to be multipart/form-data and it is posting to a form. This works using Curl but I would like to do this in my program using HTTPPOST. Here is an example of the curl command that works: curl --form user=USERNAME --form pass=PASSWORD --form uploadfile=@XMLFILE.xml URL I'm not sure how to do this using HTTPPOST. Do I need to set the payload to match the body of the post or is there a better way? I set a trace on curl and I can see the body of the post but it's a lot of information to hard code in a program. Any help and advice would be great. Thank you#HttpPost#RMNet
Good morning. We are integrated the wrunnet.dll #.net#wrunnet
As the subject implies: new Windows 10 PC, installed MS VS 2017, installed VC 3.0 for VS2017. Start menu has MF Visual COBOL section, but when expanded there is no "Visual COBOL for Visual Studio 20xx" entry like we have with VC 2.3.2 for VS2013. All of the other entries are there. Tried running repair, successfully, but no change to the Start menu entries. How do we start VC 3.0 for VS 2017?
Problem: In a Terminal Server environment, when the Runtime is physically on another machine and accessed via a mapped drive, the Runtime crashes for all users when either the first or last user to connect exits the application. Whether it’s triggered by the first or last user depends on the OS. Solution: This is a known problem and Microsoft has already fixed it in Windows Server 2016. This Microsoft article describes the issue and workarounds: https://support.microsoft.com/en-us/help/2536487/applications-crash-or-become-unresponsive-if-another-user-logs-off-a-r The workarounds are: Install the Runtime on the server the remote users are connecting to. Connect to the server where the Runtime is installed and run the app there. Upgrade to Windows Server 2016 (requires also upgrading to ACUCOBOL-GT 10.1). Rebuild the Runtime with 'Swap Run From Network' enabled. The last one requires Visual Studio be available. If you have the right version of Visu
community.microfocus.com/.../runcobol.txt
Do you know if Acu Connect has a time out setting. If AcuConnect thinks that an AcuThin session is no longer running so it just disconnects the session. Scenario is a program is running that has a lot of records to process so is running for a long period of time - then without any error messages the AcuThin session is disconnected (program and menu programs are gone), user is sitting back at desktop.
Hello, I'm trying to activate the freetrail license for visual cobol for eclipse, but I'm receiving the following messsage: May I ask you for support on this. kind regards, Vera
Dear Sirs, I'm using NetExpress 3.11 by going to Firebird. I would like to know if there is a possibility of using a variable in the where clause. Regards, Rogerio Barbosa
Problem How to solve the problem - Application reports 114 out of bounds error on ADIS Resolution The PC with the problem has a high resolution set to 1680 x 1050. If the resolution is changed to 1490 x 900 the problem is fixed. Alternatively if the resolution stays at 1680 x 1050, and if the font type in the SSH emulator is increased this also fixes the problem. For example - font type = courier new 18 x 10 This is increased to 21 x 11 This behaviour happens when using the EMTEC ZOC Emulator to connect to the server through SSH. Incident#3110741 #unix#ServerExpress#ssh#EMTECZOCEmulator
Problem iso2000_dialect was used in Server express, is it needed in Visual Cobol ? Resolution iso2000_direct was used in cob.cfg and cob64.cfg files. It is not needed in Visual COBOL. Incident#3119248#ServerExpress#COB.CFG#VisualCOBOL
Problem Can AppTrack functions be run in batch or from a script ? Resolution Using the command $COBDIR/aslmf/apptrack batch 3 <serialnumber> <licensekey> will install a license Using the command $COBDIR/aslmf/apptrack batch 4 <serialnumber> <licensekey> will uninstall a license Using the command $COBDIR/aslmf/apptrack batch 1 and $COBDIR/aslmf/apptrack batch 2 will produce AppTrack lists. The lists can be piped to a file by adding > filename.ext Incident#3102795#Licensing#unix#ServerExpress#AppTrack
Problem Accented characters in an HTML file, displayed through a COBOL program are not displaying correctly. Resolution The problem is that although the characters look fine in Ultra Edit or VI editor on UNIX, they are being mis-interpreted due to an incorrect setting of LANG (locale) environment variable. Using the locale command, displayed the following environment variables..LANG=en_US.UTF-8LC_CTYPE="en_US.UTF-8"LC_NUMERIC="en_US.UTF-8"LC_TIME="en_US.UTF-8"LC_COLLATE="en_US.UTF-8"LC_MONETARY="en_US.UTF-8"LC_MESSAGES="en_GB.UTF-8"LC_PAPER="en_US.UTF-8"LC_NAME="en_US.UTF-8"LC_ADDRESS="en_US.UTF-8"LC_TELEPHONE="en_US.UTF-8"LC_MEASUREMENT="en_US.UTF-8"LC_IDENTIFICATION="en_US.UTF-8"LC_ALL= As the accented characters are not UTF-8, there will always be display issues if the program is run with UTF8 locale. The characters are displayed correctly as long as any xterm’s locale is set to iso88591 or iso885915 before you compile and run the program. Use the command export LANG=en_U
I have recently downloaded Visual COBOL for Eclipse for SUSE 12. While going through some of the installation video they said that I can install DevHub product on Linux and Visual Cobol product on my windows and can connect it remotely and work on it. Can somebody please tell me if DevHub is a separate download from Visual COBOL and if yes, then where to download it from. Can someone please provide the link.
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.