RE: Error 9/057
Hello Enrique:Here is a link into the documentation:documentation.microfocus.com/.../BKCGCGRMSCS003.htmlIt says (in part):... If your program is set to return RM/COBOL file status codes ... the...
View ArticleRE: missing cobdb264 library
I use this on my linux machine-L/home/db2inst1/sqllib/lib64 -ldb2 -d cobdb264So try changing /opt/ibm/db2/V11.1/lib64/libdb2.soTo-L/opt/ibm/db2/V11.1/lib64 –ldb2 –d cobdb264
View Articlemissing cobdb264 library
I copied MF sample DB2 SQL project: Connect project from Windows to RedHat, try to recompile it under Linux.I got this error:[cobollink] cob64 -g -x -t -oConnect Connect.o...
View ArticleRE: missing cobdb264 library
Thank you. Tony [cobol] Compilation complete with no errors.[cobollink] Linking (64-bit) Connect...[cobollink] cob64 -g -x -t -oConnect Connect.o /opt/ibm/db2/V11.1/lib64/libdb2.so -d cobdb264...
View ArticleRE: Cannot access doc info
Unfortunately he links in that article are to are old knowledgebase that does not exist anymore.One of the links is available as a new link and the other no longer exists.The new link...
View ArticleCannot access doc info
When accessing this article (named "What is the meaning of exception error...
View ArticleRE: 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 = zEND-EXECCobol source:If recNumber = 2000 copy...
View ArticleRE: missing cobdb264 library
HiOne 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...
View ArticleRE: 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 find...
View ArticlePossible 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 Articlebest 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 ArticleRE: missing cobdb264 library
Thank you, TonyI will try those DEBUG instructions from you. meanwhile I did a directly search on the system drive:sudo find /opt -name cobdb264.soI found...
View ArticleMicro 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 ArticleClarification 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 production...
View ArticleRE: Clarification re: native calling managed in production environment
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 NOT...
View ArticleRE: 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 quickly...
View ArticleRE: 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 ArticleRE: 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 ArticleRE: 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 ArticleRE: 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. So...
View Article