Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
We have a set of .cbl files in the Linux environment. Have installed Visual COBOL for Eclipse for SUSE. I need to compile the source code and use the executable in the script to run the batch jobs. Will executing the command "cob -z -P Program1.cbl" create a .o file and can we use the .o executable in my script to run the batch like DD_SYS001=input_file /location/program1.o unix >>outputfile Is the approach fine? Since I am a novice, can someone please guide me step by step of how to go ahead executing it.
Problem: I have installed Oracle 11g Express and Pro*COBOL precompiler to test this COBOL program with embedded SQL that uses the SCOTT schema: IDENTIFICATION DIVISION. PROGRAM-ID. ORATEST. ENVIRONMENT DIVISION. DATA DIVISION. WORKING-STORAGE SECTION. EXEC SQL INCLUDE SQLCA END-EXEC EXEC SQL BEGIN DECLARE SECTION END-EXEC. 01 USERNAME PIC X(10). 01 PASSWD PIC X(10). EXEC SQL END DECLARE SECTION END-EXEC. PROCEDURE DIVISION. &
I am running Extend 10.0.0 on Windows 10, 64-bit, but developing for 32-bit. I have been developing a .NET DLL to use with our COBOL app over the last couple of months, and NETDEFGEN has been creating the DEF file just fine and I can run the app. Now I'm trying to add events that will be caught by COBOL, and I expected NETDEFGEN to create the event DLL, like it did for the sample program AmortControl. The documentation says that occasionally, I might get the error "The Event Handler Compilation Failed" but the DEF file would generated normally. Well, the DEF did, but the event DLL did not. What can I check? I built the .NET DLL with Framework 4, build platform x86. The NETDEFGEN setting is using 32-bit 4.0 ilasm.exe. The Class Member screen in NETDEFGEN shows that I have Events, but when I click Generate, I get the error message, and no event DLL. I generated for AmortControl under these conditions, and it worked. My next cour
01 wOqueBuscar pic x(500). move "<ns3:Numero>" to wOqueBuscar. I'm reading a file and checking if a particular condition is found in this file, I'm not sure if I'm doing something wrong but so does!inspect reg-sai tallying wCol for all "<ns3:Numero>" and so does not! inspect reg-sai tallying wCol2 for all wOqueBuscar Have any way to look for a string inside another? Eu estou lendo um arquivo e verificar se um determinada condição é encontrada neste arquivo, não sei se estou fazendo algo errado mas assim funciona, inspect reg-sai tallying wCol for all "<ns3:Numero>" e assim não! tem alguma forma de procurar uma string dentro de outra? inspect reg-sai tallying wCol2 for all wOqueBuscar Translated by Google
ACCEPT SYSTEM-INFORMATION FROM SYSTEM-INFO. IF STATION-ID (1:2) = "at" STRING "@[DISPLAY]:c:\\apps\\PIDLIST-" DELIMITED BY SIZE STATION-ID DELIMITED BY " " ".csv" DELIMITED BY SIZE INTO WS-TASK-LIST-CSV-FILE-NAME else STRING "c:\\apps\\PIDLIST-" DELIMITED BY SIZE
Is there a personal edition of Visual COBOL 2017 ???
I have compiled the cobol programs (.cbl files) using visual cobol for eclipse. After compiling the program I have .int files which are intermediate files. Can I export these to Linux and execute them by UNIX script? If these can't be used directly can someone please let me know how to convert them to .o files ?
Problem: When using the Data File Editor in Server Express, characters appear in the wrong columns and suddenly shift while scrolling sideways in a file Resolution: In some terminal emulators, certain byte values may not be printable in the current character set used. For example, in the terminal emulator Putty, the character set may be set to ISO 8859-1 West Europe, or similar. Changing the character set to UTF-8 will correct this problem, and allow Data File Editor to correctly display records containing this kind of binary data. In Putty, this setting is found under Window->Translation, as Remote Character Set.
Problem: On Linux/UNIX, a server/region in Enterprise Server (ES) would not start. The error message was: CASCF0052S casstart: Error reading console daemon configuration data Solution: Here is a link into the documentation showing an explanation:http://documentation.microfocus.com/help/index.jsp?topic=/com.microfocus.eclipse.infocenter.visualcobol.vs2012/GUID-6081411C-F6E2-42BC-8FD8-3C748C9C05A8.htmlIt is a permissions problem with the "system directory" of the server/region, caused by trying to start the server/region using a different Linux/UNIX user-id than the user-id used when the server/region was last started.The system directory is where files such as the console.log, log-1.html, etc. are kept. The directory is created and owned by the user-id that last started the server/region, and if you try to start the server/region with a different user-id, there will be a permissions problem on the system directory.The quickest way to overcome this problem is to rem
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
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.