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
 
Dynamically create ten Input fields

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
karthik.ilangovan

New User


Joined: 05 Dec 2006
Posts: 27
Location: India

PostPosted: Tue Dec 05, 2006 10:53 pm    Post subject: Dynamically create ten Input fields
Reply with quote

Hi all,

I have PanelA and PanelB. PanelA gets an Input (a numeric between 0-20). Let us assume, the user gave the input as 10 on the first panel and pressed Enter.

Requirement:
Based on the above Input of 10, Panel-B needs to dynamically create ten Input fields in the )BODY Area so that 10 Input (Variable) names can be given by the user. Also, the 10 Input names need to be retrieved and stored in 10 dynamically created variables.

Karthik
Back to top
View user's profile Send private message

superk

Moderator Team Head


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

PostPosted: Wed Dec 06, 2006 3:04 am    Post subject: Re: Dynamic Panel
Reply with quote

Option 1.

How about building Panel-B dynamically into a VIO or temporary PDS, using a different member-name for each iteration, using a series of LMPUT services, followed by an LMMADD service. Display the panel, then delete it with an LMMDEL service.

Option 2.

Create Panel-B with all 20 possible input fields in the )BODY. Use a unique attribute bit for each row, correponding to a unique )ATTR variable. Set the attributes, by default, to TYPE(TEXT) SKIP(ON). As the value is entered in Panel-A, change the attribute variables for the 'n' fields to TYPE(INPUT).
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 Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm
No new posts Changing sort Card Dynamically vickey_dw DFSORT/ICETOOL 5 Sat Aug 19, 2017 2:33 pm
No new posts Getting Mutiple input from Panels vidyaa CLIST & REXX 12 Mon Aug 14, 2017 1:28 pm

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