473,466 Members | 4,835 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Db2 in cobol

2 New Member
where to specify the table name of db2 in cobol ?
then how to use the cursor ?
assign the tale field name to the variable in cobol?
Feb 12 '08 #1
4 1656
sakumar9
127 Recognized Expert New Member
I would suggest you to have a look at the samples that are shipped with DB2. You can find these samples at SQLLIB/samples/cobol directory.

In this directory, you will find many samples that will tell you how you can perform basic operations on databases like creating tables, inserting, selecting and displaying rows from tables etc, and many more.

Please do let me know about your feedback on these samples.


Thanks and Regards
-- Sanjay
Feb 12 '08 #2
sakumar9
127 Recognized Expert New Member
Samples that you can look at are:

updat.sqb : Shows how you can CREATE, UPDATE, DELETE, and INSERT data into tables;

trigsql.sqb : for SELECT

Let me know if you need some more information.

Regards
-- Sanjay
Feb 12 '08 #3
pradeepx
2 New Member
i am asking usage og db2 in cobol

abt declaring the cursor and assigning the table field name to variable
Feb 12 '08 #4
sakumar9
127 Recognized Expert New Member
I am not sure if you have checked these samples, we do have samples that tells you how you can DECLARE cursors and all the questions that you had.



Regards
-- Sanjay
Feb 13 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Batista, Facundo | last post by:
People: I'm trying to convert my father from using COBOL to Python, :) One difficult thing we stuck into is how to read, from python, files written with COBOL. Do you know a module that...
2
by: Kalpana Shridhar | last post by:
I am on a project where I am converting COBOL to C++ on the mainframe. I am new to COBOL and have a lot of questions - any websites or any suggestions from experienced people will be really...
242
by: James Cameron | last post by:
Hi I'm developing a program and the client is worried about future reuse of the code. Say 5, 10, 15 years down the road. This will be a major factor in selecting the development language. Any...
3
by: KLomax | last post by:
I work at a small company that has custom software written in cobol. This software performs financial payment processing. There are about 300 programs with I’m guessing 1M+ lines of code. The...
30
by: Stuart Turner | last post by:
Hi Everyone, I'm working hard trying to get Python 'accepted' in the organisation I work for. I'm making some good in-roads. One chap sent me the text below on his views of Python. I wondered...
5
by: hpy_awad | last post by:
can cobol read binary data written by fprintf (C function) ?
13
by: EricJ | last post by:
hi i need to access cobol data files from .net, the files have no or .vix extention (i think thats a acucobol or something like that) (/me has completely no experience in cobol) i heard that...
2
by: singlal | last post by:
Hi, my question was not getting any attention because it moved to 2nd page; so posting it again. Sorry for any inconvenience but I need to get it resolved fast. Need your help! ...
15
by: dm1608 | last post by:
We have a number of COBOL programs, and some were currently developing, that simply read TEXT based reports and scrap the reports for various information. I'm curious to know if anyone has...
0
by: cobug | last post by:
Dear COBOL Users, Articles are being sought for the COBOL User Groups (COBUG) newsletters. Will you help us in our efforts to provide newsletters for the COBOL community at large? The...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.