Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi All, Im trying to print a file I've already created call c:\\tmp\\NeilTest.prn directly to a printer using Visual Cobol, is there a clever .NET way of doing this? I found below but not sure if this is the best way or if it would work in VC? http://stackoverflow.com/questions/4435644/how-to-print-batch-file-in-vb-net Many thanks Neil.
Is the local-storage section a "best practice" place to define all of your method variables? For example: method-id Encrypt. local-storage section. 01 clearBytes binary-char unsigned occurs any. 01 pdb type Rfc2898DeriveBytes. 01 nb binary-char unsigned occurs 13. 01 ms type MemoryStream value new MemoryStream. 01 cs type CryptoStream. 01 num binary-short. 01 str type StringBuilder value new StringBuilder.
Why does the exception handling var myex always reference "object reference not set to an instance of object" Catch myex as type Exception set str = str::Append("Source " & myex::Source) set str = str::Append("Number " & myex::StackTrace) set str = str::Append("Line Number " & myex::TargetSite) set str = str::Append("Data Exception " & myex::GetType::ToString) invoke type Debug::WriteLine(str)
Hi I have a debugbreak in code, and when I opt to invoke the debugger, Net Express hangs and crashes out. Any help will be appreciated.
HI, Netexpress dialogs supports controls autosize (adjust to the dialogs size) when dialogs are extended/dragged/maximized. Is there any such facility available in Visual cobol winforms?#winforms
net express is crashing getting Error C0000005 Access Violation C:\\Program Files Micro Focus Net Express 5.1\\Base\\Bin\\cbldbg.dll can somebody help
Using multiple monitors MF have provided a patch for run time 10.0.1 (4431) to get this work properly, you can start the parent window in monitor 1 and shift it to monitor 2 or 3 etc, and the child windows will populate in those monitors as long as the Display floating window has and absolute line and column or screen line screen column control, line or column added. Our applications do not use these controls, when the child is opened it is centered on the parent window. so when we would move the parent window to a 2nd or 3rd monitor our child windows would always open in Monitor 1. We have 1500 screen programs and this would have been a huge maintenance nightmare, so I reported this to Micro Focus they sent me a new patch for this (4433). Now all is well wherever you move the Parent window all child windows appear with the Parent window. Another request from our customers is to have the last location remembered so when the Parent window is launched the next time it w
Hello, I'm tryin to use the following statement in one of my managed Cobols: EXEC ADO GET CONNECTION INTO :MyConnection END-EXEC. How should I declare the MyConnection field in my Cobol program. I tried this: 01 MyConnection TYPE System.Data.SqlClient.SqlConnection. But I get the following compiler error: Error 1 COBES0100 : Incorrect SQL statement syntax near: xxxxx Any ideas?
Trying to find out if the analyzer will do me any good with ACUCOBOL. I know Guy said the short answer is Yes but wondering what that means.#cobolanalyzer
Do Conditional Breakpoints work in managed COBOL? I set a breakpoint on a line of code, right-click the red ball icon an select "Condition...", and enter the desired condition (using the same syntax as I used in Net Express): SEL-ERATE='EMN2 '. Execution just blows right past the Conditional Breakpoint. When I set a Regular Breakpoint at the next line of code and execute, examining the value of SEL-ERATE at each stop on the Regular Breakpoint and then clicking "Continue", I eventually get to where SEL-ERATE is "EMN2 ". BUT the Conditional Breakpoint on the immediately preceding line of code didn't catch it! What am I missing here?
Does "Show OCCURS or reference modification value" work in managed COBOL? I have it set (checked) in Debug>Options and settings..., Debugging>Micro Focus COBOL, under Tooltip style. And yet while debugging a managed COBOL class and stopped at a breakpoint, hovering over a reference modified alphanumeric variable displays the entire value vice just the referenced portion; i.e., hovering over SEL-ERATE (1:3) displays "EMN2 " instead of "EMN". And more troubling is hovering over a subscripted variable displays the value of the first element regardless of the value of the subscript: i.e., hovering over LST-UIC (X) where X has the value 13 displays the value in LST-UIC (1) vice the expected value in LST-UIC (13). Clicking the triangle icon at the left end of the Tooltip does display a scrollable list for the LST-UIC array, but this is clunky when the array is hundreds of elements long. What have I missed in trying to get the Tooltip to exhibit the de
Problem: Installing Visual COBOL 2.3 Update 2 for Visual Studio 2012 fails with Error 0x80048bc7 on Windows 10, and the installation log also reports Error 0x80070002 in the following entries: e000: Error 0x80070002: Failed to find payload: visualcobolvisualstudio2012_232x86 in working path: C:\\Users\\********\\AppData\\Local\\Temp\\{f11aaffb-b9a5-4799-96a7-a30788065141}\\visualcobolvisualstudio2012_232x86 and unverified path: C:\\ProgramData\\Package Cache\\.unverified\\visualcobolvisualstudio2012_232x86e000: Error 0x80070002: Failed to cache payload: visualcobolvisualstudio2012_232x86e314: Failed to cache payload: visualcobolvisualstudio2012_232x86 from working path: C:\\Users\\********\\AppData\\Local\\Temp\\{f11aaffb-b9a5-4799-96a7-a30788065141}\\visualcobolvisualstudio2012_232x86, error: 0x80070002.e349: Application requested retry of payload: visualcobolvisualstudio2012_232x86, encountered error: 0x80070002. Retrying...e000: Error 0x80048bc7: Process returned error: 0x80048
While stepping through execution (debugging) COBOL code in Net Express 5.1, you could hover over an internal file name wherever it appeared in the code and get the File Status for the last IO operation on that file. Short of explicitly declaring a File Status item in a file's SELECT clause and scrolling up the program source to where the File Status item is defined in Working Storage and using Tooltip to read the value, is there anything like the Net Express feature in Visual COBOL?
Hi, Recently we have migrated from netexpress dialogs to visual cobol dialogs. Our application was setup based on network share mode(as per instructions from Micro Focus) so that users from client work station can ping the application hosted in the windows 2012 server. Now we are trying to convert dialogs to winforms. I have deployed winform executables to the server and it works good in the server but the application crashes when i try to ping from work station. I am assuming that the same application setup should work for winform as well. Is there anything i need to take care of ? --------------------------------- ERROR : Version=1EventType=APPCRASHEventTime=131274350239260298ReportType=2Consent=1ReportIdentifier=b3c704dd-cd46-11e6-9e4e-40a8f04619b3IntegratorReportIdentifier=b3c704dc-cd46-11e6-9e4e-40a8f04619b3Response.type=4Sig[0].Name=Application NameSig[0].Value=WI100.exeSig[1].Name=Application VersionSig[1].Value=0.0.0.0Sig[2].Name=Application TimestampSig[2].Value=58643056Sig[3]
Hi I am trying to perform an Unstring on a response received(String). Following is the code which i am using 01 numeric-test-var PIC 9(1) . 01 input-String1 PIC x(9) value spaces . 01 String2 PIC x(6) value spaces . Para1. move 'ABCDEF! !' to input-String1. Unstring input-String1 delimited by '!' into String2 numeric-test-var. display numeric-test-var. When the above code executed i am getting the following value in "numeric-test-var" ' '. I am getting space in numeric variable. Which is different. Also if i change the defination of "numeric-test-var" from PIC 9(1) to PIC 9(5) and perform the same code as above and display the value of "numeric-test-var" then the response will be '0000 '. The last digit in numeric field is spaces now. Please let me know if you can provide what i need to do to correct it? Also this is not happening in Net Express 5.1. Than
Hi, Recently i have noticed a issue with debug option in VC 2.3. I am able to debug code line by line in winform (code behind) but visual studio just skips the debug pointer to next statement during call to unmanaged cobol program. Unmanaged code was executed just that visual studio do not debug line by line. This happened after i have upgraded Visual cobol 2.2 to 2.3 update 2. VC 2.2 use to debug called programs as well, i mean line by line execution. I have verified my debug setting and everything looks good.#VisualCOBOL
Hi, in our company we are testing conversion our Net Express project to Visual Cobol. We success in project conversion, we can compile our programs, produce .gnt and .idy file. But when I try to run it (we are developing module for Infor SunSystem) program crashes, I think we don't have our new Visual Cobol project setup correctly. In Net Express 5.1 we have this project directives: %FILENAME COBIDY(%TARGETDIR) WB3 WB CSI ANIM EDITOR(MF2) ENSUITE(3) SQL(DBMAN=ODBC) SQL(NOAUTOCOMMIT) SQL(NOCHECK) SQL(NOINIT) SPZERO; And we have info from Infor that we need to use wrap pack 10. Is there even possibility to setup Visual Cobol in this way? We are using it thru Visual Studio 2015 Thanks.#netexpress#VisualCOBOL
I do not like the standard Micro Focus template for ASP.net as it contains stuff that I don't want and can't seem to get rid of. Is there a standard basic clear template that I can use instead?
I can't seem to find any concrete answers on this. Can I print in RAW mode and send PCL in RM COBOL (Microfocus) ?
We recently held a product launch webinar for COBOL Analyzer – a new and complementary offering to the Micro Focus COBOL portfolio. The webinar was heavily attended and lots of good questions were submitted. We’ve compiled that list of questions below along with the answers from our subject matter experts. For more information on COBOL Analyzer and to watch the product launch video, visit: microfocus.com/cobolanalyzer Webinar Questions: 1. I already use Enterprise Analyzer (EA). Is this the same product?Micro Focus Answer: COBOL Analyzer and Enterprise Analyzer are related, but different products. Enterprise Analyzer is designed for Mainframe COBOL applications, where COBOL Analyzer is designed for distributed COBOL applications. COBOL Analyzer offers a simpler setup and installation process, so for distributed COBOL shops, it’s the right tool. 2. What level of support is there for other COBOL dialects, specifically ACUCOBOL?Micro Focus Answer: The level of support for ACUCOBOL-GT appl
I can't get PuTTY to use the function keys in Linux. I'm sure it's something simple, but I'm missing something. Any help would be appreciated!
Hi, please yesterday I registered for trial licence of Visual Cobol. Message on final page said, that within 15 minutes email with download link arrive, but nothing happens. What should I do? Is there possibility, that our company spam filter block this message? Should I try registration with another email? Some public, gmail, or such? Thanks.#Trial#VisualCOBOL
Hi there, I am a student and I'm trying to activate the Visual COBOL PE for Eclipse (Windows) software and i cannot seem to activate it. I have registered my email and received the download link. I installed the software with no problems. When i open the software i get the "activate product" dialog box. I have selected the free license and tried the automatic activation. This works and i get a "Success" message. after i close the message i get an error stating: "The license was applied, however is does not seem to be correct for the installed product." after this i cannot get to the COBOL perspective in eclipse. I then tried the manual email activation. I sent the email and received the activation email in return. i copied and pasted this into the correct box and clicked activate. Again, I get the success dialog box then the same error. i have reinstalled the software about four times now. I have called the customer care line and they walked me through
In our environment, we have two separate folders for copybooks. We are trying to specify these two copybook paths in the MsBuild .RSP file with some variation of the following statement: /p:MFDependencyPaths=L:\\URISYS\\COMPCOPY The above only shows one of the paths. When we try this (folder paths separarted by a semi-colon): /p:MFDependencyPaths=L:\\URISYS\\COMPCOPY; L:\\URISYS\\STATECPY or when we try this (two statements): /p:MFDependencyPaths=L:\\URISYS\\COMPCOPY; L:\\URISYS\\STATECPY /p:MFDependencyPaths=L:\\URISYS\\STATECPY ... we get various errors. How do you specify multiple copybook paths in the .RSP file for MsBuild ??? Thanks
Hi, How can I get the MF Dialog push-button object-reference so that i can disable the button from a Visual COBOL program? e.g. in the program: INVOKE my-button-objref "disable" Dialog lets me define objref fields in the datablock but only has functions, MOVE-OBJECT-ID and MOVE-OBJECT-HANDLE which are different things? The invoke disable itself works - i tested it by changing the code in a listview prog where it sets focus to the next object in a callback after tab key is pressed. I changed 'setFocus' to 'disable' and it worked fine. Thanks, Linden
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.