How to make a data set:
0. In ‘READY’ type ‘RPF’
1. In the option, type in the number corresponding to your choice
Option ===> 3 (since we want to make a data set)
Then press ‘Enter’
2. Type ‘2’ in the option
Option ===> 2 (for Create or Delete data sets)
It will look similar to this:
RPF Data set utility: userid=PT8102 -------------------------------------------
Option ===> 1
1 ALLOCATE - Allocate a dataset
2 DELETE - Delete a dataset
X EXIT - Return
Data set information
Prefix = PT8102
Library = testing
Type = jcl
Volume, space and DCB info (option 1 only)
Unit = SYSDA RECFM = FB
Volume = ptc801 LRECL = 80
Space unit = CYL BLKSIZE = 3120
Primary= 1 Secondary= 0 Directory= 30
3. Press ‘1’ for the option and press ‘Enter’ the upper right of the screen will look like this:
RPF Data set utility: userid=PT8102 --------------------------Dataset allocated
4. Press ‘F3’ to navigate away
How to add a member to a data set:
1. In RPF MAIN MENU choose ‘2’ for option
2. Type the member name, dsname and volume, make sure that the option is ‘1’.
3. You can now add codes.
How to Add/Edit codes
You can only add codes starting from the first column.
Create MEMBER1 : Trunc Xlate Top Nonum Nulls Asis -----------------------------
Cmd => Scope 01,72 Scroll CSR
...... ----+----1----+----2----+----3----+----4----+----5----+----6----+----7--
000100 test
4. Type ‘save’ in the command line then press ‘Enter’. To cancel, type ‘can’ or ‘cancel’ then press ‘Enter’.
‘Cmd => save’
5. Press ‘Enter’. (the default option is ‘1’).
6. To open again your file, type ‘s’ on the right side of your file then press ‘Enter’.
Cmd =>
C Name New
s MEMBER1
7. To insert a line, type ‘I’ to the rightmost part of the number line, then press ‘Enter’.
(‘I’ –for one line, ‘I2’ –for two lines and so on.)
These are the commands that are valid.
C.......A Copy line with 'C' after line marked with 'A'.
CB......A Copy line marked with 'CB' until last line after line 'A'.
CC..CC..A Copy block of lines between 'CC' after line 'A'.
CC..CC..BB Copy block of lines after the last line.
CC..CC..TT Copy block of lines before the first line.
CT......A Copy first line until line with 'CT' after line 'A'.
D Delete line marked with 'D'.
DB Delete line marked with 'DB' until last line.
DD......DD Delete block of lines between 'DD'.
DT Delete from first line until line marked with 'DT'.
LC Xlate upper- to lowercase in line marked with 'LC'.
LCB Xlate line marked with 'LCB' until last line.
LCC....LCC Xlate block of lines to lowercase between 'LCC'.
LCT Xlate from first line until line marked with 'LCT'.
M.......A Move line with 'M' after line marked with 'A'.
MB......A Move line marked with 'MB' until last line after line 'A'.
MM..MM..A Move block of lines between 'MM' after line 'A'.
MM..MM..BB Move block of lines after the last line.
MM..MM..TT Move block of lines before the first line.
MT......A Move first line until line with 'MT' after line 'A'
Rnn Repeat this line nn times
RESET Reset pending line-commands.
RR......RR Repeat lines between 'rr' after itself.
UC Xlate lower- to uppercase in line marked with 'UC'.
UCB Xlate line marked with 'UCB' until last line.
UCC....UCC Xlate block of lines to uppercase between 'UCC'.
UCT Xlate from first line until line marked with 'UCT'.
Inn Insert nn lines after this line.
Example, you want to delete the block, type ‘DD’ to the first line you want and ‘DD’ to the last line and press ‘Enter’.
Before:
Cmd =>
...... ----+----1
000100 TEST
dd0200 T
000300 E
000400 S
dd0500 T
000600 S
After:
Cmd =>
...... ----+----1
000100 TEST
000600 S