Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 1243
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 Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Conditional highlighting of rows in I... packerm CLIST & REXX 2 Thu Sep 21, 2017 6:50 pm
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us