Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Current we are facing one issue. As per client requirement we have to create a file having record length 102729. But as per Microfocus Guide line Run Time Limits of File Size should not me more than 64K. Is there any alternate method to access the files having more than 64K of length. Please advice.#eclipsevisualcobolvariablesviewencoding#eclipseMFcobolcontenttypewithoutextension#Eclipse#rebuild#COBOLFILE#RMCOBOLfiles#visualcobolruntimeswitchlinking#VisualCOBOLautoscalemodescreenresolution#COBOL#buffer#COBOLOrion
Problem: Rather than using the SQL Server lock table the application uses the Vision lock file which is specified in the configuration variable A_MSSQL_VISION_LOCKS_FILE. When the program runs it crashes on the first attempt to open a SQL Server table. This is seen in the trace file: opening data segment (#0): Lock4GL.dat Alt lockfile [Lock4GL.dat] error 1 Resolution: The configuration variable A_MSSQL_VISION_LOCKS_FILE must be set to include the complete path and file name. In this case the path was omitted and it specified only the file name. Adding the path to the file name will resolve the error.
My English is very poor, but I try. I tried version 9.2.3 and have problems with headers grids, if the column is numeric, the title appears only if it is a number. Is there any "ecn" to fix this?, How do I get? Thank you very much.
Problem: When the user opens an elevated Net Express command prompt by right-clicking on 'Net Express 32-Bit Command Prompt' and clicking on 'Run as administrator', the command prompt session is created with the following error: 'createnv.bat' is not recognized as an internal or external command,operable program or batch file. The createnv.bat file is the script to set up the Net Express environment variables, and in this case, the script could not be executed. Resolution: Behind the Net Express 32-Bit Command Prompt shortcut, it is actually launching:C:\\Windows\\SysWOW64\\cmd.exe /k createnv.bat In this same shortcut, you will notice that the Start in field is to specify the current directory as "C:\\Program Files (x86)\\Micro Focus\\Net Express 5.1\\Base\\Bin\\" In other words, the createnv.bat is executed from "C:\\Program Files (x86)\\Micro Focus\\Net Express 5.1\\Base\\Bin\\" When running this shortcut as administrator, Windows fo
PROBLEM In the AcuLocks table, the column Lockpid contains the SQL Server Process ID or SPID which is lockinga record. How can the owner of the Lock be determined ? RESOLUTION If SQL Server 2012 is running, then open the SQL Server Management Studio. On the left hand side in the 'Object Explorer' right click on 'Activity Monitor'. This displays all the current processes running on the server. Other methods:- Open 'New Query' and type 'sp_who2', This gives the same display as the 'Activity Monitor'. Each process shows the 'SPID' with information including the Login and Host Name. Match the LockPid to the process running that has the matching SPID. Execute the stored procedure 'sp_who'. This gives the spid, username and hostname of every connection. Reference the spid associated with the lock. For more information, execute this statement: select * from sysprocesses where spid = nn This wil
I have Visual COBOL Personal Edition with Visual Studio 2012, running on Windows/8 I have set up a Project with several programs in it When I Build the Project it tries to compile each source member within the Project And it comes up against the 2200 Procedure Division line limit fairly easily If I have, say, 10 programs in a Project and I change one program, how can I just compile/prepare that one program Is it possible?
PROBLEM When installing AcuCobol, this error message occurs : "This installation package is not supported by this processor type." RESOLUTION AcuCobol 64 Bit cannot be installed onto a Windows platform with a System Type of 32 Bit. Windows 32 bit Acu 32 bit correct Windows 32 bit Acu 64 bit wrong Windows 64 bit Acu 32 bit correct Windows 64 bit Acu 64 bit correct
Problem AcuXDBC error message - 'Vortex (simple) SQL Interface has stopped working' This occurred when running 'asql' for example with the following statement: - select * from table; Resolution The problem appeared after AcuXDBC V9.1.1 and was resolved in AcuXDBC v9.2.1. This was related to our AcuXDBC Trifox 3rd Party product. Please upgrade to our latest AcuCobol/AcuXDBC version.
Problem AcuCobol is not available for the Mac OS X operating system Resolution Micro Focus does not support AcuCobol on the Mac OS X operating system For a Mac which is setup to dual boot into Windows, then we expect AcuCobol to run normally. For a Mac which is setup to run Windows in a virtualized environment (i.e. Parallels or VMWare Fusion) then we expect AcuCobol to run normally, however Micro Focus currently does not offer support for any errors in such an environment.
PROBLEMS The AcuCobol source program appears to compile but there is no runtime object program created RESOLUTION The problem in this case was that the compiler license (ccbl32.alc) had the 'Restricted Compiler' license set on. Creating a new compiler license with the 'Restricted Compiler' setting 'set off' resolves the issue
Hi, when I try to start debugging with Visual Cobol Personal Edition (VS2012) I get "Unable to start debugging" (critical error). Someone else got the same error? Some idea before trying to reinstalling the product?. Claudio #debugging
We are having problem to compiling Visual Cobol 2.2 with SQL embedded (Oracle). We are not using neither Eclipse nor .NET environment development. We are compiling using a script, setting de compiler directives into the program using $SET USE statement. According with the documentation we separate de directives into two files. Within the program the SET statements appear so: $SET USE"/MNG/DESA/VCFG/VCDirecSQL.dir" $SET USE"/MNG/DESA/VCFG/VCDirectivesP1.dir" : first file includes: p(cobsql) csqlt=oracle8 nomakesyn end-c comp5=no sqlcheck=full mode=oracle dbms=V8 varchar=yes unsafe_null=yes close_on_commit=no end_of_fetch=1043 dynamic=oracle type_code=ansi USERID=CBL_OWNER/cobol2014@LBDCOB01 endp second file with the rest of the compiler directives. When we try to compile, we receive the next message: 2$SET USE"/MNG/DESA/VFUENTES/ATS/TST1F(·=.CBL* 53-S********
I have been using Net Express 4.0 for many years and it is an excellent product I want to be able to do the same with the new Personal Edition of Visual COBOL that I have on Win/8 I am at the stage where I can dbl-click a .cbl source code member and Vis CBL starts up and I can edit But I cannot see how to compile and then to run In Net Express 4.0 the red check mark compiles the current source code and creates a .int member if the compile is clean The I can set to run that program through 'Activate/Settings' and then click the running man in black and the program runs These are steps I cannot find how to do with Visual Cobol P/Edit Can someone please give me a starter on this Once I can run a simple batch style program under VC P/Edit I can then delve into the manuals and get it to talk to the screen, etc
HI, I have many question to post because I returned to Cobol years later. The most important question regards the database pre-compiler. In particular: 1) With EXEC SQL Can I set isolation level and begin transaction ? 2) How Can I test if an insert or updated does not succeed because of constraints violations? 3) If I set autocommit disabled in SQl properties can I use commit and rollback ? 4) To set a null value it is sufficient move -1 to :name-fileld-null ? Claudio #EXECSQL
Problem: Installing Net Express 5.1 Update (or WrapPack) fails with the following error: Error 1305. Error reading from file C:\\Windows\\Installer\\xxxxx.msi. Verify that the file exists and that you can access it. Resolution: This problem occurs when the SYSTEM account does not have a full permission on the folder that the installation was launched from. By default, the SYSTEM account is granted full control to all files on local NTFS volumes. If Net Express 5.1 Update file is located on a network drive, you might want to copy it to your local drive, such as in C:\\Users\\YourID\\Downloads or C:\\Users\\YourID\\Documents where the SYSTEM account has full control.
Hello. I`m using Acucobol-Gt Thin client 80, and it`s saying: "conection failed"-"Connection to server refused"When I try to log on from some of my clientpc`s. The odd thing is that 1. W7 ok. 1 XP, ok. 1 w8.1 ok. 1 W7 refused. 1 w8.1 refused.The only differense is the brand of Pc. HP seems to be the best.I have a HP server running W server 2012R2. Is this a known issue? Regards Guffen#ThinClient
Problem: When obtaining the AcuShare report the meanings of the various items is not clear. Here's an example of such a report: Server Statistics: ================== server PID: 19134 IPC key: 0x01010101 shmid: 40370176 listening port: 44659 start date: Tue Apr 19 03:04:34 2014 clients: 2 client deaths: 0 message type sent received -------------- ---------- ---------- HANDSHAKE 8 8 ACK 2 0 INFO &nbs
Problem: By default, the COBOL Text Window comes with the system menu that allows to minimize, restore down, and close the application window. Clicking on these buttons does not unfortunately trigger an event for the application to act upon, so it abruptly terminates the COBOL application without giving any chance to stop graciously. This often results to data file corruptions and other unexpected results. The proposed solution in the past (see CloseButton.zip at the Examples and Utilities page) was to remove the system menu by using a Windows API functions GetWindowLong and SetWindowLong, and this does avoid the users to click on the Close button. What if you simply want to disable the Close button and keep the minimize and restore down buttons enabled? Resolution: There are actually other Windows API functions that can be used to disable the Close button from the system menu, and the following codes show how to use GetSystemMenu and EnableMenuItem:  
Problem: A DB2 application runs fine on a machine that has Net Express 5.1 and DB2 client installed, but it fails with the following error when it is executed on a machine that has Server 5.1 and DB2 client installed: Load error : file 'sqlgstrt' error code: 173, pc=0, call=1, seg=0 173 Called program file not found in drive/directory Resolution: This problem usually occurs when the DB2 runtime files are not found in the PATH. However, the Server 5.1's installation inserts quotes around the location of the COBOL runtime files (i.e. "C:\\Program Files (x86)\\Micro Focus\\Server 5.1\\Bin") causing a problem with the search through PATH and/or COBDIR. The purpose behind the quoted path was for backward compatibility with older versions of Windows. Until an Update (formerly known as WrapPack) is released to remove these quotes, the workaround is to update PATH and COBDIR manually in the Micro Focus registry entries by following the steps below: Open t
High Everbody, How can I trap the Windows Shutdown with NE5.1?
We use the browser component in lots of places in our system but there are times that certain websites throw errors. Below is a sample of an error that is thrown up to the user. Does anyone have any clue on how we can stop errors like this from being thrown up to our users?
With Dialog System I have the possibility to continue the program if the operator used the event WINDOW-CLOSED in order to execute some closing procedures before the program stops. What can I do when I use a Text Window (Character based) to do the same? If the operator clicks on the X the program stops immediately what I do not want. And when I remove the Sys-Menu with the WINAPI WS-SYSMENU the operator has not the possibility to change the window, minimize it, etc., I am looking for a simple possibility just to activate a flag if he uses X and with IF WINDOWCLOSED GO TO CLOSING-PROCEDURE. Continue my program. Thanks for any help Rolf #WINDOWCLOSED
set ExcelApp to new Application() set ExcelWorkBook to ExcelApp::Workbooks::Add(1) set ExcelWorkSheet to ExcelWorkBook::Sheets[1] as type Worksheet set ExcelWorkSheet::Cells[1,1] to "test" invoke ExcelWorkBook::SaveAs("C:\\temp\\test1.xlsx") invoke ExcelWorkBook::Close() invoke ExcelApp::Quit() The above code works in C#, not sure what is going on with Visual Cobol. I get #VisualCOBOLautoscalemodescreenresolution
Problem: Starting with ACUCOBOL-GT Version 9.2.3, a new Documentation Set is deployed. This may be read online using the following link: http://documentation.microfocus.com/help/index.jsp The news is that now it may also be consulted off-line locally, using the new help file "extend_923.chm".This is available directly in the 9.2.3 installation directory.i.e.: C:\\Program Files (x86)\\Micro Focus\\Acucbl923\\Docs\\extend_923.chm A shortcut to this file may be useful in order to easily open the Documentation Set from the desktop. Problem is that in some cases, on certain Windows operating sytems, this help file may open but be displayed as empty. Resolution: If this HTML Help (.chm) file does not open correctly, use one of the following methods: Method 1 Double-click the .chm file.If an "Open File - Security Warning" dialog box appears, click to clear the "Always ask before opening this file" check box.Click Open. Method 2 Right-click the .chm file and then click Properties.Click Unblock
Hi, I have the following code that encrypts and then i can un-encrypt this file, which works file with text files i.e. readable characters. However if i try to do this with a stored printed data file that contains unreadable characters it produces garbage. Is there any way to do this using this .NET class? method-id "EncryptFile" public static. 01 ls-fsInput type "System.IO.FileStream". 01 ls-fsEncrypted type "System.IO.FileStream". 01 ls-des type "System.Security.Cryptography.DESCryptoServiceProvider". 01 ls-desencrypt type "System.Security.Cryptography.ICryptoTransform". 01 ls-cryptostream type "System.Security.Cryptography.CryptoStream". 01 ls-bytearrayinput type "System.Byte" occurs any. 01 ls-len binary-long. 01 ls-ToBase64Transform type "System.Security.Cryptography.ToBase64Transform". procedure division using by value lnk-inputfile as string lnk-Outputfile as string lnk-key as string. set ls-fsInput
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.