Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I'm having trouble getting non-graphical .NET assemblies to work under AcuToWeb. CREATE statements that return a handle under normal circumstances return no handle under AcuToWeb. In fact, they seem to be ignored altogether, because changing the namespace to something non-existent, which would normally cause an error, has no effect. The syntax I'm using to create the control is: CREATE "@My.Assembly" NAMESPACE IS "My.Test.Namespace" CLASS-NAME IS "MyClass" HANDLE IS MY-NONGUI-HANDLE. I've also tried using the AcuToNet.dll interface, but got the CoCreate Instance Failed error. As I understand it, instantiating non-graphical .NET assemblies with CREATE is supported, so is there something I need to do differently to get it to work under AcuToWeb? Thanks. Claire
Problem: COBOL source code compiled under ACUCOBOL-GT 9.2 (or previous) allows START and READ NEXT of an empty file.The returned File Status was 10: End of file. (read next) However when the same code is compiled under new version 10.0.0, the same logic is forced into the DECLARATIVES section with File Status 92. Resolution: This is a behavior change introduced in release 10.0.0 to fix an issue that was laying in the runtime for a long time. Here's the references to the change and a suggestion to set in the configuration file in case the old behavior is still requested after the update of the runtime. SUBJECT: DG ICOBOL file status change for READ when undefined recordChange Number: ECN-4330Type of Change: CorrectionIncidents: 2806405RPI Number: 1097532 Date: 2014-12-15Product: ACUCOBOL-GTModule: runtimeNew Version: 10.0.0 DESCRIPTION of problem or enhancement: After a failed START, leaving the file position undefined, a READ operation returned DG file status 10 rather
I have a few hundred RM files that consist of various fields (comp, signed strings, etc) I'd like to convert the files to MF format and remove all the comp fields (space is not really a concern anymore) I had a look at the utility which made all my files inaccessible. I can view the files with the Classic File Data tool but when I try to access them through a program, I get error 36 and when I run recover1 I get "corrupt KiB". If I have to write programs to convert from Rm to MF format that's fine but I'd like to hear opinions or alternative solutions to this. Thanks
moving space to a numeric field will initialize it with zeroes (compiler message: COBCH1026E Source literal is non-numeric - substituting zero). A numeric test is succesfull (which causes consequential error). Is there a directive to avoid this - I didn't find any. thanks in advance Harald
We are using WINPRINT-PRINT-BITMAP to send a image to the printer and print over the image Hies there a way to send a pdf file to the printer and then print on hit?
I am looking for a report generator that is able to print graphics and distribute it to several clients like acubench
I'm getting a txt file but it comes in UTF8, and the accents are not being handled correctly Information comes Rua Antônio José Marques But when I put it on Form it comes RUA ANTôNIO JOSé MARQUES How can I convert to Windows 1252 ----------------------- Is it possible with this code? Encoding iso = Encoding.GetEncoding("ISO-8859-1"); Encoding utf8 = Encoding.UTF8; byte[] utfBytes = utf8.GetBytes(Message); byte[] isoBytes = Encoding.Convert(utf8, iso, utfBytes); string msg = iso.GetString(isoBytes);-------------------- Estou recebendo um arquivo txt mas vem em UTF8, e os acentos não estão sendo tratados corretamente A Informação vem Rua Antônio José Marques Mas quando coloco no Form vem RUA ANTôNIO JOSé MARQUES Como posso converter para Windows 1252
Hi , Please help on passing value from C# to Cobol using Class Type project. I have for example a declaration : 01 tmp-rec-date. 05 date-mm pic x(2). 05 date-dd pic x(2). 05 date-yy pic x(4). How can I pass string / structured value from C# to Cobol using that declaration in Cobol. I'm getting "String cannot be converted to Microfocus.COBOL.Program.Reference". What will be the correct type declaration in C#? Please help. Regards, jhayvi
We use the 32-bit Chilkat ActiveX controls (http://www.chilkatsoft.com) for several functions in the 32-bit Windows runtime (currently on 9.2.2 ECN-4266). One is doing file transfers (FTP, FTPS, and SFTP). We have been using the FTP portion for a few years. We have a new vendor that is using SFTP. I can use the Chilkat control to successfully Connect, AuthenticatePw, and InitializeSftp. After these steps for SFTP, I have to open a handle for the file on the remote server, then upload the file using the handle created by the open command. I'm not getting the handle from the open to use for the upload. From the VB example (https://www.example-code.com/vb/sftp_uploadFile.asp):Dim handle As Stringhandle = sftp.OpenFile("hamlet.xml","writeOnly","createTruncate") From the control's .def file:*[Class: @IChilkatSFtp] OpenFile METHOD, 176, @OpenFile, "BSTR" @remoteFilePath, TYPE 8,  
Hi, Anybody here have MSSOAP code integration example with more than 1 input? I work with NetExpress 3.1.
Hi!I'm sorry for my primary English. I'm running tests with multiThread. In one of the threads, I have integration with DialogSystem. An error is occurring when executing the following line: CALL dialog-system USING Ds-Control-Block, Data-Block Error Displayed: Exception 24 not trapped; The class nilobject (object reference: 00000003) Does not understand: getpanels2compatibility Hit T to terminate program. Hit any other key to continue. Exception 24 not trapped; The class nilobject (object reference: 00000003) Does not understand: iscreated Hit T to terminate program. Hit any other key to continue. &
I am working on a COBOL web site using Net Express 5 and Solo. For my images I want to use a web share directory "images". Solo by default has shares for cgi-bin and COBOL and has a comment "To share files, just start Windows Explorer and right click on the directory you want to share, then select "Properties" and the "Web Share" tab." This worked for Windows XP, as Explorer gave the option to create web shares. Under Windows 7 the only way I know to create web shares is via IIS - but there is no site for Solo, so I cannot create a web share or virtual directory. Solo works happily without IIS on a test machine.
I am trying Visual Cobol 2.3 after using Netexpress the first source I try to compile gets the error COBCH1505 I-O error _ IDY file this does not happen in Netexpress. I am missing a setting or something? The online documentation for the error slighty lacks a fix. All help gratefully acccepted.
Problem: The ACUCOBOL-GT runtime may show a constant increase of occupied memory, regardless of the version in use. This may be seen easily in the ACU debugger and using the "u" command. Resolution: If only the "Windows" Memory item increases, a possible cause for this unusual memory allocation is the definition of a Layout Manager handle in the Working-Storage Section of the program. When a called program contains a line like this: 77 NW-HND-LM HANDLE OF LAYOUT-MANAGER LM-RESIZE. an amount of 36 bytes circa of memory is allocated every time the program is called. This can cause a great increase of used memory when the program is called recursively in a loop, even if the Layout Manager is not used by the program itself. To stop this process, either remove the definition of the unused handle or destroy the handle itself before leaving the program: DESTROY NW-HND-LM If the allocated memory will continue to grow without reason, contact the Customer Care for a further analysis of
Problem Is it possible to use Internet Protocol version 6 (IPv6) with AcuConnect Thin Client? Resolution Yes, this is possible starting with ACUCOBOL-GT version 10.0.0. These are the requirements to set on the Server side: - configure the Firewall to allow the dialogue between machines with IPv6- install AcuConnect Thin Client 10.x.x- turn on the variable AGS_USE_IPV6 in the configuration file for AcuRCL (acurcl.cfg)- start AcuRCL - verify the IPv6 address of the server, for example using the DOS tool "ipconfig"The output should be something like: Ethernet adapter XYZ: Connection-specific DNS Suffix . : domain-name Link-local IPv6 Address . . . . . : fe80::30e8:2ad5:8a5:c2ef IPv4 Address. . . . . . . . . . . : 10.120.73.162 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 10.120.73.254 On the Client side:- set AGS_USE_IPV6=1 on each client machine that will connect to the serverThis variable can be set either in the user/system environment
I am trying to download the Personal Edition for Eclipse on Windows 7. The download page gave me the choice of Visual Studio or Eclipse, but the file downloaded was vsvc2015_23.exe. The Eclipse tab appears to have the Visual Studio product on it ?
Hi, please is possible to have SQL statement in PIC N variable? I need this because in WHERE condition I have variable with Chinese characters, and I am worried, if I try to convert it, I will loose these chars. Because computer on this program runs have English locale. Is there any solution for such a case? Thanks.#COBOL#SQL#unicode
I am attempting to download visual COBOL PE. I am taking a COBOL programming class for college. I have attempted to re-register, a few times, and i have yet to receive a download email. Could anyone here point me in the right direction?#COBOL#VisualStudio#download
F11 - Step, stop working. Receiving Catastrophic Failure message. F5 works, but looks like all other step features are not. I get the error whether or not I use F11 key or the button in Visual COBOL. Tried deleting .idy file, restarting...Failure continues. On a related note, Only on VC, do I have to press the fn key to get the F keys to work. Outside of that, they are enabled (verified bios). #failure#catastrophic#StepOver#VisualCOBOL#VisualStudio#F11
Hi, I'm seeing some odd behavior with C$OPENSAVEBOX and extend 10.1.0 on Windows 7. When I try to open a file using several different file types in opnsav-filters, the first file type displays (sort of), but the rest either don't appear at all or are filled with garbage characters. I've tested the same code under 9.2.5 as well, and it works fine. The filter I'm using is "Text files (*.txt)|*.txt|Cobol sources (*.cob)|*.cob|All files (*.*)|*.*" Under extend 9.2.5 it looks like this: Under 10.1.0 it looks like this (it varies): Is this a known issue? Is there something we need to do differently with C$OPENSAVEBOX under extend 10.1.0? Thanks Claire#opnsav-filters#extend10.1.0#COPENSAVEBOX#Windows7
Hi, I am trying to verify a Unisys COBOL-85 code using COBOL Analyzer and trying to resolve all below errors. Kindly suggest. > As tool displays only 3 dialect under "Cobol dialect" dropdown so how to select the dialect "Unisys MCP COBOL-74, Unisys MCP COBOL-85" for my code? Choose Options > Workspace Options. The Workspace Options window opens. Click the Verification tab, then the Legacy Dialects tab. In the Source Type pane, select the source file type whose dialect you want to specify, then select the dialect in the dialect pane. Set verification options for the dialect. The table below shows the available options. > Which compiler to use for "Unisys COBOL-85" code from Microfocus Compiler compatibility level? There are 11 to 17 levels so which one would best suit with "Unisys COBOL-85" code? >Please suggest how to resolve below errors: "Special Name clause error"&n
Here is a snippet of the code, I can open the .dll, however when I try to run the ShellExecuteA is where I get the error, I found this string in the API Guide: Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Here is what is in the wb-1-url initialize wb-1-url.SSRS MOVE "168.93.99.58/.../ReportViewer.aspSSRS - "x?/TEST REPORTS/TEST&rs:Command=Render&VendorNumberSSRS - "Start=001100&VendorNumberEnd=00UY7&rc:Parameters=CollapSSRS - "sed"SSRS &nb
In Rm cobol there was an option on the accept to wait for a termination key. In MF cobol there doesn't seem to be that option. Would anyone know if this is supposed to be enabled by default. I get mixed results. sometime a program will wait, other times when the value that is accepting the input gets filled it will automatically jump to the next statement.
Hi, Is there a way to test whether a floating window is minimized or maximized ? Thanks in advance.#ACUCOBOL8.1
I am trying to parse an XML file. I tried to follow the documentation on AcuXML, the XML2FD sets the file to binary sequential I made the changes to cobol config but when i read the file its not looking at the tags its looking like just a sequential stream of data. I am going to look at RMnet and XML Parse next. Any opinions on which is best for XML parsing and any help with AcuXML would be appreciated. Thanks in advance
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.