IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how program will accept input from ispf panel


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
preddy
Warnings : 1

New User


Joined: 21 Apr 2009
Posts: 5
Location: bangalore

PostPosted: Fri Jul 03, 2009 5:12 pm
Reply with quote

Hi,
I need to accept the values as input that entered in the ispf panel, need to accept those values as input for my program which does calculation.

can any one give some idea

thanks
pradee
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jul 03, 2009 5:16 pm
Reply with quote

debated zillions times


after a DISPLAY PANEL

rexx variables with the same name as the panel fields
will contain the user entered data
very basic concept
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Jul 03, 2009 5:32 pm
Reply with quote

Sigh .......... I can only assume that it is easier to post here than it is to read the manual yourself
Quote:
ISPF uses dialog variables to communicate data between the dialog management services and the dialog elements. A dialog variable's value is a character string that can vary in length from 0 to 32K bytes. Some services restrict the length of dialog variable data.

Dialog variables are referred to symbolically. The name is composed of 1-8 characters (6 for FORTRAN). Alphanumeric characters A-Z, 0-9, #, $, or @ can be used in the name, but the first character cannot be numeric. APL variable names cannot contain #, $, or @.

Dialog variables can be used with panels, messages, and skeleton definitions, as well as within dialog functions. For example, a dialog variable name can be defined in a panel definition, and then referred to in a function of the same dialog. Or, the variable can be defined in a function, then used in a panel definition to initialize information on a display panel, then later used to store data entered by the user on the display panel.

For functions coded in a programming language other than APL2, the internal program variables that are to be used as dialog variables can be identified to ISPF and accessed using the ISPF variable services. The use of STEM or COMPOUND variables within a REXX procedure is not supported by ISPF. For a function coded as CLIST or REXX command procedures or as an APL2 procedure, variables used in the procedure are automatically treated as dialog variables. In this case, no special action is required to define them to ISPF.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 0
No new posts Using API Gateway from CICS program CICS 0
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
Search our Forums:

Back to Top