------------------------------ EDIT - ENTRY PANEL ---------------------------
COMMAND ===>
ISPF LIBRARY:
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 OF DATA **************************
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 IF usertime = '' 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 OF DATA **********************************
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