Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
We display a status bar control that is not defined in the screen section.How can we modify the content of the second panel ?
Hi I'd like to use JSON PARSE instead of UNSTRING to parse the JSON structure shown below. My problem is that the content and exact spelling of the middle lines starting with "161 Waist" and "162 Seat" are not known at compile time, only at run time. Is it possible to define a COBOL data structure that can be used with JSON parse to handle this kind of thing?Thanks { "jsonrpc": "2.0", "message": "MeasureResults", "params": { "ID": "0001", "161 Waist": "25.000", "162 Seat": "37.000", "status": "not OK" } }
Hi,I downloaded the visual cobol personal edition v5 but did not receive the authorization code for trail use for 365days.How can i get it?I receive only Serial for support.Many thank'sVincenzo
I have a COBOL program that calls a VB6 program, which reads data from a weight scale using COM port.The data is saved into a TXT file, then the COBOL program opens the TXT and reads the data.Everything works fine so far, but is it possible to pass and receive data between the programs directly without creating any file?
Hi, most of my codes are still in NetExpress V3.1 and recently I bought a Core I5 Windows 10 (in SSD) laptop and I wanted to install my NetExpress V3.1 copy.Steps that I "usually" take on my old Core I3 HDD laptop;1.) Edit the WRAPPER.INI and remove the "CheckIE5OrAbove=1" line and run SETUP.EXE2.) I usually install the Class Library and choose at least 2 ODBC drivers and it will be installed correctly with a 30-days evaluation copyHowever, using my new Core I5 (with SSD).... it won't install anymore. Is there any additional configuration that I could do to install my NetExpress V3.1?? Anyone?@netexpress
I have tried to install on a second machine, result is the same. Error is shown in a separate window shortly after strta of installation. TEMP variable is correct. Installation is run under "ADMIN"
Problem: The same application that calls WinHTTP successfully with HTTP fails to work with HTTPS even if zero is returned (in ws-res on the example below): INVOKE ws-winhttp "Open" USING z"POST" WS-CALL-HOST *> containing URL with HTTPS ws-boolfalse RETURNING ws-res INVOKE ws-winhttp "Send" USING ws-vartext RETURNING ws-res Solution: There is no code change required. As explained in the following Microsoft link, an update for Windows and setting up a registry key are required:https://support.microsoft.com/en-gb/help/3140245/update-to-enable-tls-1.1-and-tls-1.2-as-a-default-secure-protocols-in-winhttp-in-windows The program should work fine after adding DefaultSecureProtocols with the DWORD value of A00 in HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\WinHttp#winHttp#netexpress
Hi,I'm trying to use the example (MSOutlookMkAppointment) to send an email with an appointment to be added to the recipient calendar.I was trying to convert this piece of code:Set myRequiredAttendee = myItem.Recipients.Add ("Nate Sun") myRequiredAttendee.Type = olRequiredI've already tried this but it's not working:MODIFY olApptMeetingStatus = olMeeting@Start = TmpStringDuration = 60Subject = "Meeting to discuss Darth Vader"Body = AddressStringLocation "Battlestar Galactica"ReminderMinutesBeforeStart = 1ReminderSet = 1.modify olAppt, @Recipients::@Add("test@test.com") returning myReqAttendee.modify myReqAttendee@Type = olRequired.MODIFY olAppt Save(). Error message:System exceptionMember not foundCobol error at 00022Don:modify olAppt, @Recipients::@Add("test@test.com") returning myReqAttendee. Thank in ad
I have a program that reads MS Excel spreadsheets and it works fine when running on workstations. I lost my development system and the new one now uses Windows Server 2012 and no longer is able to read the spreadsheet. I am running Net Express 5.1#Excel#Server2012
I need to call a Credit Card Gateway to submit credit card charges from my software. I have spent hours reviewing the documentation Working With .NET Assemblies. I have everything coded but when I Create my assembly, the Handle gets set to a value of 1.Also, the result of the assembly is also passed to another assembly that I create, where the Handle is passed as an OBJECT. There are no examples given that show how to do this correctly. Also, there is no example that uses "Stored Object Events".Here is a sample of the coding I am trying to write. The problem is with the last statement in the example:MODIFY PostRequest-HANDLE "SetTransaction" ( Ms-Operation-HANDLE ).I'm not sure hot to pass this correctly.Thanks in advance to anyone that contributes to help me out. ======================================Example Coding:******************* NETDEFGENED Def File: ****************************************************
I have used RMNet to consume SOAP services using XML. I now need to consume a RESTFUL service using JSON. Are there any example programs that show how this is done? I need a solution that will work on both Windows and Linux platforms. Calling Curl would not be an ideal solution; I will be making many calls to the service, and need it to be VERY responsive. Thanks!
Hi All, While i am executing below logic-i am getting error(that error i attached). Please advise why i am getting that error.Snap shot of below logic.Working storage section.01 parser-handle usage is handle.XML PUT TEXTresponse-payloadresponse-len"C:\\sparak\\19\\CS\\TMP\\final-result.xml"if not XML-OK go to 004-END-PROCESS. Below LOGIC i am expecting to be open the final-result.xml and get the URL link from final-result.xml and move to ws variable. But, no luck.call "C$XML" using CXML-GET-CHILD-BY-NAMEparser-handleend-call.=============================My final-result.xml below. ( I am taking </GetURLByDocumentIDsResult> URL link)<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/200
Hello All,I learnt C$XML using guide https://www.microfocus.com/documentation/extend-acucobol/1021/extend-Interoperability-Suite/BKITITNONVS027.htmlBut, i have some clarificationsUsing C$XML, i want to get below red mark values to one working storage variable? For this i tried below logic, but how do it declare final.xml which i need to open and get the below red mark values to one variable? CXML-GET-FIRST-CHILD/parser-handle both variables how do i declare in working storage section? just please give me sample code here. thank you in advance.call "C$XML" using CXML-GET-FIRST-CHILD parser-handle. <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/
HiI'm just starting with JSON GENERATE in Visual COBOL for Eclipse 5.0.I have a question is how to represent the JSON string shown below in the DATA DIVISION..The JSON example in the SAMPLE folder uses the NAME entity a 01 level data name for the FROM identifier in the JSON GENERATE statement but my JSON starts with 3 items at the same level.So what do I use as the "FROM" identifier. If I make the 3 name pairs 05 levels won't the dummy 01 level item be generated in the JSON?{ "jsonrpc": "2.0", "message": "GarmentInfo", "params": { "general": { "ID": "ni1", "0-0": "ni1", "0-1": "Prod variable", "1-0": "Sylte Variable", "1-1": "Color var", "1-2": "Fabric Arcticle Var", "1-3": "Size Var", "units": 1
PROBLEM When using AcuXDBC and accessing the data through a DSN in Excel it returns the error: DLLLOAD: xvision, the specified procedure could not be found PATH and GENESIS_HOME are set correctly and using odbcsql.bat directly on the command line works correctly. SOLUTION It may be that an incorrect DLL is being found and loaded, causing the error to occur. This can be checked using Procmon and checking the log. In most cases by checking the log it could be seen that MSQRY32.exe (Microsoft query tool) was checking for zlib.dll in C:\\Windows\\SysWOW64\\ BEFORE the Acu bin directory. If an incorrect or very old zlib.dll is located in the SysWOW64 directory then that would be loaded instead of the DLL in the Acu bin directory. Then the error would occur. It is unsure where the additional DLL originated from so it’s not recommended to delete it. Instead backup then move or rename the DLL and then AcuXDBC will work correctly again without error. #HowTo#TipfromSupport
Hello Visual COBOL community,I hope you can help me with my problem.In my current Visual COBOL project we are using Remote COBOL Projects. And my problem now is that I can't open any Ant files in corresponding editors (Ant editor) or views. The error message looks like this:java.lang.NullPointerException at org.eclipse.ant.internal.ui.model.AntModel.getEditedFile(AntModel.java:752) at org.eclipse.ant.internal.ui.model.AntModel.setBuiltInProperties(AntModel.java:529) at org.eclipse.ant.internal.ui.model.AntModel.setProperties(AntModel.java:459) at org.eclipse.ant.internal.ui.model.AntModel.initializeProject(AntModel.java:429) at org.eclipse.ant.internal.ui.model.AntModel.prepareForFullParse(AntModel.java:396) at org.eclipse.ant.internal.ui.model.AntModel.parseDocument(AntModel.java:355) at org.eclipse.ant.internal.ui.model.AntModel.reconcile(AntModel.java:313) at org.eclipse.ant.internal.ui.model.AntModel.getProjectNode(AntModel.java:1518) at org.eclipse.ant.internal.ui.mod
After booting my win7 32bit machine and starting Netexpress 5.0 with double-click on the Icon i become twice times the Screen with licence Windows, licence not valid. By the third click on the Icon Netexpress 5.0 will started correctly.Is this Problem known by microfocus and can we have a Resolution?This is each time after restarting the os!Who can help?
PROBLEM When trying to start AcuToWeb on Linux a message appears saying that it has started ‘AcuToWeb Gateway Started (PID: 18887).’ When checking the status of AcuToWeb it says that it is not running ‘AcuToWeb Gateway not running (invalid PID file).’ Checking the gateway.out shows the error message: … ImportError: cannot import name certificate_transparency SOLUTION This can be caused by the version of GCC on the host machine being too low or by a missing dependency. To check the version of GCC on the host machine, run the following command: gcc –version Sample output from CentOS: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Starting in 10.3.0 the minimum version of GCC required on Linux is 4.8.0 If the version of GCC on the host machine is below this requirement then it will need to be updated according to your OS. To check if the issue is caused by a missing dependency, run the following command in the acutoweb directory of the Acu installation: ldd ./Python2.7/lib/pyt
Problem: If a COBOL program calling Dialog System is compiled to .exe with shared/dynamic link, it only takes one license at run-time. However, if it is compiled as static, it takes two licenses, despite only one process being run. Resolution: There is no support for creating full static linked Dialog System applications in Net Express. For a Dialog System application, the code should always be linked with the shared run-time and this would only consume one license. #dialogsystem#staticlink#license#netexpress
Hi! We are using the Mapiland.dll to send email out of our software. As of late, we are having issues because Outlook is being installed as 64 bit, and Mapiland is only 32 bit. Is there a 64-bit mapiland out there in the world? Right now our work around is to tell the customer to re-isntall their outlook as 32-bit, but we shouldn't have to be telling our customers that...Anyone have any ideas of what I can do?
How many times a program can be executed. Hi, I need your help to know if there is an option to control the number of times you can run a cobol program in windowsm 10. For example, I have an icon to run box01, such as controlling that on the same PC you can only run just one time.
Problem : How to enable Windows XP support for COBOL application. Via a Visual COBOL command prompt, it is possible to use the cbllink –Y option to enable Windows XP / 2003 support, but how is this done via a Visual COBOL Project > Properties > COBOL Link? There appears to be no option to specify this, or it is not clear where to set this. Resolution : In a Visual COBOL Project > Properties > COBOL Link shows all the cbllink options are included expect for the –Y option. The Additional Directives Textbox can be used to specify –Y.
Problem : When attempting to uninstall Docker Licenses using the Micro Focus License Administration tool, a message saying that “Licenses are in use" is displayed - see sample screenshot below. Resolution : This occurs because these are STANDALONE licenses. Currently the only way to remove Docker licenses is to go to the C:\\ProgramData\\Micro Focus\\lservrc.stn file and empty the file content, and save it, as the License administration tool does not have the facility to remove them. Note that Docker related licenses should not be installed on non-Docker platforms. A restart of services “Micro Focus CES daemon” and “Sentinel RMS License Manager” may be required to clear license cache, also restart of the License administration tool.
Problem : Every time a debug session is started Eclipse compiles all the programs before starting the debug. With large projects containing many programs (that still need to be fixed in terms of syntax errors) it takes a long time to compile all those programs, this happens at each start of a debug session. Is there a way to prevent Eclipse from compiling all the programs before starting a debug session? Resolution : When debugging starts, a check on source files will be performed to find out if any are out of date, and if so a build is performed. This can be switched off in the Eclipse menu > Window/Preferences/RunDebug/Launching property page. On that page (about half way down) is an option called “Build (if required) before launching”. De-select that option, click Apply/Close and then test. NB. This is a global option so will affect the whole IDE (for example - Java as well).
Problem : Your UTF-8 to ANSI conversion code is not working as expected, characters are shown incorrectly in output. Resolution : Note: How to do this can vary depending on Product, Operating System and System locale used. For the sample below, two important parts to consider are the:Intrinsic functions used, see code statement in sample: move function display-of (function national-of(dl-data, 1208)) to conv-data And also the use of PC_WIN_OEM_TO_CHAR to set the codepage, e,g,: call PC_WIN_OEM_TO_CHAR using test02 test02 by value 30 30. There is a scenario where only the move statement is needed, statement "CALL " PC_WIN_OEM_TO_CHAR" will be needed to get the characters to display correctly, but this may vary. For example. if only working with data from files that are not displayed, then this routine may not be needed.Sample code: $set nsymbol(national) $set sourceformat"free" &nbs
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.