Dynamic panel using table



IBM's Command List programming language & Restructured Extended Executor

Dynamic panel using table

Postby selvakumarmvs » Wed May 18, 2011 7:04 am

Hi all,

I want to make panel with dynamic area and display multi line table ( both label and text box ),
but I don't know how.

Table

Cname...... Size Type

Name....... 20... mandatory
Age......... 3.... optional
Occupation 15... mandatory
--------------
-----------


Panel should create dynamically according to the above table,

Name ____________________ (M)
Age ___
Occupation _______________(M)
--------
----------

Please let me know how to make panel.

Thanks,
Selva..
selvakumarmvs
 
Posts: 9
Joined: Fri Feb 05, 2010 10:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: Dynamic panel using table

 

Re: Dynamic panel using table

Postby selvakumarmvs » Wed May 18, 2011 7:54 am

i ll fetch those details from db2 table.....

panel should be separated into two columns..

Input column ==> ( this is just label ..we will display whatever the data present in Cname column in db2 table )

Output column ==>(this one is my problem .. just we ll fetch the size of the output variable from Size colume in db2 table )

for example : if the size is 10 then it ll display ___________ (so that during execution we can get the value from user)
selvakumarmvs
 
Posts: 9
Joined: Fri Feb 05, 2010 10:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: Dynamic panel using table

Postby selvakumarmvs » Wed May 18, 2011 8:29 am

using ispf table or db2 table is not my problem...could u plz give me rexx code for my requirement..
selvakumarmvs
 
Posts: 9
Joined: Fri Feb 05, 2010 10:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: Dynamic panel using table

Postby selvakumarmvs » Wed May 18, 2011 9:30 pm

@OWNER

This is rexx related question. Could plz move this topic to ==> Board index ‹ PROGRAMMING LANGUAGES ‹ CLIST & REXX
selvakumarmvs
 
Posts: 9
Joined: Fri Feb 05, 2010 10:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: Dynamic panel using table

Postby dick scherrer » Wed May 18, 2011 10:57 pm

Hello,

I suppose someone saw DB2 in your posts and relocated the topic. . .

It has been moved back to clist & rexx.

Rather than asking someone to do the work for you, i suggest you post what you have tried so far and where you have questions/problems.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Dynamic panel using table

Postby MrSpock » Thu May 19, 2011 6:33 am

Dick, I moved this over to the DB2 forum for a few reasons:

1. I have yet to see anything posted here that indicates to me that this is a TSO REXX question. If it's more about using REXX in the DB2 Address space, then I'd prefer it be relocated to the DB2 forum. I figured a DB2 subject matter expert might be able to clarify what this topic is about.
2. After some back-and-forth questions from me to selvakumarmvs, it's quite clear that this is NOT a topic dealing with ISPF services and panel definitions, called from a REXX exec in a TSO environment.
3. My best interpretation of this topic is that it's DB2 and some sort of output screens that, with the given description given, I can only assume are running in a desktop/GUI environment.
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

Re: Dynamic panel using table

Postby enrico-sorichetti » Thu May 19, 2011 8:46 am

I want to make panel with dynamic area and display multi line table ( both label and text box ),
but I don't know ho


This is rexx related question. Could plz move this topic to ==> Board index ‹ PROGRAMMING LANGUAGES ‹ CLIST & REXX


the statement You just made is plain wrong

a panel with a dynamic area to display a multiline <thing> is not a REXX related
so from the first post the proper place to carry on the discussion is ISPF
see here for hints on how to define and display am ISPF table
the ISPF manuals
http://publibz.boulder.ibm.com/cgi-bin/ ... s/ISPZPM70
and here for the REXX manuals
http://publibz.boulder.ibm.com/cgi-bin/ ... s/IKJ4BK90

and here ( dated but still the best ) for a detailed description of an ispf application
the ISPF PRIMER
http://publibz.boulder.ibm.com/cgi-bin/ ... 1028105440

displaying data using ISPF tables is a two stage approach ...
fill the table, display the table
the way to go is dictated by the amount of data to be retrieved and displayed
because You will have to retrieve the DB2 data and fill the ISPF table
while it is reasonable to do it with a small amount of data it is not so for a larger one
both form a technical and ergonomical point of view
too many rows will imply a large ispf table with related resource usage issues
too many pages to be displayed will hurt the computer/end user interaction
IIRC the limit is around 10 screens of data ( 200/400 lines )
wich can be well handled by ISPF tables

if the data to be displayed is more than that review the whole application setup
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: Dynamic panel using table

Postby NicC » Fri May 20, 2011 12:46 am

You are wanting to change your panel depending on the data received. This can be done. You simply have to edit the panel source in the ISPPLIB. How you get ISPF to get rid of the version in cache I do not know. Also - you should not be wanting to do this to production panels - they should be static. In theory, any changes should go through your change control and version control mechanisms.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post