Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I'm analyzing a survey where I let my client provide names for all her variables (e.g., TAILOR, NETWORK, LIFE, DENTAL). My program automatically made a file description in a copy book, using her variable names as COBOL data names. The Visual COBOL compiler correctly barfed when it encountered two of her names -- SEPARATE and EXIT -- saying that these could not be used as variable names because they were reserved COBOL words. I changed those to SEPAR and EXINT, and everything seemed to work out all right. Except that it WASN'T all right. After a certain point into the record, the raw data stopped matching the variable names. Each raw data item was assigned not to the correct variable name, but to the next variable name to the right. The Visual COBOL debugger was no help. I tried everything I could think of, to no avail, for more than two days. Finally, I found the problem when I put in code that displayed the variable name and the var
Who now what this error means? it appear when i load a second time a program/screenset Excecution error : file 'associtn'error code: 240, pc=0, call=1, seg=0 240 Object reference not valid I don't find anything on Internet or Forums cg
Good day for all, we are making an integration of my ERP in RM-COBOL version 7.03 with another system in Oracle database and Sqlserver, I'm using the InstantSql to update some basic catalogs that are shared between both applications, I am trying to execute stored procedures that contain all the validations, in sql server if there are errors the procedure returns me a resultset with the information, but in Oracle it returns of the information in a cursor which I could not obtain the information. These are the parameters of the stored procedure in ORACLE and this is the code with which I'm running the stored procedure This is the error that the program throws at me. And the description of the error is the following: additional to this Is that cobol uses to describe the parameters of the stored procedure InstantSql version 7.5d.00Version of the cobol 7.03Thanks in advance for the help you can give me.  
Hello, We have a set of CL programs running in AS400 systems that trigger online transactions/programs(using STRCICSUSR command) from batch programs. And another set of online programs which trigger batch programs using SBMJOB commands. We have to re-engineer these programs to make them run in MicroFocus environment. Can someone provide some insights on how this can be achieved in MicroFocus?
Where and how do I define 'Response.Redirect' in my web application? I get a COBCH0301 Unrecognized verb error. Thanks Shirley
Salve, sto cercando di convertire dei file dat presenti in un programma di contabilità che gira in dos formato cobol in un file excel ma mi da dei caratteri incomprensibili oltre a dei caratteri leggibili. Vi incollo un esempio sotto per farvi capire: .¦ .¦ .¥†   ÝÒ 1Í „ zz < #Œ þ A ˜ < — ( ; zz 00001COOP. ORTOFRUTTICOLA S. BIAGIO A.R.L. VIA P. G. FRASSATI 12 A00000POGGIOMARINO NA 00000 00000000IT0405031121800 00316003159999999999N 00000N000 zz 00002CUCINIELLO EUGENIA VIA DELLA GIUSTIZIA ÿѡ 05306ÿÑ @7ÿÑœ¹8ÿÑ›29ÿÑ™«10ÿј)1ÿÑ–¢2ÿÑ•3ÿÑ‘”4ÿÑ5ÿÑŽ‹6ÿÑ‹ Qualcuno mi sa dire come risolvere? Grazie.
Hi I have a customer that replitily have the error 9883 on différent file. His server is a window 10 pro using client server connection Thank you for your help...
Hello! I would like to know how to use webservice (post json) in Visual Cobol. Is this possible in VisualCobol? Below are two examples in C # that I tried to translate, but it did not work. Can someone help me? First example: var httpWebRequest = (HttpWebRequest)WebRequest.Create("http://url");httpWebRequest.ContentType = "application/json";httpWebRequest.Method = "POST"; using (var streamWriter = new StreamWriter(httpWebRequest.GetRequestStream())){ string json = new JavaScriptSerializer().Serialize(new { user = "Foo", password = "Baz" }); streamWriter.Write(json);} var httpResponse = (HttpWebResponse)httpWebRequest.GetResponse();using (var streamReader = new StreamReader(httpResponse.GetResponseStream())){ var result = streamReader.ReadToEnd();} Another example: var httpWebRequest = (HttpWebRequest)WebRequest.Create("http://url");httpWebRequest.ContentType = "application/json";httpWebRequest.Method = "POST"; using (var streamWriter = new StreamWriter(htt
During mass data processing in the following constellation, the memory consumption increases continuously. When the 2GB limit is reached, the runtime crashes. Prog1 perform many times read file call "Prog2" end-perform Prog2 (not with "is-initial" because the last state should stay in memory) "heavy I-O" , this means: open / read / rewrite / close many files and records In the windows taskmanager we can see how the memory usage of the runtime-process is constantly increasing. In the debugger the memory consumption (u) "overhead" increases. This is not the case in a local environment where the files are not addressed by AcuServe notation (@srv:). Has anyone seen this before? Runtime & AcuServe Version 10.2.0 as well as 10.2.1
Source: 01 status-code pic 9(04) comp. call "CBL_CHECK_FILE_EXIST" using file-name-1 file-details returning status-code Value if file is not found: In NetExpress x"0d39" or 9/013. Now in Visual Cobol x"11fd". Is there any help or guidance - why this happens - and to deal with it? I use also other "cbl_..._f
We have a function/screen which uses the screen section to do it's work. It's older, and needs to be made larger. I was thinking i would prefer to make it automatically resize so I looked at the layout manager option in the manual, but apparently that can only resize the control, not the fonts in labels and/or entry fields. So now I'm thinking okay, lets just loop through all the controls in the screen section, doing the "adjustment" that the layout manager would have done. And use W$FONT to resize the fonts - changing the font sizes when there's enough room. (Yes, I know I'll have to handle changing the font handle in those controls that need a new font - I think I have a plan for that). The basic thing I don't know how to do is set up a loop that goes through all the controls in a screen section. Plan B would be to set up an evaluate that maps loop indexes to controls, and use SET HANDLE to save the ha
Can this be written as a table of expression. For example declare accountclass = table of (...). 01 Interest-Rate-Table. 05 InterestRateValues. 10 pic x(11) value "PC075080078". 10 pic x(11) value "RC065070068". &
Hi We are using VC 2.3 for VS 2015. We have a Windows Forms application that uses HttpClient, etc, to send and receive SOAP messages. But I read from Microsoft: "HttpClient is intended to be instantiated once and re-used throughout the life of an application. Instantiating an HttpClient class for every request will exhaust the number of sockets available under heavy loads. This will result in SocketException errors. Below is an example using HttpClient correctly." C# public class GoodController : ApiController { // OK private static readonly HttpClient HttpClient; static GoodController() { HttpClient = new HttpClient(); } } So can somebody convert the above code to Visual Cobol please? The application consists of a main Form that calls other Forms and classes, all in separate projects. Should we just instantiate the class at the main Form and reference it in the necessary projects? Thank you Brendan
Please use this forum to ask any COBOL Analyzer related question from installation and evaluation queries to advance analysis tasks and we'll respond with an answer ASAP. You are also welcome to look at our product videos and to download the getting started tutorials and code samples. Thanks,Guy SoferProduct Manager#ApplicationAnalysis#cobolanalyzer#RMCOBOL#ApplicationInsight#netexpress#AcuCobol#COBOL#VisualCOBOL#codeanalysis#StaticCodeAnalysis#ServerExpress#MicroFocusCOBOL
Hi, We need to take data from our Vision database and import it to a pdf form. Is there a component in Acucobol which could help us to do this?
I have a line sequential file that I am wanting to convert to an indexed file. This is just for my own edification. I am using the classic data tools to do the conversion. My index is the social security number which begins at position 32 and is 9 characters long. The sequential file has variable length records with a max length of 66 characters. When I do the conversion, it ask for minimum of 41 and max of 66 which I use. The conversion goes through without any problem. When I open the file using the data tools I can see the ssn highlighted as the primary key. However, when I read the file into my cobol program, I am constantly getting a 4/7 open error. Any suggestions on why this is happening or what I need to do differently when doing the conversion? Thanks.
Hello all, can anyone help me with this? I need to get the info from the clipboard. I found some info on this forum about CLIPACU.DLL which could do the trick, but I cannot find it anywhere (before it was located on the AcuCorp sample directory) The purpose I need it for is the get the info from the clipboard and being able to put it in a grid by a simple Ctrl-V command. Maybe someone has an other solution for this. Thanks in advance, Ruud
Hi guys, we are working using MICRO FOCUS SERVER EXPRESS 5.1 for pSeries running AIX installed on the customer machine and we need to develop an application that need to interface with a web service. Actually running the command : imtkmake -genclientwsdl clientwsdl=SRVGestoreSITAv02_SerMed_SRVGestoreSITAv02.wsdl defaultstringsize=500 no generation of client proxy is made and the only message from the above command simply return : The generation of the COBOL client from WSDL failed we do not have any other message from imtkmake to understand the reason of the failure. Someone have any suggestion on how to understand why imtkmake fail to generate the client proxy ? Thank in advance. I've attach the zipped version of the wsdl that I'm using. WSDL_5F00_FILE.zip
I receive the following runtime error in a visual cobol naïve code application when deployed on a network workstation, program is called from a menu program; I can run the program on my development workstation without issue. Ideas on what I might have wrong?
When running an application we developed on The server, we will randomly see this error Any idea what could be causing this? The application we wrote is a re-entrant com DLL.
I am trying to edit the default.aspx.designer.cbl in my cobol web application and finding it quite challenging. Is it possible to create a form (much easier) and then use that instead of the default.cbl? Failing that where can I find help editing the landing page? My cobol program was displaying a screen but this does not work with the web application. I will have many screens to design and there must be an easier way. Any help will be appreciated. Shirley
What could cause a COBOL EXIT PROGRAM command to immediately stop the extend 32-bit runtime?
I have an net xpress 3.0.49 runtime and I compile with object cobol. Ass long I use only ".int" the runtime works. But now I have to compile and link some applications für execute direct. Anyone have an old Net Express 3.0.49 compiler with dongle? I will buy it directly. I am not interesting in buying a new expensive version. I just help my last one and only customer using MicroFocus Net Express. PLEASE HELP#COMPILER#cobolnetexpress#netexpress3.10
Hi With -P SPOOLER we are abled to print image are we with -P PDF ? Thank you
How would you convert this to cobol. ReportParameter p1 = new ReportParameter("param1", _p1);ReportViewer1.LocalReport.SetParameters(new ReportParameter[] { p1 });
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.