Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
There are 2 new Visual COBOL for Eclipse videos available on YouTube, related to creating Web Services from new or existing COBOL programs. The first demonstrates how to create a SOAP Web Service, and the second does the same for a RESTful Web Service. These have been added to the Micro Focus Support and Training channel on YouTube. Here are direct links to the new videos : Using Visual COBOL for Eclipse to Create SOAP Web Services Using Visual COBOL for Eclipse to Create REST Web Services#VisualCOBOL#REST#Eclipse#SOAP#webservice
Hi when i build my source code (in attach) then build was failed: COBCH0002S error at line 281: i think my code is right My flow code: read data file ORDERS.dat then insert all records into ORDERS table read records in ORDERS table, check record if error then write that record to ORDER_ERROR.dat My ORDERS table structure: DATABASE.txt I also attached ORDERS.dat and project source code. Thanks for your support.
I am trying to do math in my sql commands and would like to always get back 2 decimal place results that are rounded. In regular SQL I can do a cast(a * b, as money) and that will give me what I need. I have tried using convert(a * b, sql_decimal) but this will always return the number of decimal places based on the result of what a * b is. How can I force rounded 2 decimal places? I have tried to use sql_float but to no avail. #relativityrounding
Dear Chris, Do you have Idea about this error ...?? bind 34: dty=96 mxl=255(255) mal=00 scl=00 pre=00 oacflg=00 oacfl2=1 size=0 offset=792 bfp=1103c0690 bln=255 avl=255 flg=01 value="ORA-20000: (M)NO EXISTE USUARIO DISPONIBLE PARA ESTE CANAL(C)20509 " BINDS #5:
Hi, I've Netexpress VER 5.105.0076 installed on Pc running Windows XP service pack 3. I'm planning to: Upgrade Windows XP to Windows 7. Upgrade Netexpress ver 5.105.0076 to 5.1 ver 5.108.0030 I need to RETAIN Netexpress ver 5.0 from my pc to keep the license, but to upgrade from Windows XP to Windows 7 cannot be done according to Microsoft rules. Therefore I have 2 methods to do that: Method 1 : Using Windows Easy Transfer for XP to transfer settings and others from Windows XP to Windows 7 Install New Fresh Windows 7 ((formatting the HDD)) Use Windows7 Easy Transfer to get that settings and others, here Netexpress 5.0 license should be within these settings !!?? Method 2 : Upgrade from Windows XP to Vista Upgrade from Windows Vista to Windows 7 Then I will install the following: NXP325.106.0079.exe ((Wrappack 6)): the complete installation NXP325.107.0047.msp ((Wrappack 7)): to update the previous in
Hi , What are the compiler directives to create a .dll for the single program ? ( My code is a managed code , also unlike Native code we donot have option to create multiple executable in Managed code ) I could set gnt and int from Tools-->Opions-->Micro Focus-->Directives-->Single file compile. Also How do i set this from Visual Cobol Command prompt if i have to do a Bulk Compilation of programs. Regards, Zoeb
In Visual Studio 2013, Visual COBOL 2.2. ... When you have Managed WinForms Program A invoking Managed WinForms Program B, and both are in variable source format as shown by the VS editor when editing each individually... and you are running in Debugging mode... when A invokes B and you are transitioned over to B... it appears in the old fixed Source format, with the right margin area greyed out... Thanks.
We are having a problem that I would like to hear if one of you have a solution for . We are running thin client, 9.2.1 and we have a Menu system which starts threads of subprograms. When these subprograms reads a record which is locked we normally call C$sleep and read again after a few ticks. But unfortunately this behavior makes the focus of the window change to another subprogram. These is of course done because windows concludes that the subprogram with the sleep does not need ressources right now, and it would be a good idea to bring anoher program in focus. We have stopped using the c$sleep and calls a while loop, and it is functioning very well, but unfortunately this behavior uses a lot of CPU etc. Do you see any other possibilities ? (we have also tried accept upon time, but this brings the program in focus, also if the user has switched the program in background)
The following code generated the CRLF and FFLF correctly as 2 bytes. However the TAB also generated 2 bytes with the first byte being set to <null>... Question is how do I generate a single byte using the technique below or is there another way ? 78 CRLF value x"0D0A". 78 FFLF value x"0C0A". 78 TAB value x"09". Thanks Allen
Is there a way to set specific tabs is Visual Cobol? Such as at 7, 8, 12, and 72. Under Tools/Options/Text editor/Micro focus cobol, the tabs button does not seem to give choices like that.
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
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.