Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
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
Working through the above titled PDF I get a build error with the following line of code: set an-obj to MyClass::New("Scot") The error I get is Severity Code Description Project File Line Error COBCH0012 : Operand MyClass is not declared OOSample C:\\Users\\mike\\Documents\\Visual Studio 2015\\OOSample\\OOSample\\TestMyClass.cbl 7 TestMyClass.cbl looks like: program-id. TestMyClass as "OOSample.TestMyClass". 01 an-obj type MyClass. procedure division. * set an-obj to new MyClass("Scot") set an-obj to MyClass::New("Scot") invoke an-obj::SayHello. end program TestMyClass. When I comment out the second "set" statement and uncomment the fi
Problem: Opening Net Express 32-bit Command Prompt or Net Express 64-bit Command Prompt returns the following at the prompt: The input line is too long. Resolution: createnv.bat is the script behind the Net Express command prompt. It creates another batch file (setenv.bat) that will contain all the variable settings required to set up the Net Express environment, calls setenv.bat to set environment variables, and then deletes setenv.bat:"�%\\cblpromp.exe" >> "%temp%\\setenv.bat"call "%temp%\\setenv.bat"del /q "%temp%\\setenv.bat" As shown above, cblpromp.exe creates setenv.bat in %temp%. This is where the problem arises. If the TEMP environment variable is missing as a user variable, then %temp% will automatically point to C:\\Windows\\Temp, which is the system temp folder. By default, it should point to the user's temp folder, i.e. %USERPROFILE%\\AppData\\Local\\Temp or C:\\Users\\<UserID>\\AppData\\Local\\Temp In the above case,
I have been running 5.1PE on windows XP since 2009 and now want to switch to Windows 7 for obvious reasons. 5.1 will not install on Windows 7. Is it possible to keep the compiler on the XP machine and run the application on the Windows 7 PC. As there is no license with 5.1 PE, I am not sure whether this will be possible. The other possibility would be to be able to install on Windows 7 and clean up the XP machine. The problem is that it is not possible to upgrade from XP to 7.
The output from one of my rebuild-jobs is: ERROR: bad record type at offset : 036BBE9C Continuing from offset : 036BBAC8 Rebuild successful - records read = 63536 Corrupt areas encountered = 1 Does someone know how to repaire this currupt areas?
We are migrating MF COBOL server express 4.2 on HP-UX to server express 5.1 WP10 on IBM-AIX. how can I use spzero and host-nummove compiler directive together ?
Hi ! I want to probe Visual Cobol 2.3 Personal Edition for Eclipse. When I downloaded and installed on a home computer, automatic activation was simple & successful. But on my workplace I have not internet & mail. I try manual activation, get e-mail details from activation screen and mail it from another PC to LicenseRequest@microfocus.com . But answer from Microfocus was: Authorization Process Error The following error occurred during the authorization process MG0106: Unable to authorize the request. Please try the authorization later. If this problem persists, please go to Micro Focus community website at community.microfocus.com/ and look at the authorization issues under the wiki. Reading WIKI not led to success. What can I do to activate Vcobol PE on standalone PC ? #COBOL
Right now my users have to log in to Windows, then log in to the Acucobol application. How in Acucobol do I incorporate single sign on utilizing the user's Windows credentials. Thanks Ray#ActiveDirectory#SSO#singlesignon#Windowslogin
Hello: I am a new member and i try use a listview in a program. I've seen many examples but I haven't been able to put any working. I have always a problem. The las problem is an incompatibility with de SETTER and GETTER use with a $SET SQL(ODBC=DBMAN). When i can put the listview working i add the directive $SET SQL(ODBC=DBMAN) and the complier send me the error "Error 3 COBCH0002 : Undefined ECM error. Inform Technical Support. Error code 12" If anyone can send me a simple complete example would really help. I wont tu use de listview with a MySql database. Thanks.
Hello again, how can I use clipboard in VC?
I'm trying to call a DLL that I wrote in C# from a GNT called from a native COBOL program. The call is failing with "Server defined OLE exception" (800401F3): Invalid class string...." Now, from past experience, this usually means that the DLL is not registered. However, I did register the DLL. Now, here's the weird part. If I remove the GNT from the equation, the call to the DLL works fine. So I can call the DLL from a native cobol program, but not from a GNT written in native cobol called by the native cobol driver. I've attached the source code that I'm working with. Program1.cbl is the driver. Compress.cs is the code for the DLL. Ziphandd.cbl is the GNT making the call. None of the programs are very complicated. Any suggestions would be most welcome. Mike
How can I use the File.Exists(filename) statement of VB.Net to Visual Cobol?
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.