If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > New Members & Introductions > cobol related query

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-04-10, 02:21
kavitha9602 kavitha9602 is offline
Registered User
 
Join Date: Oct 2010
Posts: 2
cobol related query

Hi

I have a small requirement in pro*cobol. I want to list entire data from database table using my cobol program.For eg. I have a db table called program table(fields --> prog_no, prog_name) in which it contains around 100 records. Using cobol program I want to display on the screen all these 100 records using function keys(scroll up and scroll down).

Kavitha
Reply With Quote
  #2 (permalink)  
Old 10-04-10, 02:34
kavitha9602 kavitha9602 is offline
Registered User
 
Join Date: Oct 2010
Posts: 2
Question Cobol Query

Hi
I have a small requirement in pro*cobol. I want to list entire data from database table using my cobol program.For eg. I have a db table called program table(fields --> prog_no, prog_name) in which it contains around 100 records. Using cobol program I want to display on the screen all these 100 records using function keys(scroll up and scroll down).
Kavitha
Reply With Quote
  #3 (permalink)  
Old 10-04-10, 08:35
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,609
Create a dialog box with the appropriate controls and use the resource editor to bind that control to your application. Define the table access as you normally would inside the Data Division, then add an 88 level redefine to map the table to the bound control.

-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On