Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
hello ... I have a new error never seen before... running program compiled with ESQL 32 bit, after one hour of run I get this error: Load error : file '_SQLODBC' error code: 173, pc=0, call=1, seg=0 173 Called program file not found in drive/directory the mfdebug.log is not generated, what should I look for? Can you help me please? #_sqlodbc
i have installed for many times but when i run a program the message appears again. How i can fix these problem??
Hello guys... I just want to share everyone that "I LOVE COBOL".... :) Merry christmass to all of you dinosaur developers!!! P.S. Love you all too and thanks for the help you give me... #COBOL
Hello, When creating a new EXCEL.DEF (office 2013)we get errors. Can somewone create an EXCEL.DEF for me (office 2013 and version 9.1) #Excel
I'm using NetExpress v3.10 and doing a web service application. Created a COM and already in my registry, created WSDL using MSSOAP toolkit v3.0, and now I want to call the web service thru NetExpress application. Code is as below; $set ooctrl( p) environment division. special-names. call-convention 74 is winAPI. object section. class-control. entrycallback is class "entrycll" exceptMgr is class "exptnmgr" oleExceptMgr is class "oleexpt" MSSOAP is class "$OLE$MSSOAP.SoapClient" olesup is class "olesup". : : : 78 wsdlURL value z"www.mysite.com/.../" & "myservice.wsdl". 01 Soap object reference. 01 wsmlURL pic x value x"00". : : :*>configure WSDL/SOAP using myService module invoke MSSOAP "new" returning Soap *>ERROR here invoke Soap "mssoapinit" using wsdlURL &n
I have been doing some reading on the report section of Visual Cobol. Does anyone have any suggestions or comments on report writer for cobol? I was looking for some sample code and data to test, but could not find any resources.#COBOL
Can a windows 8.1 64bit be the AcuConnect Server for serving the application to thin clients?
Good Afternoon, I have a working storage character string for example WS-TEST PIC X(02). I read information from an ASCII file into this string. The WS-TEXT variable then contains a hex value for example x"010E". I then need to know what the decimal value is of this field, in this example 270. Any advice? Thanks, Bob (ws-hex-value pic x(02)).
Hello, How can i download a file from FTP server? The sample helps but not enough... ;)#ftp#fetch#download#remote
Program "a" CHAINS to program "b.exe" resulting in this error. However, I can debug program "b" if it is the initial program started in the debugger. I'm having the same error in Run mode.
Problem: Visual COBOL installation fails when attempting to install on Solaris 9. Solution: Visual COBOL for Solaris has dependencies that are not present on Solaris 9 installations. Visual COBOL is only supported on Solaris 10 and higher.
Problem: The cobsetenv shell script is used to set the COBOL environment for Visual COBOL products on Unix and Linux. This includes Visual COBOL for Eclipse, Enterprise Developer, and COBOL Server. In the Release Notes for Visual COBOL for Eclipse, the reader is instructed to run cobsetenv from the location below: . /opt/microfocus/VisualCOBOL/bin/cobsetenv The actual location of this scirpt is in $COBDIR/bin where COBDIR is the installation location for COBOL. The instructions in the Release Guide point to the location of cobsetenv based on the default location of COBOL, which is /opt/microfocus/VisualCOBOL. The instructions are incorrect if COBOL is not installed in the default directory. Resolution: The correct location of cobsetenv is displayed on the terminal at the end of the installation. Note the installation location of COBOL and prepend that path to /bin/cobsetenv to build the absolute path for cobsetenv.
Problem: How do I retrieve the program id (PID) on a Unix machine running Server Express? Resolution: These two demos demonstrate how to retrieve the program id (PID) on a Unix machine running Server Express: :::::::::::::: demo1.cbl :::::::::::::: program-id. Program1 as "demo". environment division. configuration section. data division. working-storage section. $IF P64 set 77 long pic s9(18) comp-5 is typedef. 77 uns-long pic 9(18) comp-5 is typedef. $ELSE 77 long pic s9(9) comp-5 is typedef. 77 uns-long pic 9(9) comp-5 is typedef. $END 01 current-pid long. procedure division. call 'getpid' returning current-pid. display "PID is " current-pid. goback. end program Program1. :::::::::::::: demo2.cbl :::::::::::::: progra
Problem: How do I generate a file of test data for testing COBOL syntax? Resolution: There is a website, http://www.briandunning.com/sample-data/, that has free sample data for testing. They are 500 records. For a nominal price, you can download even larger data. The files are comma delimited and line sequential. Therefore, a basic COBOL program can be written to format the data into a usable format. For example, to test sorting, I downloaded a real estate file that contained the fields: street, city, zip, state,beds, baths, sq__ft, type, sale_date, price, latitude, longitude. The following program allowed me to turn the comma delimited file into a formated COBOL sequential file: program-id. Program1 as "Program1". environment division. configuration section. input-output section. file-control. select infile assign to "realestate.csv" organization is line sequential. select outfile ass
Problem: My program appears to be losing its ability to perform thru exit. It falls to the next para instead of returning to the location where it was performed from. . Resolution: This customer's program presumably has some mainframe heritage, and was coded in such a way as to rely on implementation-specific behaviour that the mainframe gives. Fortunately we can emulate this behavior using the checker directive PERFORM-TYPE(OSVS). It specifies the behavior of return jumps from nested PERFORM statements. PERFORM-TYPE"OSVS" provides compatibility with the mainframe behavior of OS/VS COBOL and DOS/VS COBOL. The following program demonstrates having an inner PERFORM (paragraph TESTER) fall into a new SECTION instead of returning to the controlling SECTION: IDENTIFICATION DIVISION. PROGRAM-ID. PROGRAM1. ENVIRONMENT DIVISION. DATA DIVISION. WORKING-STORAGE SECTION. 01 COUNTER PIC 9 VALUE 0.
Problem: How can I change my Oracle password without having to recompile my COBOL programs? Resolution: Propose using environment variables and having COBOL access those. Since Unix jobs are started by a shell, you can use this to your advantage when connecting to an Oracle database. Your programs will run under your userid or they will have their own userid. If your userid is warren, then that userid is defined in your .profile file and it exists in your environment as $USER. Lets assume that warren is the same userid that you use to connect to Oracle. Now we need your Oracle password. Suppose it is braveheart. You would manually connect to Oracle as warren/braveheart. You can create an environment variable for the Oracle password. We do that from the Unix command line by typing: export ORA_PASS=braveheart Now that is in your environment as $ORA_PASS. Now that these variables exist in your environment, you can have your COBOL program access them by using the COBOL syntax: 1) DI
Good evening together (in Germany its 7 pm) I'm new here and have (at the moment) just one question: Is it possible to get a Trial-Version of Net Express? Thanks a lot and best regards...
Visrel is the best, I know, to generate report accessing native database. There is a Lite option that has almost all features of the paid version. Configurar / Utilizar a versão LITE.The Form Designer generates COBOL source to several compilers and other languages as VB and so on. Works in character and graphic mode. Has an example on You Tube with a little demonstration.
Hi guys How to lock a cell of datagridview to accept only numbers. Otherwise, to ignore the change.
Problem: In Visual Studio 2012, when installing Enterprise Developer or Visual COBOL, Windows versions greater than and including Windows 7 reports an issue (pictured below) which requires a Visual Studio 2012 update to be downloaded from Microsoft to resolve. Resolution: This is a Microsoft known problem. To resolve it, follow the instructions in the notification for obtaining help online, or download the KB2781514 update for Visual Studio 2012 from the Microsoft Download Center.
Problem: Visual COBOL 2.2 for Visual Studio 2010 Hotfix 5 cannot coexist on the same machine with Visual COBOL 2.2 for Visual Studio 2012 Hotfix 5. Resolution: Both versions cannot be installed at the same time. Either Visual COBOL 2.2 for Visual Studio 2010 Hotfix 5 or Visual COBOL 2.2 for Visual Studio 2012 Hotfix 5 will need to be installed alone. The end user will need to be determined which they require.
I am getting a warning message when compiling a program. It does not seem to affect the execution of my program, but I would like to get clean compile if possible. The section of working storage that is tripping up is here: 05 OUTPUT-PARAMETERS. 07 RESULT PIC X(80). 07 DYELOT-COUNT PIC 9(03). 07 EA-FT-UOM PIC X(03).
Hi, one of my batch program that uses sortlargefile getting failed with subject error . The related components used by batch program have not been changed in this environment. Its working fine with environment having HP-UX B.11.23 U ia64 with MF 5.0 and now getting failed in environment having HP-UX B.11.31 U ia64 with MF 5.1 Did anybody encountered similar issue, your suggestion will be highly appreciated. Mukesh
Does the ACUCOBOL runtime for Windows (wrun32.exe) provide any support for gracefully exiting a COBOL program when the user closes the console window? The two ways that they might do this are by pressing Alt F4 or clicking the red X in the title bar. For example, in a particular program we would like to be able to save changes before exiting when the user kills the window. We've trained the users to never do this, but old habits die hard. Similar problems can also occur in Linux if the user closes the terminal window before exiting their COBOL program. We'd be interested in a solution for Linux as well, but the immediate need is on the Windows side. We're currently using ACU 9.2.1 in this office. Some facilities are running ACU 8 and possibly 7. Thank you!#wrun32.exe#ACUCOBOL9.2.1
Just installed Visual Cobol and was working through the course to learn to use it. When I got to the WebDemo program I get the error Message that says "Make sure that the class defined in this code file matches the "inherits" attribute, and that Default.aspx.cbl it extends the correct base class (e.g. Page or UserControl)." So to see what the issue was I created a blank one, much to my surprise I received the same results. I am using Visual Studio 2012 and the latest Visual Cobol Personal Edition. Any help would be appreciated. Below is the code class-id _Default is partial inherits type System.Web.UI.Page. working-storage section. method-id Page_Load protected. local-storage section. procedure divi
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.