Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi All , Does Unit Test Framework only works for Native Cobol codes ? I tried using mfurun for Managed COBOL codes but i am unable to execute the scripts. What are the other limitations ? Can i used on Character based screens ?
Hello, I have a datagrid with a sub-datagrid where the data of the sub-datagrid are displayed when I click on one of the main lines datagrid (Figure 1).When I change (for example) the type of document to consult, the application has to re-record the data from datagrid and sub-datagrid.Then gives the error "NullReferenceException was unhandled". I'm using the same instructions I use with a simple datagrid and can not correct the error. Again I ask your help. Figure 1 Figure 2 Best Regards Alberto Ferraz
Hello: I have an event in datagrid (method-id dgridRubricas_MouseDoubleClick) that works perfectly when I click with the mouse in a cell. It turns out that when I click the mouse on the scroll bar to move down to the remaining data visualization, and make very fast, is considered a MouseDoubleClick and gives the following error "Null Reference Exception was unhandled". What is the solucção to prevent this situation? Best Regards Albeto Ferraz
Attached you will find parts of a bench project from version 9.2.3 (could not load all for file size issue .acu and AcuBenchPrint.dll were removed from Object folder) that is my attempt to get the RMNet Tutorial stuff that floats around the forum running. I have been successful in getting it to do all but show the results on the screen. Can someone that is familiar with reading XML data with AcuCobol please check out the code and see what I am doing wrong. You will notice in the project I had started with the logic in the sample program (XML IMPORT TEXT) but could not get that to work so I commented it out and moved on to try my luck with C$XML stuff. I do appreciate anyone that can help me as this will be a big win for our company to get this type of API logic up and running. Thanks
I copied a solution with a .Net WPF project from one system to another. Now I get the following errors on the receiving system: COBCH0002 : Undefined ECM error. Inform Technical Support. Error code 12. COBCH0038 : Paragraph or phrase repeated illegally The errors points to the ‘getter’ keyword within several properties. property-id KalkNr binary-long. getter. set property-value to W-KalkNr setter. set W-KalkNr to property-value invoke self::NotifyPropertyChanged("KalkNr") end property. Both systems will have Visual Cobol 2.3 Update 1 installed, the first system with Visual Studio 2013 and the receiving one with Visual Studio 2012. I’m waiting for an answer from Micro Focus Technical Support. Regards Werner Lanter
Hi, Getting errors during compile time. The same code worked in Net Express 5.1 but having issues in Visual Cobol 2.3 Error 6 COBCH0302 : IF....ELSE or scope-delimiter mismatch COBES0112 : S-QNM-QUEUE-CODE-DB should not be defined with an OCCURS clause Anyone encountered similar issues? Thank for your help Ramesh
my work environment : Solaris 9 Server Express 5.0 my question is how to redirect the SYSOUT of mfsort to a fileI am confused if I change or enable OUTDD on Solaris 9 (UNIX pseudo)and where I should change it. tanks#cobolserverexpress
Hello, I have a managed WinForms app (Visual Studio 2013, Visual COBOL 2.2) with a TextBox (Multline = True and AcceptsReturn = True) and it is sized to allow entry of multiple lines of text, which may be entered using the Enter key. I also have the same app except it is done in C#. As you know, using the Enter key will cause a Carriage Return Line Feed (hex oa0d aka \\r\\n) pair of characters (non-printable) to be embedded into textBox1::Text wherever the user has entered the Enter key, and this causes any following text to be visually put at the beginning of the next visual line, etc. You CAN'T see these embedded non-printable characters with a watch on textBox1::Text in the debugger (although you can with C#, what a bummer!). In any event, I then take the contents of textBox1::Text to a string and pass that string to a third-party app (MS Word, in fact). When I get the string back from Word, it has been stripped of the Line F
I have made 2 console projects in Visual Studio 2012. One project is unmanaged, the other one is managed. In both projects I have basically the same program that writes a lot of lines to a line sequential file. I notice a big difference in performance. In the unmanaged project the program is alomst twice as fast. It looks as if in the unmanaged project buffering of the i/o is taking place, while in the managed environment the buffering is missing. Can anybody tell me what the cause is of the difference in performance? And, is there a way to improve the performance of the managed program?
In Version 2.2 Dialog System can not open GUI when activeX component is included! is this also in VC 2.3? thanks for help
Is there a simple way with NETEXPRESS 5.1 (CALL, Function, or MOVE) to send info from a text based program to the Clipboard - memory? Of course there is the possibility to use right button, Edit, mark, enter, but I am looking for a simpler procedure, where all accepted data is copied to the clipboard. It is then up to the user to paste or not this info.in an other program. thanks for any help#clipboard
Hi All, I want to select the contents of console screen , like how we do on cmd prompt i am unable to select all the contents. Only first few lines of the screen are selected. I have attached the screen image on how i want to select the screen data
Hello, We are executing a COBOL program calling a stored procedure in an Oracle database. We are having a problem with the elapsed time of the stored procedure call. From the perspective of the database (as shown in the AWR report), all calls to the stored procedure have an elapsed time of 0.01 sec or less. From the perspective of the COBOL program, almost all calls to the stored procedure have an elapsed time of .01 sec or less. In a sample program run, 367 out of 16291 calls had a run time of 2.0 sec or greater. We need to trace why this occurs, and are looking for recommendations on how to trace/investigate the issue. Our environment is MicroFocus COBOL on Linux. Thanks.
I am trying to set my printer to laser paper. The paper format is 005. Brother HL-6180DW series Printer Paper formats (001) - Letter 8 1/2 x 11 in (005) - Legal 8 1/2 x 14 in (007) - Executive 7 1/4 x 10 1/2 in I just do not know how to set it.
Hi , On Unix system we could do a mass compilation using shell scripting . Getting the Program names from a single location and passing them to the cob command for compilation. How do i implement that in Visual COBOL Powershell Environment . How do i compile my various Projects under D:\\Visual Studio 2013\\Projects i one go. In Unix i could get my program name dynamically from a particular directory as source pgms are at one location, but using MSBUILD i need to go inside the Project folder containing the .cblproj for each project Thanks, Zoeb
Problem: The documentation for the "extend Interoperability Suite" includes references to a sample program named paperinfo.cbl, which obtains paper and tray information from the system's printers. Unfortunately this sample is no longer included in the installation. Resolution: Here is the complete PaperInfo.cbl program: IDENTIFICATION DIVISION. PROGRAM-ID. PaperInfo. ENVIRONMENT DIVISION. CONFIGURATION SECTION. SPECIAL-NAMES. FILE-CONTROL. SELECT EnumPrinter ASSIGN TO "Printerlist.txt" ORGANIZATION IS LINE SEQUENTIAL. FILE SECTION. FD EnumPrinter. 01 EprintRec PIC X(100). WORKING-STORAGE SECTION. 77 CALL-RESULT SIGNED-INT VALUE 0. 77 TmpStr PIC X(15). 77 WS-HA pic 9(03). 77 WS-HB
who has experience with Cobol and SAP? Since 9 month i learn to program in SAP Abap and i am enjoy for the possibilities in ABAP. ABAP is near Cobol, that was the begin and over many years ABAP have take a many possibilities from other languages. Open Source SQL is integrated, OO ABAP is possible, DYNPRO for graphicals Screens are integrated with many Icons, Webdynpro for Internet programming, etc.... ABAP-Workbench is a very good tool, but the generated code is an Interpreter! This may be a good way to integrate all possibilities in Visual Cobol for a glory future of Cobol Applications! Who want discussions about this theme?
We are planning to convert character based screens into WInforms. Looking for a document ,examples .Went thru this blog but not able to find. If any pointers would help us over here Thanks Karthik#COBOLVISUALCOBOLMIGRATION
Hi guys,Already available in the online bookstore AgBook here, my Visual Cobol .NET book with print option in black and white, in colors or PDF. With more than 50 examples projects distributed in more of 320 A4 pages with pictures and commented texts.I hope that this book can really contribute to enlarge the knowledge of those who are starting in Visual Cobol and like to build desktop applications.Regards,
hello,, I'm using the bellow routine it's working fine, move spaces to RU-Command-Line. string "vuescan.exe" delimited by size into RU-Command-Line end-string. move length of RU-Command-Line to RU-Command-Line-Len. move 0 to RU-Stack-Size. move 0 to RU-Flags. call "CBL_EXEC_RUN_UNIT" using by reference RU-Command-Line by value RU-Command-Line-Len by reference RU-ID by value RU-Stack-Size by value RU-Flags returning RU-Status-Code end-call.*My qustion and needs :how can I get data from the called program "vuescan.exe", like the file-name and the path were that file have been saved,, and pass it to the calling program. Regards
I have any VISION file with 2411 defined fields. This definition is this: FD SWHF LABEL RECORD OMITTED DATA RECORD SWHR.01 SWHR. 02 SWH-TA.03 SWH-KY.04 SWH-NRKYFA PIC 9(4).04 SWH-XXKY PIC 9(9).03 SWH-TAKURZ.04 SWH-XXKURZ PIC X(3) OCCURS 200. 03 SWH-TANAME.04 SWH-XXNAME PIC X(25) OCCURS 200.03 SWH-TAKURS.04 SWH-PRKURS PIC 9(5)V9(6) OCCURS 200.04 SWH-KZRUND PIC 9 OCCURS 200.04 SWH-BEKURS PIC 9(5) OCCURS 200.03 SWH-TAKD.04 SWH-KDKDKDIF PIC X(9) OCCURS 200.04 SWH-KDKDSKOA PIC X(9) OCCURS 200.04 SWH-KDKDSKDE PIC X(9) OCCURS 200.04 SWH-KDWSFORD PIC X(9) OCCURS 200.04 SWH-KDWSVERB PIC X(9) OCCURS 200.03 SWH-DM PIC 9(6).03 SWH-TATEILN. 04 SWH-KZTEILN PIC X OCCURS 200.03 SWH-XXKURZ0 PIC X(3).03 SWH-XXNAME0 PIC X(25).03 SWH-PRKURS0 PIC 9(5)V9(6).03 SWH-KZRUND0 PIC 9.03 SWH-KZTEILN0 PIC X.03 SWH-TADIRUM. 04 SWH-KZDIRUM PIC X OCCURS 200.03 SWH-KDKDIF0 PIC X(9).03 SWH-XXLEER PIC X(6031).02 SWH-TAR REDEFINES SWH-TA PIC X(24500). Because of this record structure you will get 2411 fields defined. Th
Hi all, We have a program with the standrad web browser control on its screen. In value property we have: c:\\mydir\\αβγ The last three characters are the three beginning characters of the greek alphabet. When we run the program, sometimes crashes, sometimes runs ok (...) We have no problem when path has only english characters. Our version is 10.0.1 on Windows 10. Same program runs ok with version 8.1.0 regardless the characters contained in value property. Thank you
Is anyone using the ActiveX controls from Component One (Grape City)?
After searching a Long time for a grid with Excel functionality, i have found a activex tool "mstgrid.ocx" from the Website: http://www.mysofttool.com/ With the activex-Assistant i was able to convert any codes in Cobol and i am enjoy from this functions. But by any code, i have Problems to convert! Who can help to convert Visual Basic or C#-Code? Are there better Tools that integrated in MF-Visual Cobol? A ocx-Viewer? Here a example of code in VB and C#? Here the code in C# private void Form1_Load(object sender, EventArgs e) { grdView1.NewFile(11, 6); grdView1.AutoRedraw = false; grdView1.ThemeStyle = MstGrid.ThemeStyle.Light3D; grdView1.ShowHeaderAutoText = MstGrid.HeaderAutoText.Both; grdView1.Row(2).Borders(MstGrid.CellBorders.Bottom).LineStyle = MstGrid.LineStyle.Thin; grdView1.Row(2).Borders(MstGrid.CellBorders.Bottom).Color = Color.Red; grdView1.Range(5, 2, 8, 4).Borders(MstGrid.CellBorders.Around).LineStyle = MstGrid.LineStyle.Thick; grdView1.Range(5, 2, 8,
Hello, everybody Using runtime 9.2.5, sometimes it appears error 30/00 after an inactivity period in the computer. We use network units to conect computer to a server. The O.S Server is Windows Server 2012 and the computer S.O. is Windows 10. The error does not happen in other computers with different O.S. I have verified opportunistick locking in the server and in computer. Server: HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters EnableOplocks = 0 W10 Computer: HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\MRxSmb\\Parameters OpLocksDusabled = 1 Any suggestion?? Thanks in advance, #ACUCOBOL9.2.4
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.