Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to create input field of more than 1 line in panel?

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

New User


Joined: 29 Aug 2008
Posts: 10
Location: Bangalore

PostPosted: Tue Oct 05, 2010 8:37 am    Post subject: How to create input field of more than 1 line in panel?
Reply with quote

my panel is like this:
)ATTR
_ TYPE(INPUT) INTENS(HIGH) COLOR(RED)
% TYPE(TEXT) INTENS(LOW) SKIP(ON)
+ TYPE(TEXT) INTENS(HIGH) SKIP(ON) PAD(_)
)BODY
%
%Field 1 : _field1
%
%Field 2: _field2
)END

I know that after entering some value to the field1, the cursor automatically goes to field2. But I want my field1 accept 2 lines of data. But after completing the first line, it automatically goes to field 2, Please help in doing this.
Back to top
View user's profile Send private message

kacks7

New User


Joined: 22 Sep 2010
Posts: 33
Location: chennai(india)

PostPosted: Tue Oct 05, 2010 2:54 pm    Post subject: Reply to: How to create input field of more than 1 line in R
Reply with quote

hi

remove the '%' in the 3rd line of the body section.

Code:

)ATTR
_ TYPE(INPUT) INTENS(HIGH) COLOR(RED)
% TYPE(TEXT) INTENS(LOW) SKIP(ON)
+ TYPE(TEXT) INTENS(HIGH) SKIP(ON) PAD(_)
)BODY
%
%Field 1 : _field1
 
%Field 2: _field2
)END
Back to top
View user's profile Send private message
manigadu

New User


Joined: 29 Aug 2008
Posts: 10
Location: Bangalore

PostPosted: Tue Oct 05, 2010 4:46 pm    Post subject:
Reply with quote

Thank you very much kacks5, I am learning REXX, and may be you think my questions are very basic. But REXX is really interesting.

I have another question. In any normal ispf panel, the input field contains
a blank (________________) when nothing is entered. Where we can overwrite our data. How can we do that in the REXX Panel?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Oct 05, 2010 4:59 pm    Post subject:
Reply with quote

you would find info easier in the manuals if you would not refer to panels as rexx panels - since they are not.

This is a link to the z/OS ISPF Library. I would start with the dialog devel guide, which discusses ISPF PANELS.

although they will not help you very much understanding ISPF Panels (above reference) the following are libraries and documents concerning REXX:

This is all REXX documents.

This is the REXX Reference Manual
and
this is the REXX User's Guide
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Tue Oct 05, 2010 6:41 pm    Post subject: Reply to: How to create input field of more than 1 line in p
Reply with quote

I think you were asking about underscores. Try this:
Code:

)ATTR
_ TYPE(INPUT) INTENS(HIGH) COLOR(TURQ) HILITE(USCORE)
Back to top
View user's profile Send private message
kacks7

New User


Joined: 22 Sep 2010
Posts: 33
Location: chennai(india)

PostPosted: Wed Oct 06, 2010 11:36 am    Post subject:
Reply with quote

hi manigadu,
for more details go through the manuals posted by 'dick'.




Code:

_ TYPE(INPUT) INTENS(HIGH) COLOR(TURQ) HILITE(USCORE)



we can also use the following.
Code:

_ TYPE(INPUT) INTENS(HIGH) COLOR(TURQ) PAD(_)


replace the '_' winthin the brackets of PAD with whatever u want.
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Wed Oct 06, 2010 7:36 pm    Post subject: Reply to: How to create input field of more than 1 line in p
Reply with quote

Please do not use PAD(_) .

You may think it is trivial, but it makes it hard to type in your field. If you make a mistake and need to insert a character, you cannot without deleting your '_' at the end of the string.
Back to top
View user's profile Send private message
manigadu

New User


Joined: 29 Aug 2008
Posts: 10
Location: Bangalore

PostPosted: Wed Oct 06, 2010 8:07 pm    Post subject:
Reply with quote

Thanks Pedro, Any way I have used
_ TYPE(INPUT) INTENS(HIGH) COLOR(TURQ) HILITE(USCORE)

and it is working. Thanks once again and you guys are giving a good motivation for me to learn more about REXX.

Thanks a lot !!
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Wed Oct 06, 2010 9:26 pm    Post subject: Reply to: How to create input field of more than 1 line in p
Reply with quote

Quote:
good motivation for me to learn more about REXX.

This was an ISPF discussion, not a rexx discussion.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Oct 06, 2010 9:57 pm    Post subject: Reply to: How to create input field of more than 1 line in p
Reply with quote

But, by all means - learn more of both icon_smile.gif

d
Back to top
View user's profile Send private message
kacks7

New User


Joined: 22 Sep 2010
Posts: 33
Location: chennai(india)

PostPosted: Thu Oct 07, 2010 11:15 am    Post subject:
Reply with quote

hi pedro,

Quote:
Please do not use PAD(_) .


could you please explain more...
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Thu Oct 07, 2010 7:18 pm    Post subject: Reply to: How to create input field of more than 1 line in p
Reply with quote

repeating:

You may think it is trivial, but it makes it hard to type in your field. If you make a mistake and need to insert a character, you cannot insert without deleting your '_' at the end of the string.
Back to top
View user's profile Send private message
kacks7

New User


Joined: 22 Sep 2010
Posts: 33
Location: chennai(india)

PostPosted: Fri Oct 08, 2010 11:54 am    Post subject:
Reply with quote

hi Pedro,

got your point. thank you. but a doubt, incase if i want to make a line with any other character like '.' instead of uscore what i need to use.??
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Fri Oct 08, 2010 1:16 pm    Post subject: Re: Reply to: How to create input field of more than 1 line
Reply with quote

Pedro wrote:
Please do not use PAD(_) .

You may think it is trivial, but it makes it hard to type in your field. If you make a mistake and need to insert a character, you cannot without deleting your '_' at the end of the string.



completely agree... pretty (?) BUT annoying
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Fri Oct 08, 2010 7:42 pm    Post subject: Reply to: How to create input field of more than 1 line in p
Reply with quote

I think I know what you are asking...

Multiple choice action lists should use USCORE. Use HILITE(USCORE)

Single choice action lists should use a period. use PAD(.) Only the selection field should have the pad.

There is a tradeoff in giving the user a visual clue about the use the list. This is the only case that I can think of to use PAD(.) instead of HILITE.h
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 Performing arithmetic on input field zh_lad DFSORT/ICETOOL 20 Tue Dec 06, 2016 8:04 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 8 Thu Dec 01, 2016 8:28 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts How to split the records using the am... vnktrrd DFSORT/ICETOOL 24 Fri Oct 28, 2016 7:33 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us