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
 

 

ISPF table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
kansassho

New User


Joined: 31 Mar 2008
Posts: 14
Location: kansas city

PostPosted: Thu Nov 12, 2009 3:19 pm    Post subject: ISPF table
Reply with quote

I want first to get selected records(matching a specified value for a column in the table) from an ISPF table and then write these record to a sequential file.
Please help me how to proceed.

Can someone please provide me some examples.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Nov 12, 2009 3:31 pm    Post subject:
Reply with quote

Take a look at TBSCAN and TBSORT

Documents easily reached from the reference material sticky in the CLIST/REXX forum.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1228
Location: Israel

PostPosted: Thu Nov 12, 2009 4:31 pm    Post subject: Reply to: ISPF table
Reply with quote

Another fun way is to use a skeleton:

The skeleton could be:
Code:
)DOT tbname SCAN(FLDM3,EQ)
&FLDM3 &FLDM1 &FLDM2
)ENDDOT


And the REXX would be:
Code:
Address TSO "ALLOC FI(ISPFILE) DA('my.dsn') SHR"
FLDM3 = 'XX'
"FTOPEN"   
"FTINCL skelname"
"FTCLOSE"


The line "&FLDM3 &FLDM1 &FLDM2" can be formatted in many ways too.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts ISPF - How to come out of ISPF Panel parasmalik20 TSO/ISPF 5 Tue Feb 21, 2017 7:44 pm


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