Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Regarding fetching all the data from ISPF table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Thu Mar 23, 2006 4:11 pm    Post subject: Regarding fetching all the data from ISPF table
Reply with quote

Hi All,
I am thinking of retrieving all the data I have stored in an ISPF table. For that I used TBSCAN and TBGET also. But I am nt getting any row. Look I want to retrieve all the data from that ISPF table.
I am attaching the sample statement I used for TBSCAN or TBGET. Please help me to say how to retrieve all the data from the ISPF table.

TBSCAN :- "tbscan" flxref "arglist(flxref)"
TBGET :- "tbget" flxref

Where flxref is the table-name.
Please help me....

Regards
Amitava
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Mar 23, 2006 6:52 pm    Post subject: Re: Regarding fetching all the data from ISPF table
Reply with quote

I would do this:

Code:

Pseudo-code

TBOPEN flxref NOWRITE SHARE
TBTOP flxref
Do Until return-code is not equal to zero
    TBSKIP flxref NUMBER(+1) POSITION(tbcrp)
    TBGET flxref POSITION(tbcrp)
    Set the return-code value to the success of the TBGET
    VGET the row variables and process as needed
End the loop
TBCLOSE flxref
Back to top
View user's profile Send private message
amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Fri Mar 24, 2006 9:31 am    Post subject:
Reply with quote

Thanx a lot superk..... You dnt know how much u have helped me.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us