IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Two TBDISPL Questions


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
superk

Global Moderator


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

PostPosted: Sat Jun 13, 2009 12:34 am
Reply with quote

1. If I want to insert a table row, after the TBADD service, is there a way to have TBDISPL show the inserted row? I'd rather have that done automatically instead of coding for a REFRESH command to refresh the member list. Does a re-invoking of TBDISPL show the inserted row(s)?

2. Can an attribute character be included within the content of a row variable? I was thinking about changing the color or highlighting of a row when it's been selected. I know you can use a variable for the model definition, but can this somehow be used to change attributes from one row to another?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Jun 13, 2009 1:33 am
Reply with quote

The TBDISPL should show the inserted row(s) OK
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Sat Jun 13, 2009 4:13 am
Reply with quote

I do not think you can include attribute characters in your table.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Jun 13, 2009 11:56 am
Reply with quote

And going back to my previous post, and raking through the mists of memory, you may need to include a TBSORT to show the records in their correct position.

It's a long while since I've actually had an ISPF table application that required the user to actually input anything.

As for showing rows that have been selected, I usually have an extra blank field in the table which shows up in red and can be a simple one character field or the word SELECTED. Will post a bit of code on Monday when I'm back in the dungeon.
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Sat Jun 13, 2009 4:37 pm
Reply with quote

Thanks for your input.

Yeah, it looks like a TBDISPL and TBSORT have to be done to refresh the display with the inserted row in it's proper place.

This is the first major ISPF application I've worked on in about 10 years. I'm still a little rusty, but overall it's working pretty well.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Jun 13, 2009 5:05 pm
Reply with quote

Hi Kevin!

it took me a bit to find it but finally I got it, not for the latest ISPF,
but it still has some good thinking material
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ISRVPB01/CCONTENTS?SHELF=ISRBKV01&DN=SC34-4270-00&DT=19931028105440
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Comp interview questions Mainframe Interview Questions 5
No new posts Interview Questions on Cobol DB2 program Mainframe Interview Questions 5
No new posts TBSARG - Deleting the search criteria... TSO/ISPF 6
No new posts Mainframe Interview Questions CICS,CO... Mainframe Interview Questions 6
No new posts Viewing executing process in NDM .. q... IBM Tools 0
Search our Forums:

Back to Top