Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
We have upgraded (Windows) NE 5.1.6 to NE 5.1.12. After this update there is an automatic conversion from 2 bytes diacritic to one character diacriticNow some my programs are not working any more . Example.My program converted Indonesië to Indonesie . translation table: # Kolommen : Cod = Unicode# S = Soort (X = exact of V = vervangend of E = Escapeteken)# F = Formaat (H = Hexadecimaal of A = Alfanumeriek)# Teken = Teken volgens tekenset#ade #Cod S F Teken Omschrijving#--- - - ---------- ----------------------------00E9 X H C3A9 LATIN SMALL LETTER E WITH ACUTE The 5.1.6 program showes the 'ë' as two bytes and translated it to 'e' Now 5.1.12 program, noting changed in program code, see it as
COBCH0348 : Procedure name 96_SQLERROR undeclared, line 832 (first usage) . Several errors are coming during compilation in Visual Cobol 2.3. Same was working with Visual Studio Net Express. Please help Thanks Ramesh
Can anyone point me to FAQ or Best Practices links for Visual Cobol 2.3. We're embarking on a MF -> PC migration and we are NOT using the enterprise software, so no CICS, JCL,... support I'm specifically interested in how people are implementing replacement functionality for concepts such as the CICS COMMAREA. Thanks
I looked around for a post but didn't see, so here goes. We're using Acucobol 9.5 with Vision version 4 files. We have Crystal Reports 10, can upgrade if necessary. New to Crystal Reports. How can I make Crystal Reports read and report on Vision ver 4 files? I've tried creating .xfd files, but its not clear to me next steps. Thanks for any input. #CrystalReports#VisionFiles
hi, does anyone know how to convert VB code below in to cobol? ChrW(&HF0A0) where ChrW = https://msdn.microsoft.com/en-us/library/microsoft.visualbasic.strings.chrw(v=vs.110).aspx and &HF0A0 = https://msdn.microsoft.com/en-gb/library/ms819564.aspx Thanks in advance. Kind regards Neil.
I'm trying to emails validation so 01 wValido condition-value. ...... move "mmsis@mmsis.com.br" to Lnk-Processo2 declare strModel as type System.Text.RegularExpressions.Regex = new System.Text.RegularExpressions.Regex("/^[a-zA-Z0-9.!#$%&'* /=?^_`{|}~-] @[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/") set wValido to strModel::IsMatch(Lnk-Processo2) But I can not, to do it.Thank youTranslated by Google Eu estou tentando fazer a validação de e-mails assim 01 wValido condition-value. ..... move "mmsis@mmsis.com.br" to Lnk-Processo2 declare strModel as type System.Text.RegularExpressions.Regex = new System.Text.RegularExpressions.Regex("/^[a-zA-Z0-9.!#$%&'* /=?^_`{|}~-] @[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/") set wValido to strModel::IsMatch(Lnk-Processo2) Mas não estou conseguindo, com
Hi, In MF COBOL Unix Environment , we used Call SYSTEM to execute Unix Commands from COBOL program.( Mostly used to move files ) In Visual COBOL on Windows ( Oracle DataBase and Powershell scripts ) , how will i execute above commands by using Call SYSTEM. string 'move ' delimited by size 'D:\\DataFiles\\*' delimited by size 'D:\\OutDataFiles' delimited by size X"00" delimited by size into WS-SHELL-CMD end-string. call 'system' using WS-SHELL-CMD. We will be using Windows command prompt commands to execute instead of Unix commands ? Please advise if there is something incorrect or missing.
[Migrated content. Thread originally posted on 01 June 2012]Is there a way to specify, maybe through an environment variable or something, the entire path to a file so that a SELECT statement can be defined in mainframe style?Like SELECT VIT-IN-FILE ASSIGN TO VITFLIN.instead of SELECT VIT-IN-FILE ASSIGN TO "C:\\Development Projects\\TestFiles\\VITFLIN.dat".
Does anyone know of any restrictions or issues with using Report Writer in managed COBOL? Does anyone have any experience with Report Writer in managed COBOL? We've converted a number of our "batch" COBOL programs to managed code with success, but this is the first one that uses Report Writer and an exception is being thrown at the C# call to COBOL class (within a rununit) that reminds me of Net Express errors I saw YEARS ago when a compiler bug created bad references that wouldn't link. The exception is "Method not found: 'Void COBOLPrograms.WYE39P._MF_IMPLICIT_1()'". We are running VC 2.3.1 for VS 2013 Update 5. COBOLPrograms is the COBOL class library targeting .NET Framework 4.5 with Debug/Any CPU configuration. WYE39P is the converted COBOL program (public) with only the Linkage Section and Procedure Division code residing in the single Method-ID named InstanceMethod. We aren't getting any compile errors. And we haven't run it fr
Hi , I have the following code in cobol program: MOVE 1 TO SP-P-MEMBER-NO EXEC SQL call SP-GET-MEMBER-EMAIL(:SP-P-MEMBER-NO IN , :SP-O-EMAIL-ADDRESS OUT ) END-EXEC. And below is my stored procedure : CREATE OR REPLACE PROCEDURE SP_GET_MEMBER_EMAIL( p_memberNo in NUMBER ,o_emailAddress out VARCHAR2)asbegin select email_addr into o_emailAddress from MEMBER_INFO where member_no = p_memberNo;END SP_GET_MEMBER_EMAIL; When i call the stored procedure from the cobol program , i get the following sql state and sql code SQLSTATE 37000 SQLCODE -0000010000 SQLERRMC Syntax error or access violation. I have configured SQL Directive DBMAN=ODBC The other scenario is where i dont use the Call statement to invoke th stored proc , i use the pro cobol syntax EXEC SQL EXECUTE BEGIN SP_GET_MEMBER_EMAIL (:SP-P-MEMBER-NO ,:SP-O-EMAIL-ADDRESS); END; END-EXEC. In this case system gives error to Add PROCOB directive, when i add it then the Select queries fail. Pl
Hi , In Embedded SQL we could write a Join SQL query and get the desired results from two or more table in one go. But in ADO.Net , we create a dataset for two table and define a relation between them. And get the desired rows by using Parent and Children Relation in the Cursors. So i am writing two querys in case where i could fetch records using One single query. Do we have any other way where i can implement Join query in simpler way in Visual COBOL ADO.Net. Regards, Zoeb
Hi , Like how we can drag and select in putty , I am unable to capture the console screen output ( created using screen section ) using select all from the mouse click. Please advise if any suggestions or alternative to capture the contents of screen in Visual COBOL .Net Environment ( Managed Code). Regards, Zoeb
is there a suggested way of doing Automation testing of Console Based application developed in Visual Cobol .#AutomationTesting#testing
I am working with the debugger and cannot find Debug==>Windows==>Memory==>Memory 1. Is it not available for the personal edition? Or is it a VS problem? Thanks - John
Hi, wenn jemand unter Windows 10 Performance Probleme in Cobol hat, wenn z.B. mehrere Computer auf die gleichen Daten zugreifen, den Windows Defender deaktivieren. bzw. die Dateien von der Prüfung ausschließen. Gruß Sascha
how are the commands to Format a Excel cell with a Frame/Borders for Color and linestyle i want to use this for the Activex MSTGRID.OCX from www.mysofttool.com Is it possible, that in Visual Cobol the Integration of Dialog System is not possible for Screensets with a ActiveX-Object integrated?
I need to clean a webform but I would like to field the field found a routine in C # you can convert to Cobol . Thank you protected void Button1_Click(object sender, EventArgs e) { LimparControles(this.Page.Form.Controls); } public void LimparControles(ControlCollection controles) { foreach (Control controle in controles { if (controle.GetType() == typeof(TextBox)) ((TextBox)controle).Text = string.Empty; } } Translated by Google Eu preciso limpar um webform mas não gostaria de fazer campo a campo encontrei uma rotina em c# é possível converter para Cobol. Obrigado.
Hello,my colleague created a remote copy book project. My Problem is simple: I just can't see any option to import the project.If I try importing it with the normal remote project option it does not find any projects.When i try creating a remote copy book project in the same path Visual Cobol tells me that there is already a project. I am using Visual Cobol 2.2.256 with Eclipse (Native Project). Thanks for your help.
I don't know how to define the ValueConversion attribute in a Cobol class implementing IValueConverter. Can anybody translate the following C# definition. [ValueConversion(typeof(DateTime), typeof(String))] public class DateConverter : IValueConverter Thanks. Werner Lanter
Just digging in to Relativity and finding access via connection string is very good, but access via SQL linked server is slow. Any suggestions? I basically take about 20 files and put all the data on to our Internet box into sql tables (so I do a full insert every 20 minutes into one of two different warehouses to make the SQL files almost "live").I have tried using OpenQuery and also 4 part naming but the times are very sluggish. Starting to learn about query plan - anyone have some past experience to share to help bring me up to speed more quickly? Thanks.#RelativitySpeed
Hi, I am using a batch to compile my Cobol programs to create dll/ exe. I have also created a cobol.dir file for some compiler directives options and kept the 'COBOL.dir' at certain location. In the batch I am providing the statement SET COBDIR ='Location of COBOL.dir' but this statement does not work and I am unable to use the modified COBOL.dir. If I put the COBOL.dir in the current directory where the dll and exe are created it works fine. I cannot put the directory file at current location and I have to use the specified location only. can any of you please help me if I am missing anything? Thanks Anand
I now have VC PE 2.3 on my machine. However, when I go to install it, it gives me 3 errors. 1) Uninstall VC 2.2 2) Uninstall Enterprise Developer and 3) MF License Manager required. I tried to download it but can't get into support. How do you register for support? Thanks
Do we have any sample code for executing Visual Cobol in PowerShell Scripts. Does RTSORA Runtime still be supported when executing scripts via PowerShell#VisualCOBOL
Hi Team , I am using Trail version of Visual cobol for VS2013 and i am unable to find WCF Service Library. Any suggestions what alternatives are there. I wanted to check the WCF implementation of my old proxy programs which were used by the Enterprise Server Web Services .
Problem: In runtime version Server 2.1 Update 1 and earlier, it was possible to perform an independent installation for the Liense Server, by extracing it from the installation file using the -ExtractCab switch. In version 2.2 this switch is no longer available, so how is this performed with version 2.2? Resolution: Attached to this article is an archive called "6644.dark.zip". This utility is part of the WiX toolset, which can be used to create MSI’s and wrapper EXE’s. Decompress the attached zip and run, for example: >dark.exe -x d:\\decomp cs2010_22.exe where: d:\\decomp is the folder where you want the files extracted to. cs2010_22.exe is the "Cobol Server 2.2 for Visual Studio 2010" software executable. Inside d:\\decomp, is an ‘AttachedContainer’ folder which in turn has the various MSI’s and pre-requisite EXE’s. The license server installation softwa
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.