View previous topic :: View next topic
|
Author |
Message |
sandhya rani
New User
Joined: 05 Dec 2006 Posts: 22 Location: hyderabad
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
PeD
Active User
Joined: 26 Nov 2005 Posts: 459 Location: Belgium
|
|
|
|
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 |
|
|
sandhya rani
New User
Joined: 05 Dec 2006 Posts: 22 Location: hyderabad
|
|
|
|
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 |
|
|
PeD
Active User
Joined: 26 Nov 2005 Posts: 459 Location: Belgium
|
|
Back to top |
|
|
|