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

How do I design screen in REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sandhya rani

New User


Joined: 05 Dec 2006
Posts: 22
Location: hyderabad

PostPosted: Tue Dec 19, 2006 11:47 pm
Reply with quote

I need to update the VSAM file with the message entered by the user so I have chosen to do the task using REXX.

So first I wanted one screen where I ask user to mention the message to be added and VSAM file name. In order to achieve the same in REXX please I do need some guidance as I know some of the basics of REXX.

Sandhya rani
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Wed Dec 20, 2006 1:52 am
Reply with quote

To REXX, the "screen" is the Terminal Monitor Program (TMP) standard input: running in the foreground, it's the TSO terminal. In the background, it's the SYSTSIN DD statement.

There is nothing more sophisticated built into REXX then its standard SAY/PULL functions. Here's an example:

Code:

/* REXX */
Say "Please enter a filename =>"
Pull the_filename
Say "You Entered "the_filename
Exit


Whenever I'm creating an application for use by TSO users in the foreground, I prefer to use ISPF panels, even if they're extremely simplistic, mainly because that's what most people are used to working with. It's also nice because they provide the control over the entire contents of the screen, and can easily provide features such as data checking, range checking, highlighting and emphasis, and many other features.
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Wed Dec 20, 2006 3:38 am
Reply with quote

You also have to know that you will not find TSO REXX commands to retrieve, update, add or delete records for VSAM file.
See RXVSAM, ( cbt 268 ? ) etc
Back to top
View user's profile Send private message
sandhya rani

New User


Joined: 05 Dec 2006
Posts: 22
Location: hyderabad

PostPosted: Wed Dec 20, 2006 11:32 pm
Reply with quote

heah where can i see See RXVSAM, ( cbt 268 ? )..please let me know...

PeD wrote:
You also have to know that you will not find TSO REXX commands to retrieve, update, add or delete records for VSAM file.
See RXVSAM, ( cbt 268 ? ) etc
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Thu Dec 21, 2006 12:33 am
Reply with quote

http://www.cbttape.org/
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top