Quantcast
Channel: Visual COBOL
Browsing all 5819 articles
Browse latest View live

Forum Post: Possible to use a variable for database?

I have a COBOL program and I want to use it with table A or table B, as both have the same structure and similar data, but I don't want to repeat every SQL stmt for both..  Instead of the next two...

View Article


Forum Post: RE: Possible to use a variable for database?

One solution could be to define the SQL statements within a copy file. Copy file ‘SQLVarTabName.cpy’: EXEC SQL select * from TabName  where x = z END-EXEC Cobol source: If recNumber = 2000   copy...

View Article


Forum Post: RE: missing cobdb264 library

Hi One way to find the file is by setting LD_DEBUG and run a DB2 cobol program. docs.oracle.com/.../index.html I have used a simple test program PMETEST /home/tonyt/test/2695871db2comp3 export...

View Article

Forum Post: RE: Possible to use a variable for database?

Or you could use Dynamic SQL where instead of hardcoding the statement within EXEC SQL you instead place the content within a variable and then use PREPARE and EXECUTE to run the statement. You can...

View Article

Forum Post: best architecture solution for migration

Hello ,  Which platform to choose to migrate the legacy application ? Which would be the best architecture solution and why ? Regards, Zoeb

View Article


Forum Post: RE: missing cobdb264 library

Thank you, Tony I will try those DEBUG instructions from you.  meanwhile I did a directly search on the system drive: sudo find /opt -name cobdb264.so I found :...

View Article

Forum Post: Micro Focus COBOL new style and old style

I compared side by side of 2 COBOL code styles and hopefully someone can tell me how to do it: Old style: ---Connect.sqb ==============================================        Working-Storage Section....

View Article

Forum Post: Clarification re: native calling managed in production environment

Please clarify... The article "Calling Managed COBOL from un-managed code" (with the VCCOM.zip samples) discusses using the Regasm tool to register the appropriate "com server" assembly for a...

View Article


Forum Post: RE: Clarification re: native calling managed in production...

I use a lot of managed code (C#) from unmanaged code (Net Express) and depending on your application I would try and stay away from registering anything. Some of our managed code is COM aware and is...

View Article


Forum Post: RE: best architecture solution for migration

Legacy Application......never it just needs to evolve. Platform - I take it here you refer to mainframe, Windows, UNIX, Linux etc........ A lot here depends on your market, your product and how...

View Article

Forum Post: RE: best architecture solution for migration

From a product perspective if you are migrating from an IBM mainframe and use CICS, JCL, IMS, Assembler, etc. then the product you should look at is Enterprise Developer. If you are migrating from a...

View Article

Forum Post: RE: Micro Focus COBOL new style and old style

I am not a DB2 expert so I am hoping others will chime in here also but the original set of samples that you are using are delivered by IBM and are written to support the syntax supported by the DB2...

View Article

Forum Post: RE: Again DataGrid

Actually, in the Visual COBOL documentation you will find little or no mention of any of the .NET controls as these are not Micro Focus technology but are instead Microsoft technology. I can normally...

View Article


Forum Post: RE: Micro Focus COBOL new style and old style

Thank you, Chris.   Your code works,  My purpose for that question is -- I am looking for the COBOL syntax working for both Micro Focus DB2 ECM (External Compiler Module)   and  DB2 PREP Precompiler....

View Article

Forum Post: RE: best architecture solution for migration

Thank You Chris and NeilH. I am working on Non-IBM mainframe platform , its on Sunsolaris UNIX and Oracle .

View Article


Forum Post: Linkage section

Hi ,  I have a Windows form from which i accept a number and on the button click event , i take that number and call cobol program to validate the input. I am getting error while running the...

View Article

Forum Post: RE: Linkage section

You have a couple of things wrong here. There is no actual storage assigned for items defined in the linkage section.A linkage section is used to define data items that are being passed into the...

View Article


Forum Post: rts 9/105 on open extend

Hi, I have a cobol program that make: OPEN EXTEND FILE and give FILE  status 9/105, Memory allocation error The server is Windows 2012 with  256 Gb RAM (free 254 Gb), and I use Cobol Server 2013 2.3.1...

View Article

Forum Post: RE: Again DataGrid

Thanks again, what I'm trying to do is when you click on the numbers show continued. I created a hidden field and so he clicks on another page / number does not go through page load again, but this...

View Article

Forum Post: RE: Possible to use a variable for database?

Can it also be used to do updates?  I am finding that trickier...

View Article
Browsing all 5819 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>