
------------------------------ EDIT - ENTRY PANEL ---------------------------
COMMAND ===>
ISPFLIBRARY:
PROJECT ===> userid
GROUP
===> rexx
===>
===>
===>
TYPE
===> exec
MEMBER ===>
timegame
(Blank for member selection list)
OTHER PARTITIONED OR SEQUENTIAL DATA SET:
DATA SET NAME
===>
VOLUME SERIAL
===>
(If not cataloged)
DATA SET PASSWORD ===>
(If password protected)
PROFILE NAME
===>
(Blank defaults to data set type)
INITIAL MACRO
===>
LOCK
===> YES (YES, NO or NEVER)
FORMAT NAME
===>
MIXED MODE ===> NO
(YES or NO)
In the edit session, you can type REXX instructions, such as the ones that
follow.
EDIT ---- USERID.REXX.EXEC(TIMEGAME)---------------- COLUMNS 009 080
COMMAND ===>
SCROLL ===> HALF
****** ************************ TOP OFDATA **************************
000001 /************************** REXX ****************************/
000002 /* This is an interactive REXX exec that compares the time */
000003 /* from a user's watch with computer time.
*/
000004 /************************************************************/
000005
000006 SAY 'What time is it?'
000007 PULL usertime
/* Put the user's response
000008
into a variable called
000009
"usertime" */
000010 IFusertime = '' THEN
000011
SAY "O.K. Game's over."
000012 ELSE
000013
DO
000014
SAY "The computer says:"
000015
/* TSO system */ "time"
/* command */
000016
END
000017
000018 EXIT
****** *********************** BOTTOM OFDATA **********************************
Checklist #2: Creating a Data Set with the ALLOCATE Command
1.
Type an ALLOCATE command at the READY prompt to define the
attributes of the new data set.
You can use the ALLOCATE command to create a PDS instead of using
ISPF/PDF panels. If you noted attributes in the Preliminary Checklist #5 on
page 187, substitute the attributes from the appropriate system file in the
following example. If you are unsure about which system file is appropriate, use
the values from SYSEXEC.
Note:
In the ALLOCATE command, specify a record format of VB as
RECFM(v,b) and a record format of FB as RECFM(f,b).
If your installation has no attribute recommendations and you have no attributes
from the Preliminary Checklist, you can use the attributes in the following
example.
Checklist #1
190
z/OS V1R1.0 TSO/E REXX User’s Guide
Summary of Contents for TSO/E REXX
Page 1: ...z OS TSO E REXX User s Guide SA22 7791 00 ...
Page 2: ......
Page 3: ...z OS TSO E REXX User s Guide SA22 7791 00 ...
Page 10: ...viii z OS V1R1 0 TSO E REXX User s Guide ...
Page 12: ...x z OS V1R1 0 TSO E REXX User s Guide ...
Page 14: ...xii z OS V1R1 0 TSO E REXX User s Guide ...
Page 18: ...xvi z OS V1R1 0 TSO E REXX User s Guide ...
Page 20: ...2 z OS V1R1 0 TSO E REXX User s Guide ...
Page 58: ...Tracing Expressions with the TRACE Instruction 40 z OS V1R1 0 TSO E REXX User s Guide ...
Page 78: ...60 z OS V1R1 0 TSO E REXX User s Guide ...
Page 86: ...Built In Functions 68 z OS V1R1 0 TSO E REXX User s Guide ...
Page 128: ...Issuing Other Types of Commands from an Exec 110 z OS V1R1 0 TSO E REXX User s Guide ...
Page 136: ...Debugging Execs 118 z OS V1R1 0 TSO E REXX User s Guide ...
Page 170: ...Protecting Elements in the Data Stack 152 z OS V1R1 0 TSO E REXX User s Guide ...
Page 201: ...Part 3 Appendixes Copyright IBM Corp 1988 2001 183 ...
Page 202: ...184 z OS V1R1 0 TSO E REXX User s Guide ...
Page 222: ...Using Variables 204 z OS V1R1 0 TSO E REXX User s Guide ...
Page 226: ...208 z OS V1R1 0 TSO E REXX User s Guide ...
Page 238: ...220 z OS V1R1 0 TSO E REXX User s Guide ...
Page 241: ......