Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Good Morning, Iam trying to migrate some dat files to another format and after that merging them to one file.The number of the dat files i have to merge differs in size. I use the .NET directoryInfo::GetFiles method to get all files with a specific name. After that I am migrating the files to the new format and then save them to a temp folder. Then Iam trying to merge all files in this tmp folder by recursively looping through them. After the first merge I get the following error 'File locked (Closed Last Status: 9/65)'. Is there a possibility to close the work-file, because it seems to stay open after merging the first datasets. Thank you very much. Here is the method iam using: procedure division using by value sourceFile as string fileList as ty
Good morning, I have this problem: I use in the form a push button with a bitmap inside, but if I apply a new resolution to the screen or if I modify the dimensions of the button, the image of the bitmap do not automatically changes and do not follows the new dimension of the button that contains it.I found the BITMAP-SCALE directive in various discussion, that I note is valid from the version 10.3.1 of Acucobol, but i don't think that is the right solution because -from wthat I understand- it do not affects on BITMAP BUTTON, it only modifies the scale of the object/controls: BITMAP IMAGE.Is what I have understood about BITMAP-SCALE correct? Is there a solution to auto-resize the image of the bitmap conteined in a BITMAP PUSH BUTTON when it modifies its dimensions? I am using the Version 9.2.5 of Acucobol-GT Thanks to all for the help Sebastiano
Hi While compiling couple of programs that are in RM COBOL I am getting the below error. Could you advise. one of the example CALL "C$WRU" USING WS-LAST-PROG-INFO, WS-LAST-PROG-LINE, WS-LAST-PROG-INTRA-LINE, I am using Visual cobol 8.0 and compiling with a remote project from remoe linux machine which is 8.5 version Please let me know.. Thanks.
I am executing the RM/COBOL but it is presenting me with a problem in the execution: I can send you the images by mail, but it is related to the following message: Cannot start the RM/COBOL runtime. A Windows COM error occurred: Class not registered (the code is 80040154). To resolve this problem reinstall the RM/COBOL runtime, or register the RM/COBOL runtime with the RUNCOBOL /REGSERVER command. Then a window appears displaying this message Server "rmcbl12r.dll automatic registration failed: The specified module could not be found. Someone from the community is aware of this error since I am not new to the community. Thank you. #RMCOBOL
Good Morning, I am trying to Create a REST API IN COBOL That can be called from Both Cobol applications and the front end Applications. Could you please let me know the steps How external Application can access the API Created by Visual COBOL. What Settings I need to do in both COBOL/External Places. And Also Please let me know the Steps / Documentation How to create the REST API where it will read the AWS Table for COBOL And then Send response to COBOL / External Interface (Java). We work on Linux machine for all COBOL Development Please let know. Thanks Verymuch. If there are any documentation or Training Videoes will be a great help.
Hello, While converting the RM to VISUAL COBOL During compilation I am getting errors. These are for the set of DATE COBOL Modules Here are the code error where VISUAL COBOL 01 DATE-FMT-OUT PIC XX. And in the above example this flag when we move C to DATE-FMT-OUT whereas not flagging when we move F to the same variable the above are the distinct errors. All these programs compiled successfully in RM not in Visual cobol. Please advise How to Proceed further. Thanks Verymuch.
I have a COBOL program that reads from an ISAM file. For few of the records in this file, a field (say FIELD123) has extended ASCII characters along with ASCII characters (example - 410090¶). When I try to write the record in the output sequential file with extended ASCII character, then the program fails. In order to confirm if this was the issue, I moved spaces to FIELD123 and then tried to write the record. This time the program did not fail. I need your help with below activities: # How to identify extended ASCII characters? # If there is extended ASCII character in a field, then replace only the extended ASCII character with space but retain the ASCII value from the field Thank you!!
Hello. I just download and install Visual Cobol for Visual Studio 2022 and Micro Focus Cobol extension for Visual Studio Code. Most of our software have html, CSS and javascript embedded, so the extension couldn't initialize when the cobol file have the line $SET preprocess (htmlpp) endp. To manage this I put thius directive on cobol.dir and the compilation was OK. Another complain is the html highlight breaks with single quotes inside a double quoted string. And it would be nice if embbedded CSS and Javascript was highlighted
Hi - I have below situation:- Pgm1 [Rm/Cobol] -- > Pgm2 [RM/Cobol] calls API using CALL SYSTEM [curl]. Pgm1 run continuously 24*7[with weekly break of 5 min]. Observation 1. Initially Pgm2 takes very less time. [after restarting Pgm1] 2. With time, Pgm2 execution time keep on increasing. 3. Again, If Pgm1 is restarted then Pgm2 execution time reduces then again start increasing with time. Is there some caching happening ? Is there way I can avoid this situation where need not to restart Pgm1 to reduce Pgm2 execution time? #curl#RMCOBOL
i have found any possibilities to find a value of p-os-version, but how to known the version. i become the numeric value 0176161286 for the windows 11 22H2? What values have all windows version? and other os as mac or unix? Thanks for help
Hi all, I am writing here looking for some guidance. Recently we updated our DEV server. Before we were using RHEL7 + Visual Cobol 4.11 + SQL Server 2012. Now we are using RHEL8 + Visual Cobol 8.0 + SQL Server 2019. After performing few tests, I found an issue on a SQL Instruction. On both servers I used the very same data. The issue is: On RHEL8 + Visual Cobol 8.0 + SQL Server 2019, when reading a cursor for the SECOND time, the fetch instruction reads que same first record, which gives SQLCODE -10000 and SQLSTATE S1010. We did not change our makefile, we did not touch our code. On our server with visual cobol 4.11 the code works as expected. Has anyone here have experienced a similar issue when upgrading Visual Cobol? It is a simple cursor as we can see below 5708 EXEC SQL 5709 DECLARE CC-CURS-STATUT CURSOR FOR 5710 SELECT contenu_carte_controle 5711 ,date_creation_carte_controle 5712 ,i
Goodmorning, anyone has an example of C$CARG usage? Thanks, Giovanni
Steps on how to manually revoke the license when a Partial Revoke Failure error message is received. Full article: https://portal.microfocus.com/s/article/KM000010541#SupportTips/KnowledgeDocs
Using OpenESQL (Embedded SQL) in Visual COBOL, and getting a SQLCODE -19514 error when fetching the next row from a cursor.The cursor is opened, a fetch is done successfully and then the program does an update on a different table. After the table is updated, the program performs a fetch of the next row, and the SQLCODE error -19514 is returned. Full article: https://portal.microfocus.com/s/article/KM000010760#SupportTips/KnowledgeDocs
Micro Focus Virtual Environment Support Statement – for systems such as VMWare, Citrix and Microsoft Virtual Server. Full article: https://portal.microfocus.com/s/article/KM000010632#SupportTips/KnowledgeDocs
Hi All We are getting error rts64 : Error 96 encountered in child process while upgrading system from HP to AIX and from express cobol 5.1 to Visual Cobol 7. Please suggest solution Regards
I want to build a dll and become following error: Creating library DEBUG\\adm-anb.lib and object DEBUG\\adm-anb.expadm0097.OBJ : error LNK2001: unresolved external symbol _ShellExecuteA@24DEBUG\\adm-anb.dll : fatal error LNK1120: 1 unresolved externals The program with shellexecute command will compile correctly as *.int, *.gnt or *.obj. With the same modules i can build a lbr, but not a dll. Who can help? Sorry: have forget to indicate that netexpress5.1 is installed on the new windows 11 22H2
Has anyone ever used the SEND and RECEIVE verbs to communicate to other programs inACU, if so, can you send me the source or snippet of the source and how successful were you using it. TIA Alex#receive#AcuCobol
I am using Embedded SQL in Visual COBOL, and I am getting an 19514 error message when fetching the next record. My cursor is using a temp table, and during some point in the program, the program updates a different table (that uses the same data as the temp table. Once the table is updated, the program performs the fetching of the next record, and we get that error. Any ideas on what would be causing this?
My vendor has written AcuCobol programs with GUI screens. I install the software on the main Windows 2019 server and all is good. I then publish the wrun32.exe program on my Remote Desktop collection and then download the rdp file to my local machine. When I execute the .rdp session from my machine and then log into the software, I have window refresh issues on query screens. For example, I go to customer inquiry, search for a customer, then select customer. The customer data is not displayed on the GUI screen until I take my mouse and literally move the customer inquiry screen just a bit. Basically the data won't populate the screen until I force a refresh. It seems once the refresh is done initially, it then refreshes normally upon subsequent queries until I close the window and reopen. I have talked with the vendor and they don't know why this is happening. They even updated the runtime to version 10.4.1 on the server toda
With the deprecation of Microsoft Internet Explorer, ACUCOBOL-GT 10.5.0 is the first release that removes the dependencies from this browser and its related libraries. One of these dependencies consists in the mechanism used by AcuBench to show a preview of the HTML-based Reports. The library here used is called AcuBenchPrint.dll. Full article: https://portal.microfocus.com/s/article/KM000010529#SupportTips/SupportTips/KnowledgeDocs#SupportTips/KnowledgeDocs
When trying to import a "remote" project in Eclipse on Windows, the following error occurs: 'Project serialization job' has encountered a problem. An internal error occurred during: "Project serialization job". null argument: The stack in the Eclipse .log will look like this: !MESSAGE An internal error occurred during: "Project serialization job". !STACK 0 org.eclipse.core.runtime.AssertionFailedException: null argument: at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:88) at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:76) at com.microfocus.eclipse.remote.resolvers.PureRemoteProjectPathResolver.initialize(PureRemoteProjectPathResolver.java:90) at com.microfocus.eclipse.core.internal.resource.resolvers.PathResolverExtensionFactory.createResolver(PathResolverExtensionFactory.java:56) at com.microfocus.eclipse.project.model.AbstractMicroFocusProject.getPathResolver(AbstractMicroFocusProject.java:522) at com.microfocus.eclipse.project.serialisation.AbstractBuildFi
VS Code - .NET Core attach debug gives error: Error processing ‘variables' request. Unknown Error: 0x8013150 Full article: https://portal.microfocus.com/s/article/KM000010626#SupportTips/KnowledgeDocs
Here is a program using sql cursor against an MSSQL Server database. It runs but does not move any values into the ag-code nor ag-name WORKING STORAGE as specified in the FETCH. $SET SQL sourceformat(variable) $set constant driverClass "com.microsoft.sqlserver.jdbc.SQLServerDriver"$set constant AMPDBdatabaseURL "jdbc:sqlserver://xxxxxxx.gov:1433;database=XXXXXXXX;user=XXXXxxxxXXXXX;password=xxxxxxxxxx;trustServerCertificate=true;" program-id. Program1 as "twelve.Program1". environment division. data division. working-storage section. EXEC SQL INCLUDE SQLCA END-EXEC. EXEC SQL BEGIN DECLARE SECTION END-EXEC 01 ag-code pic x(02). 01 ag-name pic x(60). exec sql at ampdb declare foo cursor for select ag_code, ag_name from agency end-exec 01 connectionstring pic x(300) value spaces. EXEC SQL END DECLARE SECTION END-EXEC 01 MFSQLMESSAGETEXT PIC X(250). 01 IDX2 PIC 9(09). Procedure Division. mainline. move &qu
Hi, I have the application running on production enviorment for more than 3 years without any issue. Now we bought new computers with the same configuration that we areadly heave on our production enviormet and when some especifics programs are called they are returning the following error. Load error : file 'path\\programName.dll' Error Code: 174, PC = 0, Call= 1, Seg = 0 Error 174 - Imported file not found (path\\programName.dll) Detail, I have about 100 machines running the same application on the same path and the error does not happend on it. Just on new ones or if get formatted. For development I'm using Visual Studio 2019 Visual Cobol 5.0 pu 21. Compiling for x86. Regards#VisualStudio#call#VisualCOBOL
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.