About this task
When you type in the following program, use the REXX/CICS
editor for files that reside in the REXX File System (RFS).
The name of the program is HELLO EXEC (for now, assume that the file
type is exec).
- Sign on to a CICS Transaction Server for VSE/ESA terminal
by entering CESN and supplying your user ID and password
when it is requested.
- Clear the screen.
- Type:
edit hello.exec
- Type in the program, exactly as it is shown in Figure 1, beginning with /* REXX HELLO
EXEC */. Then file it using the EDIT command:
====> file
Now your program is ready to run.
Figure 1. HELLO EXEC
/* REXX HELLO EXEC */
/* A conversation */
say "Hello! What is your name?"
pull who
if who = "" then say "Hello stranger!"
else say "Hello" who