Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
On my System with Visual Studio 2013 and Visual Cobol 2.2.2 with Hotfix 2 a comment for a class or method will only be shown by IntelliSense but not as description in object browser. Comments in C# will be shown by IntelliSense and in the object browser. Does this need a special configuration setting in Visual Studio for Visual Cobol?
The visual studio method drop down not working. The drop downs do not display any of the methods. I am using Visual Studio 2012, it works for C# but not full Visual Cobol. Any ideas on why?
I am trying to install Visual COBOL for Visual Studio 2012 on a Windows 8.1 Pro laptop. Everything seemed ok until I try installing my license file. I run the License Manager, browse to the file and click Install and it spins for a long time and then I get an error message: "Error installing licenses: Error[5]: Cannot talk to the license server on host "127.0.0.1". Server may not be running." What can I do to fix this?#VisualStudio2012#license#VisualCobolManaged#Installation
Hello, Someone with a CASE Migrating Data Flex to Visual Cobol ...??? Many thanks in Advanced. PJM
Problem: When using the (RM) variable and sending the screen output to a dump file, the generated file includes not only "text" but ANSI codes (unexpected or 'funny' characters). It gives the 'header - funny characters' with the RM directive. Using MF directive it is all ok. cob -v -C DIALECT'(RM)' test.CBLcobrun test > OUTPUT.TXT 'Funny' characters will show up in the output file Resolution: The 'funny' characters are terminal control characters, used to clear the screen, position the cursor at the upper-left prior to the display, and to restore the screen to its former state after the program terminates. This is the default behavior of DISPLAYs in the RM world. One way to inhibit this would be to add UPON SYSOUT (or UPON CONSOLE) to the DISPLAY statements: DISPLAY "LINEA 1" UPON SYSOUT. DISPLAY "LINEA 2" UPON SYSOUT. In Visual COBOL you can use the directive DISPLAY(CONSOLE) to force a
This is the link to the MSDN using Statement documentation: http://msdn.microsoft.com/en-us/library/yh598w02.aspx This is how it's coded in DevExpress: using(UnitOfWork uow = new UnitOfWork()) { // Create, update or delete objects uow.CommitChanges();} CommitChanges is used to update the database. If Visual COBOL doesn't support the using statement, maybe I could call the Dispose method, which I'll need to work out. Something like: invoke uow::Dispose as type IDisposable (please correct me if this is wrong)#VisualCOBOL
Dear Friends, I'm having problems with corrupted VSAM files. I have a Windows Server 2012 as a file server.It turns out that in master / detail files, the master is recorded but not all items are details.Sometimes I get a file status "9)". Any idea what might be happening? Sincerely Yours Rogerio Barbosa
I have a grid bound to a database table using DevExpress XPO. The business class is defined like this: $set ILUSING"DevExpress.Xpo". $set ILUSING"System". class-id AG_200_Reconcile.basic_trans is public is partial inherits type XPBaseObject.. working-storage. 01 fcleared_status string. property-id cleared_status string public. getter. set property-value to fcleared_status setter. set fcleared_status to property-value end property. To update the record in the database,
Hi, Just a simple query. What is the error 14791 coming from CBL_COPY_FILE routine?#netexpress#CBL_routine
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
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.