Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi, Using Miicro Focus native COBOL in Visual Studio, I want to call an object, but I don't know how to reference it (it has been registered). in Visual Studio. Very similar to what I did, with much help, in Netexpress, where I had to add a reference under Type Assistant. Thanks!#nativeCOBOLreference
Hello again. At the end of a process of booking a hotel need to send a mail to the end customer with the booking confirmation.I have a pre-defined text (but can be changed) with the following format:Booking nº @numresCheck-in: @datentCheck-out: @datsai Is there any way I can replace the variables for their content?The objective is the text look like this:Booking nº 2748Check-in: 05/20/2016Check out: 05/25/2016 I have tried in various ways using the STRING comand and UNSTRING with the INSPECT but still could not reach the final format Thanks Best Regards Alberto Ferraz
Hello, I use VisualCobol with a ado.net connection to oracle. In my programs the test of end of fetch is 1403 but ado.net returns 100 How can I the sql mode to oracle? Now i must change the test from 1403 to 100 Kind regards Arno Noomen
Hello, I need to use a calendar and I can not set the following functions (in Cobol code):- BlackoutDates = I used the command "invoke CalSaida::BlackoutDates::Add (new CalendarDateRange (new DateTime (01/01/2016), new DateTime (04/28/2016)))"but gives nothingWhat I want is to block the calendar as of yesterday. - Selectdates (SelectionMode = "SingleRange") = I used the command "set wrk-reser to CalEntrada::SelectedDates" where wrk-reser is a "SelectedDatesCollection".The variable-wrk reser has the start date and end date but I can not get. I ask again for your help. Thanks
Hi, I am currently facing problem of 'Memory Access Violation' on Windows XP PC. I had try to compile the program with -Za to see whether isn't the error is come from out of range index file or any linkage error. But when i run i didn't get any message about out of range. It will just prompt the 'Memory Access Violation'. 1) May i know that is there any minimum memory required for ACUCOBOL 10 to be run in Unix environment with 150 user? 2) May i know that PC level for running ACUCOBOL 10 thin client environment, have any minimum memory needed? Thanks You.
We use PKZIP to programmatically make backups from within our application. I have a problem with only one file that gives an error "Warning! Could not open file VPMS2006.pay". I thought it might be that the file is in an open state but that was not the case. The file select is : SELECT MIS2FLASSIGN TO RANDOM MIS2NAMEWITH ENCRYPTION COMPRESSION COMPRESSION CONTROL VALUE 70ORGANIZATION IS INDEXEDACCESS MODE IS DYNAMICLOCK MODE IS AUTOMATICFILE STATUS IS DSTATRECORD KEY IS MIS2KEY-NEW. Any ideas on what could be causing this? Thanks, Lourens #AcuGT#extend#COBOL
Hello Currently I have a datagrid with 3 columns, ID - Name - Selected. The Selected column is a checkbox column. Im triying to fing a way to get all items in the datagrid with the Selected colum checked. I can do this in C# easy but cant figure it out in visual cobol. Thanks for the help !
Problem: How to change the default userID for remote reconnections in the Eclipse IDE. When creating a new remote connection the userID field in the Eclipse IDE will be populated with the currently logged on Windows user ID. This can lead to problems when connecting to a remote Linux/UNIX machine as the userID’s on those Operating Systems are case sensitive whereas this is not the case in a Windows environment. Resolution: The Eclipse IDE allows for the setting of the default userID values per remote connection type. To make these changes:Start the Eclipse IDE and from the pull-down menu, select Window\\Preferences\\Remote Systems to display the list of remote connections defined on the machine.The userID fields can be edited by clicking on them. Click on the “Default User ID” field for the relevant remote connection and ensure the value exactly matches (case sensitive) the Linux userID. Click OK to save the new settings which will now be used when c
I am trying to create a sequential file that does not have carriage returns in it (for ACA XML reporting). This is my Select Statement: SELECT MANIFEST ASSIGN TO RANDOM WS-MANIFEST-FILE ORGANIZATION IS SEQUENTIAL ACCESS MODE IS SEQUENTIAL FILE STATUS IS MANIFEST-STATUS. This is my FD: FD MANIFEST LABEL RECORD IS STANDARD RECORD IS VARYING IN SIZE FROM 1 TO 2000
I installed at first the trial vcvs-2015.exe Problems with compile errors. Got a Visual Cobol PE. After uninstall from the earlier version, i try to install the Personal Editon. Get the install error: 0x81f40001 (uninstall earlier version, before install) But my PC doesn't have an earlier version anymore. See my attachment for more information. Please, who can help me out of these troubles?
Dear Chris, We just migrate an Application from RM Cobol to Visual Cobol for Eclipse and we noted that our Files are very diferent in Size. Could you please give a reason for that ??. Regards TAMAÑO EN RMCOBOL = 514490368 TAMAÑO EN VISUAL COBOL = 1241272408 ( como tuvimos problema con comp-6 , lo eliminamos y dejamos con comp-3, tiene las mismas clave principal y segundarias)
I'm a legacy programmer new to this environment. I used IBM DB2 on the mainframe and would like to use DB2 here with Visual Cobol. Can anyone tell me where I can find the software for free to download and use with my environment VS 2015, VC 2.3
When I use Visual COBOL to open tutorial projects, I saw strikethrough fonts (cross line fonts) occasionally appearing somewhere. Both on Windows and REDHAT: on REDHAT: I really want to know how to eliminate those annoying appearance.Really appreciated for any hints.#Cross-Linefont#Windows#Strike-ThroughFont#Linux
For embedded DB2 SQL application, I figure it out that I can use command line to create the application. cob64 -C MFSYNC -z -o myTest myTest.cbl sqlca.cpy -L/home/db2inst1/sqllib/lib64 -ldb2 -ldb2gmf But I got this error : /bin/ld:sqlca.cpy: file format not recognized; treating as linker script/bin/ld:sqlca.cpy:1: syntax errorcollect2: error: ld returned 1 exit status But if I rename sqlca.cpy as sqlca.cbl. run above command line as: cob64 -C MFSYNC -z -o myTest myTest.cbl sqlca.cbl -L/home/db2inst1/sqllib/lib64 -ldb2 -ldb2gmf Everything is fine. Why cob64 does not know to compile sqlca.cpy file but only compile sqlca.cbl file? But in Visual COBOL, it uses sqlca.cpy without any issue. Appreciated for the help. #sqlca.cblsqlca.cpyVISUALCOBOL
I am new to use Visual COBOL Eclipse. I can use Visual COBOL Eclipse to compile and run all the samples in the tutorials. Even some complicated SQL projects from SAMPLE Browser. I know Eclipse is just a common GUI tools from IBM, it calls cob (cob32 or cob64) to do the real job behind the scene. How can I get the real cob command line from Eclipse (both compiler and linker parameters)? That will really help me to understand how cob works. Really appreciated. #COMPILER#VisualCOBOLEclipse#linker#commandline#Parameters
Hi Everybody, Have tried to download the PE version and have filled in the forms and received the email with the download link but when I click the lick it takes me to a page that tells me my serial number and other details but no download. Any idea or am I doing something wrong...? Ianeon
I need to capture the mouse button in a ListBox, done that method-id listBox2_MouseClick final private. procedure division using by value sender as object e as type System.Windows.Forms.MouseEventArgs. if (e::Button = type MouseButtons::Right) invoke type MessageBox::Show("Direito" "MMSIS") end-if if (e::Button = type MouseButtons::Left) invoke type MessageBox::Show("Esquerda" "MMSIS") end-if if (e::Button = type MouseButtons::Middle) invoke type MessageBox::Show("Centro" "MMSIS") end-if end method. But just take the left button
I am working over a project to migrate NET Express 5.1 codebase to Visual COBOL. In existing sysytem we are using 'BLINK' command to make certain characters blink on the screen. But after migration to Visual COBOL, these characters are not blinking.. Does the 'BLINK' command not supported in Visual COBOL 2.1?? Or do we require any additional directives to make this work?? Earlier, we were also using 8 sysytem objects namely ADIS, ADISINIT, ADISKEY, ADISDYNA, MFFH, BSIO, EXTFHSUB, MFINI. I suppose these are now convereted into dll's and are loaded at the runtime automatically. Are these dll's causing this problem.?? Any pointers to make character blink in Visual COBOL will be highly appreciated. Thanks!
In native COBOL if you have "SELECT DATA-FILE ASSIGN TO DISK 'OLD\\Data.dat'" and "OPEN INPUT DATA-FILE" then the File Handler will look for an environment variable named "dd_OLD" and replace the "OLD" in the SELECT clause literal with the contents of the environment variable (if found). But what happens in managed code? We are getting "File not found". Is the managed-code version of the File Handler looking for "dd_OLD" somewhere other than in the environment, or does this functionality not exist in managed code?
Is there any way when processing a SQL statement (SELECT, INSERT, UPDATE, DELETE) to retrieve the results of @@ROWCOUNT to establish how many rows were affected by the statement?#SQL#COBOLSQLCOBSQL#COBOL
I use tutorial project - 03_01_Simple_structure. If I run it in Visual COBOL on Windows, Environment Variables are working, COBOL executable code can access them in the console windows. But I run the same code with correct Environment Variables Path on RED HAT Enterprise. The executable code complains not finding them. I need to copy the PATH into the code to replace the Environment Variables, that works ! Could someone help me to confirm that - That might be the issue on my Linux machine only, or that might be a little bug with Visual COBOL tools on LINUX. Appreciated.#EnvironmentVariableinCOBOL#redhat#Windows
Hi, I want to use a progress bar but not I am able to update.Increase the VALUE field but on screen only appears at the end of the procedure and all filled. Can anyone send me a small example. Thank you. Best Regards Alberto Ferraz
getting the message "Unable to find a license for Visual Cobol for Visual Studio on this machine". I was given this software over a year ago and can't find a license number associated with it, HELP!! It is the personal copy so it is free to use.
Hello, I need to load some information in a field to be displayed when the cursor passes over the selected field.I do not know if there's another way but I thought I'd use the TOOLTIP field that would do this automatically.The problem is that I can not create multiple lines in the tooltip. What I wanted was (for example).Name - Alberto FerrazCountry - PortugalContact - 351959959959email - info@esic-lda.com This information would have to be loaded during program execution it varies from client to client. I look forward to your help. Thanks Best Regards Alberto Ferraz
Hi all, I am using visual COBOL for Eclipse on Window and trying to connect to Oracle DB. I set DBMAN = JDBC but my received output: SQLCODE = -0000000009 MFSQLMESSAGETEXT = Got minus one from a read call Anyone hepl me? Best regard!#COBOLENVIRONMENT#Eclipse#COBOLSQLCOBSQL#EXECSQL
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.