Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
HI, I am evaluating whether or not to use cobol Analyzer and the first doubt i have is that is it possible to change the code analysis criteria? If I want to incorporate a new criteria to be analyzed in my code (eg not admitting more than 3 nested If), where should I put it? thanks#CobolAnalyzer
When selecting Line Numbering for a source file, it is not applied to the in-line copybooks. How can the Line Numbering be applied to the in-line copybooks? Full article: https://portal.microfocus.com/s/article/KM000011159#SupportTips/KnowledgeDocs
Does the AcuConnect alias file (acurcl.ini) have any limits on how large it can be or how many alias it can contain? Full article: https://portal.microfocus.com/s/article/KM000011154#SupportTips/KnowledgeDocs#SupportTips/SupportTips/KnowledgeDocs
Trying to perform this same call from un-managed COBOL code but not sure how to instantiate the Address class and set the properties of that class. Set oDomesticAddressValidator = CreateObject("My.AddressValidation") Set oAddress = CreateObject("My.Address") '************************* 'Set up the lookup fields '************************* oAddress.Line1 = oDOMNodeList(0).Attributes.getNamedItem("addressline1").Text oAddress.Line2 = oDOMNodeList(0).Attributes.getNamedItem("addressline2").Text oAddress.Line3 = oDOMNodeList(0).Attributes.getNamedItem("addressline3").Text oAddress.Line4 = oDOMNodeList(0).Attributes.getNamedItem("addressline4").Text oAddress.CITY = oDOMNodeList(0).Attributes.getNamedItem("city").Text oAddress.STATE = oDOMNodeList(0).Attributes.getNamedItem("state").Text oAddress.Zip = oDOMNodeList(0).Attributes.getNamedItem("zip").Text Set oAddress = oDomesticAddressValidator.ValidateAddress(oAddress) I've got this in the class-control section: CLASS-CONTROL. cVBAddress IS
Do you have make the same experience? I have installed the new windows 11 version 22H2 and here the version of Netexpress 5.0 or 5.1 don't run, I think that the license information have been removed during installation, than i found a directory windows.old and a new window directory on c: Are there hidden files from Microfocus under this directory? and not in the registry? Who can help ore have the same or other experience?
Good Morning, I am using Visual COBOL 8.0 . Trying to compile program part of the remote Project(remote machine is linux 8.5) While compiling the Program for a specific program getting lot of compilation issue. I tried with both RM COBOL and Microfocus as COBOL Dialect but getting lot of compilation issue. Where as even i compiled few other programs with microfocus as cobol dialet and getting them successful. could you please let me know if any additional configuration setting needed for this... for example if you see the WS-PLAN-START-DATE in the above screen print it is there but the compilation gives error saying not declared. could you please advise . Thanks and if you see for this one GRPTMP-GROUP-NUMBER i see this is available in the copybook but still it says not available. Thanks verymuch
Running 9.2.4 with wrun32: Rollback in my program works fine on servers with earlier OS, but not on 2022. I see from the community that there may be issues with file permissions? Has anyone experienced this kind of issue?#extend#rollback
Hi, I downloaded Visual Cobol 8.0 for Eclipse (vce_80.exe) and its update (vce_80_pu01_308901.exe) as well as the Eclipse environment (eclipse-inst-jre-win64.exe ; JRE 17.0.4.1). So far, "Eclipse IDE for Java Developers" is on my machine and I am trying to install VC8.0 on this Eclipse. Unfortunately, I don't succeed and I am wondering if the Eclipse IDE is the good one. May you please tell me if the 8.0 version runs on the latest version of Eclipse, and if yes, which IDE I should download and install. Tahnk you very much, Didier ROLLAND de RAVEL (drderavel@hotmail.com)
I am trying to write an error-handling routine in my COBOL program for connecting, reading, inserting and deleting tables in my SQL database and would like to know where I can find a list that contains all the possible errors that can potentially be generated along with their code and description. The error codes and their description are assigned to the following variables: 05 SQLCODE PIC S9(9) COMP-5 VALUE 0. 05 SQLERRM. 49 SQLERRML PIC S9(4) COMP-5. 49 SQLERRMC PIC X(70). These variables are part of the copybook located at : “ C:\\Program Files (x86)\\Micro Focus\\Visual COBOL\\cpylib\\sqlca.cpy” As an example, a table row containing a null field returns and assigns the error code “0000000001
Hi – Does RM/COBOL supports any performance analysis tool something like Marco4 FreezeFrame for Z/OS Cobol. Such tool did a sampling of currently running process. Record various parameter like memory usage, input-output operations by each programs in current running process, etc. #RMCOBOL
One developer wants to do a cross-session animation. The program to animate is running from a "batch" script and cobanimsrv is executed from an interactive session. The COBANIMSRV variables and other COB variables are identical in the script and in the session. cobanimsrc starts and waits as expected. When the script starts and gets to the program to animate, cobanimsrv ends immediately without any message, just a series of blank lines. In the meantime, the program in the script pauses as if it was waiting for instructions from cobanimsrv. Back to the session, we determine the program's process id and issue "anim <pid>". The connection is established at the this point and can proceed with the animation. Any idea why cobanimsrv would start/stop immediately and not connect with the program while a direct "anim" would?#COBOL#debugging#COBOLserver#ServerExpress
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
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.