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: 10903
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: 8798
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 All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Question regarding ISPF tables with T... TSO/ISPF 11
No new posts After newcopy the CICS program user f... CICS 7
No new posts Setting RC using NULLOFL/NOTMTOFL for... SYNCSORT 6
No new posts Starting a CICS Transaction from a Th... CICS 0
No new posts Problem moving a cobol program into E... COBOL Programming 3
Search our Forums:


Back to Top