Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi, I need to code a drop down box in one of our menu screen. I have zero idea how to do that. Does any one have any sample program of material which I can refer?
Hi, I am trying to compile a program using ORGANIZATION IS XML. I am receiving the following (from the LST) but do not know why. Can anyone help? * Micro Focus Net Express V5.1 revision 000 11-Dec-15 12:20 Page 1* EP032CBL.cbl* Options: NOLIST NOASMLIST OMF(OBJ) GNT(.\\) OBJ(.\\)* DIRECTIVES(D:\\EPS_SYSTEMS\\BASE_RLSE_CSC\\wmaNEX\\ENV\\NETEXP.DIR) 1 $SET P(PREXML) WARN ENDP
Hello Chris, I am trying to create a structure FILE.DFS but the DataTools is not importing the structure of idy file generated in version vc.2.3. Simply does not show the layout of the record. With traditional DataTools generate the FILE.STR normally. What could be happening?
I am tasked with trying to find ways to improve performance of Visual COBOL application. The Visual Studio Instrumentation appears to match to symbols from COBOL code for some functions, but in many cases can not match source. I tried to VS Premium 2013 and VS Premium 2010 and get similar results to below. The "Summary" of instrumentation process will show long running Functions, but when selected it will display "Source code not available. You may not have the appropriate symbol paths or there was an error loading symbols.". I have double checked the symbols path. Is there any known issues with using VS Intrumentation? Any suggestion for determining which functions in our COBOL app are taking most of the time?
Dears, I've got the same errors on two of my computers. I need to use Cobol for school. When I try to build my program it gives me the following errors: "cannot open projectName.exe". please help me
Prelude Several examples of how to utilize COBOL in a Microsoft .NET environment have been circulating for a number of years. Some of these examples are quite dated and due to Framework enhancements, (2.0, 3.0, 4.0, 4.5 and now 4.6) the use of the namespaces as well as the syntax used to access them has changed significantly. Micro Focus recently released Visual COBOL 2.3, our flag-ship product for Visual Studio 2015. With a number of changes that have occurred in both .NET and Visual COBOL an update of all our previous articles is in order. So over the next couple of months we will be updating all of our previous articles to the latest versions and introducing new articles with new content. We hope you find these articles educational and valuable to you and a benefit to your organization. Overview Do you create applications for use in multiple locations and languages? This article will show you how to use the power of LOCALIZATION within Visual Studio .NET to create one screen and ha
To install vc2.3 it must remove vc2.2. but when I install version 2.3 of the system is corrupt and not initialize so is necessary restore the last válid version. Has anyone experienced this? Visual Cobol for Visual StudioSystem: Windows 7 Professional 32-bit
I am running AcuGT V9.2.3 on a Windows 7 PC and need a AcuGT program to download multiple data files from a US Treasury Dept website for processing. I wrote a sample program using WebClient .NET features to pull the files from the website, most of the time this program works just fine but other times it is failing with a Webclient error that reads: The remote server returned an error: (407) Proxy Authentication Required" and then the program simply crashes. What is odd is the random nature of this failure, I can run the program 10 times in a row and it will run just fine, then I can run it 5 times and it will fail with this error. Five minutes later I can run the program again and it runs just fine. The results appear to be completely random at this point. Couple questions: 1) Is there a better way to have my AcuGT program download files from a website or is Webclient the best approach? 2) If Webclient is the best approach is there a way to captu
The user has a SQL Server multi-subnet failover configuration and needs to connect via Acu4GL. Unfortunately, when A_MSSQL_DEFAULT_CONNECTION is set to the name of the listener for automatic mirroring, SQL Error 17 is returned and the application cannot connect to the DB. Has anyone successfully configured Acu4GL in such an environment?
Runtime Version 10.0.0: The listbox no more detects a dblclick Event (event-type 5). Any Idea?
Is it possible for me to redownload Visual Cobol Personal Edition for Visual Studios 2012? I got it a few days ago for my class, but I was having driver issues and went back from windows 10 to windows 8, now the page is no longer available when attempting to find it. I can find Visual Cobol for Visual Studios 2015,but nothing else.#PersonalEdition#2012#PE#VisualStudio#VisualCOBOL
Hi Has anybody some got any ideas how to get your Cobol application running on a tablet, iphone or android phone. As I hear there will be a HTML5 opportunity in version 10.1 but as 10.1 is not released before ultimo 2016 and am afraid that we have to do something else in the meantime, to satisfy the demand from our customers. Of course it would be nice to have the full application up and running, but another solution could also be to make a few programs available on that platform. We are normally running a thin client in a windows environment Best Regards Steen
Is there a way to simulate a mouse left button click in a program. So that I can act as if the mouse left button was clicked however no interaction from the user?
For displaying reports my acucobol programs call winword through the C$SYSTEM. ie, 05 winword-location pic x(60) value "c:\\progra~1\\micros~1\\root\\office15\\winword.exe " CALL "C$SYSTEM" USING winword-location report-name.txt giving exit-status Is there a better way for displaying reports instead of using command prompt to call Word? The program which calls Word maintains a hardcoded list of locations for WinWord.exe and if its not found, the program calls NotePad. Got two problems - 1) WinWord always moves location when new o/s comes out, so it'd be nice if there was an easy way that always worked for locating WinWord. 2) The latest version of Word is 64 bit and having problems calling it from 32bit environment. Thanks alot #reports#CSYSTEM#WinWord#CommandPrompt
Main window i created a window with resizable. I want to activate and desactivate resize on the main window !
Hello: I have two situations where I can not find a statement certain to change as in programming (WPF):-How to change a property of CharacterChasing in a TextBox for "Upper" or "Normal"-How to change a visibility property to "Hidden" or "Collapsed" in a TabItem Thanks
HI, I have a cobol program which returns me the array in a copybook when I pass that copy book to form and try to load that array in datagridview the value is getting changed. e.g The Copy Book Variable is declared 01 S PIC S9(9)V99 occurs 15 times and when I am binding it to grid inside a loop invoke dgv::Rows::Add(S(counter))#COBOL#COBOLVISUALCOBOLMIGRATION
Any advice what to look for to point my tech guys to the right place - cobol program compiled for animation using CBL_DEBUGBREAK - set compiler to option 2 - animation window pops up - step thru a few lines, no problem - then zoom causes error: Cob version and callstack excerpt below ****** cat $COBDIR/etc/cobver cobol v5.1.00 PRN=R9CAO/AAJ:9r.B1.51.09 PTI=WrapPack 8 PTI=ES ***** 55949 CALL "CBL_DEBUGBREAK". 55950 55951 IF DW-CALL-STAGE = "11" lPerform/Call Stack - viewqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk xProgram Name Section Name x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x/
I'm using NetExpress 5.0 since... yesterday. I used Netexpress 3.1 many years ago. I cam compile all my project, after its conversion, but I can't obtain the exe file i DON'T KNOW WHY. Anybody can help me? Many thanks. J. Marques
Hi, Please let me know how to call COBOL program(API created in COBOL) in my C# interface with out changing original code. Thanks, Manasa
Hi, I have a requirement where I need to call a form from another form after successful login. The steps which need to happen is as follows 1) A Cobol program is executed and it open a win forms which is a login screen. 2) After providing you inputs the form should pass the values to calling Cobol Program without closing the form 3) The Cobol program should do your validation or checks and if success it should return to form with a message e.g. "initializing..... please wait" and then 4 & 5 step should happen. If not successful it should return with another message e.e. "invalid user/pass" and should again wait for user input. 4) The control should go back to the calling program for further process 5) After successful processing it should close the login form and display the next form to the user so it means that there is basically 1 cobol program which is driving the whole flow. Can anyone help me to achieve this? Thanks in advance#FormVisualCobol#COBOLVISUALCOBOLMIGRATION
I did the migration of customer data from cobol files (.dat) to MySql.The conversion went fine but now when I consult the data on the screen appear strange characters in special characters (accents, etc).I'm using Windows with WPF.I want send a few prints of the database and what appears on the screen but i don't know how. What is wrong? Will need to change some codepage?
Can anyone tell me how to print a file from within a cobol program. I simply wish to write my data to a report and then print the report. I tried using the PC_PRINT_FILE but I keep getting status code 05. If anyone could share code examples that would be very helpful. I tried also using the example given in prntfile.zip. However, it keeps giving me an error about a missing .dll file and the prntfile.exe is missing.#CobolEclipse
Problem Using COBSQL to pre-compile an Oracle SQL program which inserts PIC N data into a column defined as NCHAR results in incorrect data held in the database. Resolution For PIC N variables and NCHAR columns you need to set the Oracle NLS_NCHAR environment variable to match the NLS_NCHAR_CHARACTERSET for the database.So assuming a UTF-16 setting for the database of NLS_NCHAR_CHARACTERSET=AL16UTF16, set NLS_NCHAR=AL16UTF16 on the client.Then recompile using only default Pro*COBOL directives and the NSYMBOL(NATIONAL) Micro Focus compiler directive. Running the test program (see below), resulted in the following inserted in the COL1 column when running on Linux:"346C200020002000200020002000200020002000"As you can see, the byte ordering appears to be reversed. This can be changed if needed using UNICODE(PORTABLE) instead of the default UNICODE(NATIVE) directive, which gives:"6C34002000200020002000200020002000200020"In the above string you have 1 unicode character U 6C3
Problem When using call "system" to start a a new process from a JVM COBOL program, ACCEPT and DISPLAY statements in the new process do not work. Resolution The JVM runtime uses the underlying support in Java’s Process class which is written to be portable etc. This has the side effect than on Unix/Linux the support it has no notion of terminal I/O.So, this means that you can’t use CALL “system” in JVM where the new process is doing terminal i/o. However there is a work-around. You can use xterm –e to start a new X-term window and run a script. For example, here is a demo where test1.cbl calls a script, runs2.sh. The script set-ups the environment needed for cobjrun. This is required due to a Unix/Linux security feature which prevents spawned processes from inheriting the LD_LIBRARY_PATH.For the demo both test1.cbl and test2.cbl were compiled with cob –j. To run use cobjrun test1.test1.cbl: 01 ws
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.