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

Scroll in panel


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

New User


Joined: 14 Mar 2008
Posts: 74
Location: India,Chennai

PostPosted: Sat Jul 20, 2013 2:38 am
Reply with quote

Hi,

I am trying to create a scrollable panel. I tried using Model option. I am able to view the data in the screen I had created. I would like to know is it possible to select any value which is displayed in the screen.

My requirement:
In my main screen i have option like department, sections etc. When i select these options a popup screen should appear with all the values for the depatment/section (depends on option i choose). From this popup screen I should select the required value. Using the Tables option (TBCREATE,TBDISPL,..), i am able to view the values for each option in popup screen. Since these values are dynamically populated, I dont know how to Select the required value.Each option can have any number of values (Dept1, Dept2...,Sec1,Sec2,...).

Can any one let me know how i can select a value from dynamically populated screen. Is it possible to select required value from dynamically populated screen.

The popup screen should look like:
==============
_ Dept1
_ Dept2
....
_ Dept99
==============

I must be able to select the value I need. In the screen '_' is the input field. If i need to select the value, I would enter a 'S' in the field.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Sat Jul 20, 2013 3:09 am
Reply with quote

If you select a line, the dialog variables in the )MODEL will contain the data for that line upon return from TBDISPL. If you select more than one, the number of lines selected will be returned in ZTDSELS and TBDISPL will populate the dialog variables with for the next line every time TBDISPL is invoked without a panel name (the return code will be 4).
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Sat Jul 20, 2013 4:39 am
Reply with quote

Akatsukami, I would like to amend your statement:

If you select a line, the dialog variables used in the TBCREATE will contain the data for that line upon return from TBDISPL.

The point being that frequently a table will have more columns than will fit on the screen. TBDISPL retrieves all of those variables for the selected row.
Back to top
View user's profile Send private message
passion_sujesh

New User


Joined: 14 Mar 2008
Posts: 74
Location: India,Chennai

PostPosted: Mon Aug 05, 2013 7:52 am
Reply with quote

Thank you Akatsukami.

I am able to select the required lines using ZTDSELS and by invoking TBDISPL without a panel name
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Mon Aug 05, 2013 12:36 pm
Reply with quote

As per the manual!
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 Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Change Default Scroll Setting TSO/ISPF 1
No new posts panel creation question TSO/ISPF 12
No new posts Panel variable model line TSO/ISPF 3
Search our Forums:

Back to Top