Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I see that this question is raised before, for some years ago.We use C$SOCKET to upload and download files from at FTP server. One of the partners will now transfer to SFTP.Short question:Is this possible with C$SOCKET in newer versions?And if so - does anyone have tips for doing it?
I am executing sample from acucubol 10.3 shared /opt/acucobol/samle/javaI have compiled both java and cobol programs.I have setup the config file as below in same directoryCODE_PREFIX ./CODE_SUFFIX acuFILENAME_SPACES ONFILE_PREFIX ./FILE_TRACE 1file-trace-flush 1XFD_DIRECTORY ./JAVA_LIBRARY_NAME /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.262.b10-0.el7_8.x86_64/jre/lib/amd64/server/libjvm.soJAVA_OPTIONS="--libs acme64,acuterm64,vision64,aclnt64,axml64,runcbl64" The /etc/profile as below export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.262.b10-0.el7_8.x86_64export ACUDIR=/opt/acucobolexport PATH=$PATH:$ACUDIR/binexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ACUDIR/libexport CLASSPATH=$CLASSPATH:$ACUDIR/tools/CVM.jarexport PATH=$PATH:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.262.b10-0.el7_8.x86_64/jre/lib/amd64/server/libjvm.so Ad when I run the program, I get below output. root@devprbackend /opt/acucobol/sample/java: runcbl CobolCallingJavaIn rmfm_rinitmssql_initrep
I have a program in Net Express which produces the following file:<?xml version="1.0" encoding="UTF-8"?><suf:DebtEnquiryV1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:suf="http://www.kf.com/debtenquirylist" xmlns="http://www.kf.com/component" xsi:schemaLocation="http://www.kf.com/debtenquiry debtenquiry.xsd"><suf:PartnerCode>SIB</suf:PartnerCode><suf:Reference>FILE NO. 1 ABC LTD.</suf:Reference><suf:EnquiryList><suf:Enquiry><suf:CustomerId>197810208772</suf:CustomerId><suf:Reference>0999999900000006999</suf:Reference></suf:Enquiry><suf:Enquiry><suf:CustomerId>198710208772</suf:CustomerId><suf:Reference>0999999900000006999</suf:Reference></suf:Enquiry></suf:EnquiryList></suf:DebtEnquiryV1>However, when I run the program in Visual Cobol I get XML File Status -8 "This is an invalid pos
Hi.I have installed AcuXDBC in a Power/AIX.From local, executing asql.sh i don't have any problem.The variables is seted to:export GENESIS_HOME=/opt/acucorp/AcuXDBCexport PATH=/opt/acucorp/AcuXDBC/bin:$PATHexport LD_LIBRARY_PATH=/opt/acucorp/AcuXDBC/bin:/opt/acucorp/AcuXDBC/lib:$LD_LIBRARY_PATHexport LIBPATH=/opt/acucorp/AcuXDBC/bin:/opt/acucorp/AcuXDBC/lib:$LIBPATHexport CLASSPATH=/opt/acucorp/AcuXDBC/bin/vortex.jar:.export VORTEX_HOME=/opt/acucorp/AcuXDBCthen i start the server with the following command:acuxdbcs -startWhen i try to access from Linux with a Java program, i use the following connection string:"jdbc:vortex://system/manager/gds10:acuxdbc.cfg@20222:<IP SERVER>!acuxdbc04";i obtain the following error:java.sql.SQLException: dbChannel exception: DLLLOAD: gds10, 0509-022 Cannot load module /opt/acucorp/AcuXDBC/bin/gds10.so.0509-150 Dependent module libcobrts64.2.so could not be loaded.0509-022 Cannot load module libcobrts64.2.so.0509-026 System error: A f
New to Visual Cobol 6, in MF Workbench 3.2 it was simple to change the COBOL.DIR file but I cannot find it in VC6.
Is there a way to trigger an event when the frame of a windows form has been clicked? I am able to trigger a click event when the user clicks anywhere on the form but it does not work if the user clicks on the form's frame ( this is the section where the Minimize, Maximize, and the Close controls are located) see attached screen shot.
In the Start menu, click the Server Manager tile, and then click OK. In Server Manager, select Dashboard, and click Add roles and features. In the Add Roles and Features Wizard, on the 'Before You Begin' page, click Next. On the 'Select Installation Type' page, select Role-based or Feature-based Installation and click Next On the 'Select Destination Server' page, select a server from the server pool, select the server, and click Next. On the 'Select Server Roles' page, select Web Server (IIS). Click next 3 more times to reach the 'Role Services' page. Expand 'Web Server' > 'Application Development' and check the 'CGI' box. Click next. On the 'Installation Progress' page, confirm that the installation of the Web Server (IIS) role and required role services completed successfully, and then click Close. To verify that IIS installed successfully, type the following into a web browser: http://localhost The default IIS Welcome page should appear. Start 'In
Problem Although the installation of Visual COBOL (or any products using the Safenet licensing) was successful, the Sentinel RMS License Manager service (lservnt.exe) fails to start and reports the following in the event log: Log Name: ApplicationSource: mf_CCITCP2Date: 10/20/2020 11:36:33 AMEvent ID: 0Task Category: NoneLevel: ErrorKeywords: ClassicUser: N/AComputer: W10-DEV619Description:The description for Event ID 0 from source mf_CCITCP2 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on ano
PROBLEM When running a COBOL program on the server, while connected via RDP, the style of the title bar of the COBOL program can change and then the minimize button will stop working. SOLUTION This is caused because of the combination of using the RDP connection and having WIN32-NATIVECTLS disabled (set to FALSE). There are 2 solutions: In the runtime configuration file set the following variable: WIN32-NATIVECTLS TRUE Instead of connecting to the server via RDP and then running the COBOL program, run the program remotely using AcuConnect Thin Client. More information about AcuConnect Thin Client can be found here - https://www.microfocus.com/media/data-sheet/acuconnect_ds.pdf #HowTo#Information#TipfromSupport
Looking for some examples for windows, I've created a csv file and want to open it using the default program for that particular workstation. I'm not a windows guy so my development experience is very limited in the MS world.The online docs provide an example of calling ADVAPI32.DLL to get user-name but i'm struggling on how ultimately call the LaunchFileAsync method. Here is a snipit of code that I'm using.CALL "advapi32.dll" ON EXCEPTION PERFORM CSV-DLL-ERR-RTN EXIT PARAGRAPHEND-CALLCALL "Windows.System.Launcher.dll" ON EXCEPTION PERFORM CSV-DLL-ERR-RTN EXIT PARAGRAPHEND-CALLMOVE CSV-FIL-NAM TO CSV-VAR-NAMESET CSV-VAR-SIZE TO SIZE OF CSV-VAR-NAMECALL "LaunchFileAsync" USING BY REFERENCE CSV-VAR-NAME BY REFERENCE CSV-VAR-SIZE ON EXCEPTION  
Hello,I come again to ask for your help to convert a program to Cobol.There is a version in C # and VB.Attached is the complete solution with both languages.There is a .bat file in both Tutorial folders that generates the solution to be used.Within the solution the program I need is pr04_analyze.I think that what I send allows me to do what I need.Thank you again for your help.Best regards,Alberto Ferraz
Exactly how do compile listings get generated under NetExpress 5.1?
Good Morning I have the following problem: I have a server with W10 and my programs installed on it (runcobol v.11, 5 users). I have 2 more computers with w10. if I run the query from one of the network computers, everything is fine. But if I run the same query on both workstations, the second computer that runs it slows down tremendously.I have verified that the problem is that the 2 computers access the same file that has been opened. I have removed firewall and antivirus and it does not fix the problem. What I can do?
We have a .NET DLL that we use from our regular application without issue (using wrun32 on Windows).When we try to access it from the same program run with the console runtime (crun32), it throws a memory violation.I'm guessing the console runtime doesn't support calling a .NET DLL - can any Acu guru confirm that for me?(Using 9.1.2.1 Windows runtime).ThanksTony
We have received a file that was created on an IBM system using the IBM CPYTOPCD command, Translation table = *NONE, Format of PC data =*NOTEXT. Our information indicates that this command copies a system database file to a PC Document. The file is created on a QSYS file system on an I Series IBM. The output file is iin EBCDIC and containes TEXT, ZONED, and PACKED data, mixed in each record. We are able to convert the TEXT and ZONED data just fine but can not get accurate data out of the PACKED data.The PACKED data is defined in the file layout document as PACKED 9 2We define the data as PIC S9(7)V9(2) COMP-3. in our input record and as PIC S9(7)V9(2) SIGN TRAILING SEPARATE.In the PROCEDURE section, we do the following: ADD "PACKED ITEM NAME" TO ZERO GIVING "TEXT ITEM NAME"We get a "good" number and sign but the number is not correct.An example: Display of "PACKED ITEM NAME" = 27??6.71, Display of "TEXT ITEM NAME" = 2856.71. The expecte
We are upgrading from RM/COBOL v10.1 to v12.17 and Windows 7 to 10. This functionality worked prior to the upgrade.I have a pair of program that I need to debug. I've compiled both with debugging on. Program A calls program B using WINEXEC:40920 STRING '"' DELIMITED BY SIZE40920 RMCOBOL-PATH(1:PATH-INDEX) DELIMITED BY SIZE40920 '\\RUNCOBOL.EXE" B A="A' DELIMITED BY SIZE40920 PNF-EMPLOYEE-ID DELIMITED BY SIZE40920 PNF-FAMILY-MEMBER-ID DELIMITED BY SIZE40920 '" L=' DELIMITED BY SIZE40920 RUNTIME-PAT
We need to update LCSNAME due to the way we're having to do our upgrade. Unfortunately, we only have the binary .cob file. Does anyone have the source or a way to decompile the .cob file?I appreciate any assistance,Linda Praed
I installed RM / COBOL Runtime Version 12.17 on Suse Linux Enterprise Server 15 and when running runcobol it gives the following message "runcobol: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory" .Suse Linux Enterprise Server 15 contains the following libraries:"./lib64/libncurses.so.6./lib64/libncursesw.so.6./lib64/libncurses.so.6.1./lib64/libncursesw.so.6.1 "Is there any RM / COBOL Runtime update or is it not compatible with Suse Linux Enterprise Server 15?
I have a Visual COBOL project that uses DB Connectors. In my project, my programs ALSO read and write to files that are NOT in my SQL database. My question is where or how do I setup the path so the programs and find those files?In RM/COBOL we have the RMPATH, is there something like that with Visual COBOL?
I am trying to use the Environment Statement to replace the Old Wang Putparm VSSubs. Here are the statements I am using. SET ENVIRONMENT compcod to "DB" in the program AR07.txt. Here is the other ENV. ACCEPT COMPANYCODE FROM ENVIRONMENT "COMPCOD" in AR0710.txt.When I run the programs Companycode is blank not "DB". I must be doing something wrong but what? Any reference to a Acucobol Manual will help. I have included the programs and just search for compcod and companycode AR07.TXT
We are moving from Net Express (32-bit)/Server Express on HPUX (64-bit) to Visual Cobol on Visual Studio 2019 (32-bit)/Development Hub on HPUX (64-bit).We decided to have 64-bit solutions and targets in Windows to match our target platform. Our initial experiences show that in some areas Visual Cobol is significantly slower than Net Express. The question was raised if there is a performance hit using 64-bit solutions for things like debugging and building?We have to move source code and compile this with Dev Hub to get an executable on our target platform. So are there downsides to using 64-bit in Windows when Visual Studio is 32-bit that should change our decision to go with 64-bit projects, or is this a moot point?
HelloI need to edit a resource file from Netexpress 5.1 in Visual Studio 15 Visual Cobol 4.0.Help says:This release does not support the Visual Studio resource editor and the resource-definition script (.rc) files that you use in your COBOL projects can be opened only in code view.It is recommended to use other applications to edit resource-definition script files.Which resource editor can you recommend? The resource file editor of Visual Studio C does strange things.Regards,
I am trying to "Wean" off our programs that use the old Wang VSSUBS. These VSSUBS were created by Unicon years ago when we converted our programs form Wang to Microfocus. This one is "PUTPARM". This will basically create a Temp Area (Value = COMPCODE) that then can be accepted into other programs. I have included AR07.TXT that will create\\change the putparm value and here is the portion of the program that has the accept in it. CALL "ACCEPT" USING"COMPCODE" COMPCODE.Any Ideas?
This article explains an ASLM message received when a shared memory has been modified by an outside entity. Problem: Applications involving Oracle and Tuxedo, have been historically vulnerable to an ASLMF shared memory problem. After upgrading to Server Express 4.0 applications can fail with the following error message: ASLM: A shared memory area used by Apptrack licensing has been corrupted or deleted, and your system will need to be rebooted. This message is different than the historical error message "ASLM:shm open failed error code 1025" but still means that ASLMF's shared memory was modified by an outside entity. Resolution: If the error persists under Server Express 4.0 further investigation will be required, however you should check: Tuxedo administration/support team using "ipcrm" command to forcibly clean the hung processes.Be sure to examine Oracle, Tuxedo, and system administration practices to find the outside entity
Our application runs on Windows server using AcuGT version 9.1.2.1, with Windows clients. We are using Vision files, and now have some customers requesting the ability to do real-time hot backups (real-time server replication of data).Since Vision files do not support VSS, we are considering two options:1) using SQL database instead of Vision files - this is a fair amount of work, and requires new knowledge for our developers and support team, as we do not use SQL today for any applications. Our testing has also shown a performance hit with SQL, which makes sense but could become an issue in large customer sites, which of course are the ones most interested in a hot-backup solution. We do file updates automatically as part of our software updates today, adding SQL tables makes this more complex, especially when adding VSS replication.2) creating our own "replication", by creating transaction files for each record update in critical files, which would be proc
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.