View previous topic :: View next topic |
Author |
Message |
Rama_Prayaga Beginner

Joined: 20 May 2003 Posts: 45 Topics: 15
|
Posted: Wed Nov 28, 2007 7:22 am Post subject: Reading a ISPF TABLE |
|
|
Hi ,
How should i read a ISPF table .
Followlling is my required
I have a table by name TABLI which has data , i have to read .There are no keys to this table .I need to read the table sequentially.
I have tried with TBQUERY.i am getting a retrun code of 0 . But not fetching any data from it.
Kindly, could you let me know how to proceed.
Rgds,
Rama |
|
Back to top |
|
 |
vivek1983 Intermediate

Joined: 20 Apr 2006 Posts: 222 Topics: 24
|
Posted: Wed Nov 28, 2007 8:06 am Post subject: |
|
|
Rama_Prayaga,
I guess you didnt open the table before using TBQUERY.
From the manual:
Quote: |
TBQUERY - Obtain Table Information
The TBQUERY service returns information about a specified table, which
must have been opened (TBOPEN) by the current user before invoking this service.
|
Table Services:
TBCREATE
TBOPEN
TBSAVE
TBCLOSE
TBEND
Table Row Services:
TBADD
TBDELETE
TBTOP
TBSKIP
ISPF Services Guide: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ISPZSG40/CCONTENTS?DT=20050713030339
Check the link above to get a hold of ISPF table functions.. _________________ Vivek G
--------------------------------------
A dream is just a dream. A goal is a dream with a plan and a deadline. (Harvey Mackay) |
|
Back to top |
|
 |
Rama_Prayaga Beginner

Joined: 20 May 2003 Posts: 45 Topics: 15
|
Posted: Thu Nov 29, 2007 11:05 am Post subject: |
|
|
Hi Vivek,
Thank you for you help .Acuallty i was not looping properly.
It is fixed.Thank you for your help
Rama |
|
Back to top |
|
 |
|
|