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
 
Types of variables REXX

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

New User


Joined: 06 Jan 2015
Posts: 18
Location: Hyderabad, INDIA

PostPosted: Wed Aug 26, 2015 6:57 pm    Post subject: Types of variables REXX
Reply with quote

Hi All,
As of now I have coded as below in the panel.

_ TYPE(INPUT) COLOR(GREEN) PAD(' ') CAPS(ON)
! TYPE(OUTPUT) COLOR(RED) PAD(' ') CAPS(ON)

I have a requirement to use a variable in my panel for both input and output.
Is there any way to declare variables as INPUT/OUTPUT in ISPF?
Please suggest.

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

Pedro

Senior Member


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

PostPosted: Wed Aug 26, 2015 7:04 pm    Post subject: Reply to: Types of variables REXX
Reply with quote

If you specify the attribute as INPUT, then you can also specify an initial value before you display the panel. So, yes it is both output and input.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1243
Location: Israel

PostPosted: Wed Aug 26, 2015 7:32 pm    Post subject:
Reply with quote

Your question is not clear, and there could be a few answers.
Here is one:

You can define an attribute with a variable:
Code:
_ TYPE(&FLDATTR) COLOR(GREEN) PAD(' ') CAPS(ON)

Then in the rexx program you can set the attribute:
Code:
If User = 'ADMIN' Then
   FLDATTR = 'INPUT'
Else
   FLDATTR = 'OUTPUT'
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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

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