Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Scroll in panel

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Scroll in panel
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: 1789
Location: Bloomington, IL

PostPosted: Sat Jul 20, 2013 3:09 am    Post subject:
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

Senior Member


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

PostPosted: Sat Jul 20, 2013 4:39 am    Post subject: Reply to: Scroll in panel
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    Post subject: Reply to: Scroll in panel
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: 2230
Location: Hampshire, UK

PostPosted: Mon Aug 05, 2013 12:36 pm    Post subject:
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    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 Adding FIND to ISPF Panel display of ... Harold Barnes TSO/ISPF 3 Mon Oct 07, 2019 5:46 pm
No new posts Not seeing the error panel )ATTR Harold Barnes TSO/ISPF 4 Fri Sep 20, 2019 10:56 am
No new posts Send text at cursor position on an IS... Domenic Ailati CLIST & REXX 10 Sun Jun 02, 2019 7:34 am
No new posts Silly question maybe - REPLACE member... Cloink TSO/ISPF 15 Thu Oct 25, 2018 6:38 pm
No new posts How to control Panel Attributes throu... rsshanmugam CLIST & REXX 3 Mon Feb 26, 2018 9:51 pm

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