RPF 184 Guid
RPF 184 Guid
RRRRRRRRRRRRRRRR
RRRR RRRR FFFFFFFFFFFFFFFFF
RRRR RRR FFFF F
RRRR RRRR FFFF
RRRRRRRRRRRRRRR FFFF F
RRRR RRRR PPPPPPPPPPPPPPPPPPPPPFFFFFFFFFFF
RRRR RRRR PPPP PPPP FFFF F
RRRR RRRR PPPP PPP FFFF
RRRR RRRR PPPP PPPP FFFF
RRRRRR RRRRRRRRRRPPPPPPPPPPPPPPPP FFFF
PPPP FFFF
PPPP FFFFFF
PPPP
PPPP
PPPP
PPPPPP
Wormer, NL
Software
Table Of Contents
1.1 Introduction _______________________________________________________________________4
1.2 How to start RPF ___________________________________________________________________4
1.2.1 How to work with RPF _______________________________________________________4
1.3 Change session defaults _____________________________________________________________5
1.4 View data sets, members or load modules. ______________________________________________7
1.5 EDIT a dataset or PDS member ________________________________________________________8
1.5.1 EDIT primary commands ____________________________________________________10
1.5.2 EDIT line commands ________________________________________________________17
1.5.3 EDIT a LIBRARIAN module or index ____________________________________________19
1.5.4 LIBRARIAN update _________________________________________________________20
1.5.5 EDIT a PANVALET member or index ____________________________________________20
1.5.6 PANVALET update _________________________________________________________21
1.5.7 ARCHIVER update __________________________________________________________21
1.6 RPF utility functions _______________________________________________________________21
1.6.1 Reset/Delete ISPF or RPF statistics_____________________________________________22
1.6.2 PDS Maintenance __________________________________________________________22
1.6.3 Dataset functions __________________________________________________________27
1.6.4 Move/Copy members in partitioned datasets ____________________________________28
1.6.5 VTOC and catalog functions __________________________________________________30
1.6.6 LIBRARIAN maintenance ____________________________________________________34
1.6.7 The RPF Output processor ___________________________________________________36
1.6.8 The RPF SEARCH processor. __________________________________________________37
1.6.9 Archiver maintenance. ______________________________________________________37
1.7 Foreground assembler and linkage editor ______________________________________________38
1.8 RPF TSO command processor ________________________________________________________40
1.9 The RPF HELP facility _______________________________________________________________40
1.10 The RPF TEST mode ______________________________________________________________41
1.11 The RPF operator mode ___________________________________________________________41
1.12 RPF messages ___________________________________________________________________42
1.12.1 messages of the RPF main processor __________________________________________42
1.12.2 Session default messages. __________________________________________________44
1.12.3 BROWSE messages. _______________________________________________________45
1.12.4 EDIT messages. ___________________________________________________________46
1.12.5 EDIT hardcopy messages. ___________________________________________________51
1.12.6 LIBRARIAN messages. ______________________________________________________52
1.12.7 PANVALET messages. ______________________________________________________53
1.12.8 Archiver update messages __________________________________________________54
1.12.9 Messages of the RPF utility processor. ________________________________________54
1.12.10 Reset ISPF/RPF messages __________________________________________________54
1.12.11 PDS maintenance messages ________________________________________________55
1.12.12 Dataset functions messages. _______________________________________________56
1.12.13 Move/Copy messages. ____________________________________________________58
1.12.14 VTOC and catalog messages. _______________________________________________59
RPF supports a lot of screen sizes. The minimum size = a 3270 model 2 (24 lines x 80 columns). The
maximum size is 99 lines. The maximum screen width = 200 bytes. All sizes in between are supported
(example: 99x132). The maximum buffer size (screen width x screen size) = 16384 (16K).
1. The maximum amount of lines for the editor. The minimum is 500 lines and the maximum is
999,999 lines. Default is 6,000 lines. Note! Do not select a large number of lines in MVS38J,
because no extended addressability is supported in MVS38J. A value of 30,000 lines will do.
2. Sysout class. The default is sysout class C. Sysout class will be used in the print commands of RPF.
3. Logging YES or NO. This default is for future use.
4. Nulls YES or NO. this default will set the RPF editor in NULLS mode or NONULLS mode.
5. AUTOSAVE Y or N. With this default the workspace will be saved automatically if Y or EDIT will
give message 'Enter SAVE or CANCEL' if AUTOSAVE=N.
All the changed defaults will be written on the VSAM RPF profile database if present.
If you select -0- on the main menu the default menu appears on the screen:
With selection -0- you can list the status of your RPF session. In this screen the date and time, session
duration, EDIT options, default options, current allocation, workspace size and lines of the workspace
in use are to be displayed. Press ENTER to leave this status screen.
With -1- you can change the workspace size, the logging, the SYSOUT class, Autosave, Submit,
Replace, default prefix, assembler program and COLS attribute. To change these defaults press ENTER
after the changes made. To cancel the changes, use PFK03/15.
With -2- you can change the uppercase, line numbers and default allocations, LIBRARIAN, Panvalet
and ARCHIVER allocations To change these defaults press ENTER after the changes made. To cancel
the changes, use PFK03/15.
With -4- you can update the assembler MACLIB’s, assembler and linkage editor parameters and the
default linkage editor control statements. Press ENTER to make the changes effective
If you omit the member-name in the allocation menu, or you have selected a dataset from the
selection menu a member selection list will be displayed to select the to be browsed members. See
1.6.1 “PDS maintenance” for more information about the member selection list and the ‘S’ line
command.
Subcommand Function
BOTTOM Start display at the bottom of the dataset. This command may be abbreviated as
‘B’.
C nnn Shift the display to column nnn. nnn should not exceed the record length of the
dataset.
END Terminate BROWSE. RPF will go back to the utility allocation menu
F ‘string’ Search specified character string. All lines, which contains ‘string’ will be
highlighted and the message ‘CHARS string FOUND’ will appear. If only an ‘F’ is
entered, a repeat find of the previous specified string will be done. The find always
start from the current position in the dataset. If no match can be found, the
message ‘TEXT NOT FOUND’ will appear. The quotes (‘) around the string are
optional, unless you specify a string with embedded blanks.
An alias of F is 'FIND'.
HEX Set Browse in HEX mode on or off. In HEX mode, each record contains of 4 lines:
1) The original line. 2) A hex line Containing the high-order nibbles. 3) A hex line
containing the low-order nibbles. 4) A separator line.
The HEX command will be ignored if a data set or member with RECFM=U is
browsed.
L xxxx Locate at label xxxx. This label should be previously assigned with the ‘LABEL’
command
LABEL xxxx Assign label xxxx on this page of the dataset. The user will be notified. The
maximum length of the label is 4 characters.
RPF 1.8.4 User ’s Guide - page 7
PFK Display PFK screen and alter PFKs if you wish. These PFK changes are only effective
during this RPF session. To change the PFK-s permanent use the defaults menu.
RETURN Terminate BROWSE. RPF will go back immediately to the main menu.
=n or =n.n Terminate BROWSE, return to MAIN and execute option ‘n’ or ‘n.n’.
PRINT x Print the dataset into SYSOUT class x. if you omit the SYSOUT class, the default
class will be taken.
UP Scroll 1 screen backward in the dataset. If you use UP with a PFK and an ‘M’ in the
command field the ‘BOTTOM’ command will be executed.
DOWN Scroll 1 screen forward in the dataset. If you use DOWN with a PFK and an ‘M’ in
the command field the ‘TOP’ command will be executed.
LEFT Scroll 1 screen to the left (80 bytes for screens model 2,3,4 and up to 200 bytes for
a huge terminal or other).
RIGHT Scroll 1 screen to the right (80 bytes for screens model 2,3,4 and up to 200 bytes
for a huge terminal or other).
SUB(MIT) Submit the dataset with the TSO SUBMIT command or directly to the JES2 internal
reader depending of the SUBMIT parameter in the RPF defaults.
TOP Start display with the top of the dataset. This command may be abbreviated as ‘T’
Notes:
• All these commands can be set under a PFK. So you can use the PFKs instead of entering the
commands on the screen
• If you print the dataset with the ‘PRINT’ command RPF will make header lines if the dataset does
not contain ASA or machine control characters. If the to be browsed input dataset is a card image
dataset (LRECL=80 and no control characters), a scale line will be printed after the header lines
and after each record, the start column of the first non-blank character of that line will be
printed. If the control characters are present RPF does not make headers.
• The maximum number of lines, which can be browsed are 2048 screen pages. That is 21*2048
lines for a 3270 model 2 screen, 29*2048 lines for a model 3, 40*2048 lines for a model 4 and
‘nn’*2048 lines for a model 5 or other screen. RPF Browse supports large screens up to 16384
bytes, like a 81x200 screen or 99x132 screen. The value of 'nn' is up to 96 (99 – header line –
command line – scale line). If RPF is running in addressing mode 31 (in MVS/XA or later), the
maximum of screen pages is 15360.
• If a RECFM=U data set is browsed/viewed, the output will be formatted on the screen. The output
records fits within the screen width and more records will be written if the RECFM=U data set has
larger records. The output contains a HEX offset, the data line, a record with the high-order HEX
nibbles, a record with the low-order nibbles and a HEX ruler.
2. The options panel. In this part of the screen you can select UPPERCASE=YES or NO and
NUMBERED=YES or NO for numbered or not numbered data.
3. The allocation panel. In this part of the screen you are able to perform the allocation of the OS
dataset to be edited (Option 1 in the selection menu). If the allocations are alright, the dataset or
PDS member will be edited and the EDIT screen appears, otherwise the user will be prompted for
retry.
4. The dataset selection list. You can specify here up to 8 datasets (and volumes).
If you omit the member-name in the allocation menu, a member selection list will be displayed to
select the to be edited members. See 1.6.1 “PDS maintenance” for more information about the
member selection list and the ‘S’ line command.
If the member does not exist, an input screen will be made with 1 screen blank lines and in de header
line will appear ‘Input mmmmmmm’. ‘mmmmmmmmm’ is the data set name and (member) if
present. If the data set or member exists: CREATE is replaced by EDIT.
If the dataset is edited you can change your data in full screen mode. The screen is divided into 5
parts:
• The header, containing the fields ‘T’ (Top), ‘Lo’ (Lowercase or ASIS) and ‘Nul’ (Nulls), These fields
will be highlighted if in effect. If the edited data is a member in a PDS(E), the member name and
the ISPF/RPF
version/modification level (vv:mm) will be present too.
• The message area for the informational and error messages
• The scope field with the editor boundaries.
• The scroll amount.
• The data area, containing the data to be edited.
The editor can be entered in standard or in COBOL mode and will be automatically detected. In the
standard mode, the amount of columns to display is the width of the screen minus 8 or the complete
record if the record fits in the screen. Example: if the LRECL of the data set is 133 and the width of the
screen is 80, 72 columns will be displayed.
If the record of the data does not fit on the screen, the RIGHT and LEFT can be used to scroll.
RPF 1.8.4 User ’s Guide - page 9
The line-numbers if present or created by the ‘RENUM’ subcommand will affect the last 8 columns of
the data. In the COBOL mode columns 7-78 will be displayed if a 80 column screen is used.
The line numbers (if present) or created by the ‘RENUM’ command will affect cols 1-6. COBOL mode
works only if the record length of the data set = 80.
Both modes can be entered as ‘NUM’ or as ‘NONUM’ In ‘NUM’ mode the last 8 columns or columns
1-6 (COBOL mode) of the dataset are numbered. In ‘NONUM’ mode the dataset is not line-numbered.
If the data set or member contains line numbers in the last 8 columns, manual modification of these
columns are ignored.
In both cases, you can work with line-numbers in the subcommands, because the numbers on the
screen are NOT in the dataset
If a dataset does not contain line numbers and ‘LINENUMBERS=YES’ is selected, the editor will be
entered in ‘NONUM’ mode. If you select UPPERCASE=NO the typed in characters will not be
translated to capitals. That is very handy if you do text processing with RPF.
If you select UPPERCASE=NO, the ‘Lo’ field in the header line will be highlighted. If you do program
development always select UPPERCASE=YES, or press the CAPS LOCK button or use the UC line
command.
RPF will test the dataset to be edited, if lower case characters are detected, ‘ASIS’ will always be
selected and the ‘Lo’ field will be highlighted.
The subcommands in EDIT can be entered as ‘command’ or ‘&command’. If the ampersand if present
before the command, the command will be repeated after execution.
If the data contains unprintable characters, the lines with unprintable characters cannot be edited.
If you have entered a wrong command or invalid command the command will be repeated, so you
can make easy your corrections.
Subcommand Function
& if the ‘&‘ (ampersand) is entered, the previous command will be set in the
command area of the EDIT screen.
APPEND Append another dataset or member in the EDIT workspace. After entering
‘APPEND’, the dataset menu will appear. Alter the allocations and press
ENTER to append. With the END subcommand the data will be saved in the
dataset/member which is initially edited.
BOTTOM Display last screen of the dataset. This command may be abbreviated as ‘B’
C /aaa/bbb/(A) With this command, you can change character strings throughout your entire
workspace. if you do not specify the ‘A’ after the last delimiter, only the first
C /aa/bb/n,m With this form of the ‘C’ subcommand you can make changes in a specified
line range (n,m). both numbers should be specified. If you want to change 1
line use first the ‘L nnnn’ command and after this command ‘C /aaa/bbb/’. If n
= ‘*‘ change will be done beginning with the current line. In this case the
second number should be after the current line.
C /x'hh..'/bbb/n,m or
C /x'hh..'/bbb/(A) Change HEX string ‘hh..’ into string 'bbb'. The 'x' can be specified in lower- or
uppercase.
C /aaa/x'hh..'/n,m or
C /aaa/x'hh..'/(A) Change string 'aaa' into HEX string 'hh..'. The 'x' can be specified in lower- or
uppercase.
C /x'hh..'/x'jj..'/n,m or
C /x'hh..'/x'jj..'/(A) Change HEX string 'hh..'into HEX string 'jj..' The 'x' can be specified in lower- or
uppercase.
Example 1: C /X'404040'/X'2020'/A change 3 blanks into 2x X'20'. C /
/X'2020'/A is equivalent.
C /P'.'/bb/n,m or
C /P'.'/x'hh..'/(n,m) or (A) Change invalid characters into string 'bb' or into HEX string 'hh..'.
Example 2: C /P'.'/ /A Change all invalid characters into a blank. C /P'.'/X'40'/a
is equivalent.
If a line is successfully changed, the line number will be reversed.
CANCEL Terminate the RPF EDIT function, without saving the workspace. The
command may be abbreviated as ‘CAN’.
CO n,m,o Copy line range n till m after line o. if you specify n=* the current line till line
m will be copied. if ‘o’ is omitted line n will be copied after line m. If the CO
command cannot be executed, a suitable error message will be displayed.
After successful copy the workspace will be renumbered.
COB Set the editor from standard in COBOL mode. if in COBOL mode the ‘LEFT’ and
‘RIGHT' subcommands are not applicable. if the editor was in ‘NUM’ mode
before the ‘COB’ command was given, RPFEDIT will do a numeric test for
columns 01-06 of the workspace. if not numeric RPFEDIT will come into the
‘NONUM’ mode after the ‘COB’ subcommand.
DEL *,n Delete n lines starting with the first line on the screen. If n is omitted only the
first line on the screen has been deleted.
$DOC Add a date and timestamp after '//* last update: ' in the record. '//* LAST
UPDATE: ' is also valid. Code this string exactly with a blank after '*' and a
blank after ':'.
END Terminate the RPF EDIT function and save the data if changes are made. No
menu will be presented. The data will be saved in the same dataset/member,
if AUTOSAVE=Y. RPF will return to the EDIT allocation menu. If AUTOSAVE=N,
the message 'Enter SAVE or CANCEL' will be issued and EDIT will not be
terminated.
F 'String',n,m or F "String",n,m
Find a specified character string in the workspace. If the character string is
found, that line will be the first line on the screen. If line range n,m is
specified, the find will only be done in that range. If the find is unsuccessful a
suitable error message will be displayed and the command will be repeated.
The delimiter (the quote or double quote) is optional, unless 'string' contains
blanks. The character string will be remembered by RPF, so you can enter only
'FIND' to execute the last FIND command. Only character strings will be found,
which are in the column-range, that is set by the 'SCOPE' subcommand.
An alias of “F” is “FIND”.
F p’.’ or F P’.’ This is a special form of the FIND subcommand. With this FIND subcommand
you can search for invalid characters in the workspace. After a successful FIND
P’.’, the user will be notified which invalid character is found (message: Chars
X’..’ found).
FILL /string/ With this command you set a character string in each line starting with the
current line till the end of the workspace. The character string will start in the
column, which is set by the ‘SCOPE’ command. The data, which was there will
be overwritten.
FILL /str/n,m This FILL command will only affect the line range n,m
HAR xxxxxx,n,m Print the lines n until m on printer with name xxxxxx. If n and m are omitted
the lines on the current screen will be printed. The printer will be aquired
HAR xxxxxx,*,n Print n lines on printer xxxxxxx starting with the first line on the screen. If
n=99999999 the current line till the end of the workspace will be printed
HELP Invoke the RPFHELP facility. See 1.9, “The RPF HELP facility.” for more
information concerning HELP
I m,n Insert n blank lines after line m or insert n lines after the first line on the
screen (specify m=*). If n is omitted 1 line will be inserted after line m or
current line if m=*. After a successful insertion the workspace will be
renumbered and the cursor will be set in the first inserted line.
The line numbers of the inserted lines will be highlighted, until data is entered
in an inserted line. You do not need to delete the unused lines. The
highlighted lines (the inserted lines without data) will not be saved (with the
END or SAVE subcommand) or submitted (with the SUBMIT subcommand).
This is the way like VM XEDIT it does.
L +nnn/L -nnn Skip nnn lines forward or backward. if you are at the top of the screen and
you enter ‘L -nnn’ or you are at the bottom of the workspace and you enter ‘L
+nnn’, message ‘Scroll had no effect’ will appear and the command field will
be blanked.
JCL Do a syntax check of the JCL if you are editing a member containing JCL. The
usually used JCL parameters will be checked.
L nnn Locate the screen at line nnn. After execution of this command line nnn will
be the first line on the screen (the current line). If line nnn does not exist in
the dataset, an error message will be produced and the command ignored.
LC x y Translate the workspace to lower case (between line x and line y). If x (and y)
are omitted, translate will be done from the current line until the end of the
workspace
NOCOB Set the editor from COBOL in standard mode. The ‘LEFT’ and ‘RIGHT’
subcommands are after the ‘NOCOB’ subcommand available again.
If the editor was in ‘NUM’ mode before the ‘NOCOB’ command was given,
RPFEDIT will do a numeric test for columns 73-80 of the workspace. If not
numeric RPFEDIT will come into the ‘NONUM’ mode after the NOCOB
subcommand.
NONULLS Reset the NULLS mode. Fill each line with trailing blanks.
NONUM Set the editor in ‘NONUM’ mode without changing line numbers.
NULLS Replace the trailing blanks on the screen by terminal erase characters. This
provides an easy way to use the insert mode of the terminal. The field ‘Nul’ in
the header line will be highlighted to notify the NULLS mode.
OVLY m,n(,o) Copy line m over line m or over line range n - o. If you specify m=*, the
current line will be used. In the lines n thru o the blanks will be replaced with
the characters of the same column of line m (the overlay function). Only the
characters within the SCOPE boundaries will be overlaid.
OUT Invoke the RPF output processor. See 1.6.5 “RPF Output Processor” for more
information.
PASTE Copy the clipboard file after line marked with 'A' (see 1.5.2. EDIT line
commands for the line commands), or before the first line (line command TT)
or after the last line (line command BB). You can PASTE the clipboard file
multiple times until the next CUT subcommand.
PFK Display and/or alter PFK settings. Press ENTER to perform the changes If
finished press PFK03/PFK15.
Note
The changed PFKs are only effective during this RPF session. To change the
default PFKs use the session default menu (see 1.3, “Change session
defaults.”).
REN(UMBER) Renumber the last 8 columns in the workspace starting with 10000 and a
increment of 10000 if in standard mode or columns 01-06 in the workspace
starting with 100 and a increment of 100 if in COBOL mode. this command
may abbreviated as ‘REN’, ‘NUM or as ‘RENUM’.
If the data was not line numbered before the RENUM command, a warning
with text 'Data will be lost' will be issued. After hitting enter the message
'Renumber 'Yes' or 'No''
will be issued. Reply with indication action to renumber or not.
Note: Renumber data with variable records is not possible.
RESET Clear the pending line-commands and set the reversed line numbers to non-
reversed. RESET may be abbreviated as RES.
RETRIEVE Read the previous entered EDIT primary commands. The last 100 commands
are saved. Any subsequent RETRIEVE will give you the previous command. The
last entered primary command is the first command to be retrieved.
RETURN Terminate the editor and always return to the main menu. The data will be
saved if changes are made.
=n or =n.n Terminate the editor, return the main and execute option ‘n’ or option ‘n.n’.
The data will be saved if changes are made.
SAVE (FORCE) SAVE the workspace in a dataset. The user will be prompted with an allocation
menu. You can alter the allocations and press ENTER.
After SAVE the EDIT mode is ended. if you save in a PDS member that already
exists and that member is not the same as the original member edited, the
user will be prompted to replace the member or enter a ‘newname’, except if
option ‘2’ has been selected (SAVE RE-USE). If you select option ‘3’ on the
SAVE menu, the rest of the parameters are ignored and RPF will select the
LIBRARIAN menu (see 1.5.4, “LIBRARIAN update.”)
Option ‘4’ will perform saving upon a PANVALET library. See 1.5.6, “PANVALET
update.”
Option ‘5’ will perform saving upon an Archiver VSAM cluster. See 1.5.7,
‘ARCHIVER’ update.
If the workspace is saved into a PDS member, RPF will update the statistics in
the directory or add statistics if the statistics are not already present.
The directory entry after save is built as follows:
date added (3 bytes packed ‘yydddF’)
date updated (4 bytes packed ‘00yydddF’)
time updated (2 bytes packed unsigned ‘hhmm’)
UP Scroll backward depending of the scroll value on the screen. The scroll value is
described in the DOWN command.
If ‘M’ is entered in the command field and the ‘UP’ command is given by
means of a PFK the ‘TOP’ command will be executed.
If you enter ‘nnnnn’ (max 5 positions 0-9) and the UP command by means of a
PFK, ‘nnnnn’ lines will be scrolled backward.
LEFT Scroll 1 screen to the left (72 bytes for screens model 2,3,4 and up to 152
bytes for a very large screen). If the Scroll value is set to HALF, a half screen
will be scrolled (36 for a model 2,3,4 terminal up to 76 for a very large screen).
SCOPE n,m With this command you can set the range of columns which will be used in ‘C’,
T’, ‘FILL’, ‘UC’ ‘LC’ and ‘SORT’ subcommands.
If you enter this command without operands, the default scope range will be
set (cols 1-xxx) in standard 'NUM' mode-, cols 01-xxx in standard 'NONUM'
mode- or cols 07-72 if in 'COBOL' mode).
In NONUM mode, the value of xxx can be up to 255 and 247 in NUM mode,
depending of the record length of the data set or member.
If the second operand = 999, the end Scope will be set to the value of the
record length of the data set or member.
Another possibility to set the scope range is changing the 'SCOPE' value in the
right corner
of the EDIT screen.
SUB Submit the workspace to the job execution queue. With this command you
are able to execute jobs in the background. After successful submit the user
will be notified with the message ‘JOB jjjjjjjj SUBMITTED’. If the parameter
SUBMIT=TSO, the TSO command processor SUBMIT will be invoked instead of
the RPF submit. With this option all advantages of using the TSO SUBMIT exit
can be used.
TOP Display first screen of the dataset. ‘T’ will be highlighted in the header line of
the EDIT screen. An alias of the TOP command is ‘T’.
TSO Invoke the RPF TSO command processor. With this command it is possible to
enter TSO commands during edit. If you leave the TSO command processor
with ‘END’, RPF will go back to the EDIT’ mode. See 1.8, “RPF TSO command
processor.”
UC x y Translate the workspace to upper case (between line x and line y). If x (and y)
are omitted, translate will be done from the current line until the end of the
workspace.
UNNUM Remove the last 8 columns or columns 01-06 (COBOL mode) in the workspace.
The line numbers on the screen will NOT be removed.
This command may he abbreviated as ‘UNN’ This subcommand is only allowed
if the editor is in ‘NUM’ mode, otherwise the subcommand will he ignored
with the message: WORKSPACE NOT NUMBERED After execution of ‘UNNUM’
the editor will be set in ‘NONUM’ mode.
Inn Insert nn lines after the specified line. nn blank lines will be inserted and the
cursor will be placed in the first inserted line. If only an ‘I’ is entered, 1 line will he
inserted.
The line numbers of the inserted lines will be highlighted (see also the I primary
subcommand)
RR...RR Repeat a block of lines between the lines marked with ‘RR’. if only once ‘RR’ is
entered the line command will wait for the second ‘RR’ and a pending message
will be issued.
C…A Copy line marked with ‘C’ after the line marked with ‘A’. If the line command is not
complete (only the ‘A’ or the ‘C’ is entered), the command will be set pending.
C.....O Copy line marked with 'C' over the line marked with 'O'. If the line command is not
complete (only the 'O' or the 'C' is entered), the command will be set pending.
C....OO...OO Copy line marked with 'C' over the line range marked with 'OO -- OO'. If the line
command is not complete (only the 'OO' or the 'C' is entered), the command will
be set pending.
CC...CC...A Copy the block of lines between ‘CC’ after line ‘A’. The command will be set
pending if it is not complete.
CC...CC...BB Copy the block of lines between 'CC' after the last line. ‘BB’ can be placed in any
line.
CC...CC...TT Copy the block of lines between 'CC' before the first line. “TT’ can he placed in any
line.
CT Copy the first line until the line marked with ‘CT’ after line ‘A’.
CB Copy the line marked with ‘CB’ until the bottom line after line ‘A’.
M..A Move line marked with ‘C’ after the line marked with ‘A’. If the line command is
not complete (only the ‘A’ or the ‘N’ is entered), the command will be set pending.
MM...MM..A Move the block of lines between ‘MM’ after line ‘A’, The command will be set
pending if it is not complete.
MM...MM...BB Move the block of lines between ‘MM’ after the last line. ‘BB’ can be placed in any
line.
MM...MM...TT Move the block of lines between ‘MM’ before the first line. 'TT' can he placed in
any line.
MT...A Move the first line until the line marked with ‘MT' after line ‘A’.
MB...A Move the line marked with ‘MB’ until the bottom line after line ‘A’.
DB Delete the block of lines starting with the line marked with ‘DB’ until the bottom
line.
RESET Reset the pending line commands. ‘RESET’ is also valid as primary command.
Note
The block of lines specified, need not to be in the same screen. Example: You can enter ‘CC’ in the
first screen, scroll 2 screens, enter the second ‘CC’, scroll again some screens and enter the ‘A’.
Notes of EDIT
1. EDIT supports data sets or members with a record length from 40 bytes up to 255 bytes. Data sets
and members with a record format of fixed or variable are supported. .
2. You can set all your RPF EDIT commands in PFK’s, so you can press the corresponding PFK to enter
a command.
3. Line commands and primary commands cannot be issued together except if the primary
command is set under a PFK or the ‘F’, the ‘U and ‘M’ commands are used. Example: If a line
command is pending only the PFK’s can be used for scrolling.
4. Upon SAVE of the data, the empty inserted lines (marked with a red line number) are not saved.
5. If the workspace size is too small for the dataset, the EDIT will be terminated and the message
'Workspace too small' will appear in the dataset selection screen or PDS screen. To increase the
workspace size use the defaults menu.
6. If the dataset contains unprintable characters the user will be notified with the message ‘Invalid
chars xlated’ The translated characters will he changed into periods (‘.‘). the field. The translated
line will be highlighted and protected.
• The option field. Enter ‘1’ to perform allocation or enter ‘X’ or press PFK03/15 to cancel this
function
• UPPERCASE=YES or NO for uppercase or lowercase editing. If the LIBRARIAN modules contains
lower case characters ASIS’ will always be selected.
• The LIBRARIAN module name or blank, if a LIBRARIAN index is requested.
• The name of the LIBRARIAN master file.
• The volume on which the master file resides if the master file is not catalogued.
RPF 1.8.4 User ’s Guide - page 19
If ENTER is pressed the allocation will be done for the master file. Upon successful allocation RPF
editor will be invoked. If the allocation is unsuccessful a suitable message will be displayed. Enter a ‘1’
and alter the fields to retry or an ‘X’ to terminate LIBRARIAN and go back to the main menu. The
editor can be entered in ‘NUM’ mode if the LIBRARIAN module contains card numbers in the card or
in ‘NONUM’ mode if the card numbers are outside the card. See 1.5, “EDIT a dataset or PDS
member.”
Each line in the LIBRARIAN index contains: the module name, the programmers name, the
description, number of records and the date and time last update.
If you have altered the fields and selected a function on the menu the dataset wili be allocated and
the LIBRARIAN will be invoked.
After completion of the LIBRARIAN, RPF will BROWSE the LIBRARIAN output. It is recommended to
check this output, but the ‘OSJOB’ error can be ignored.
If an error is detected by RPF a suitable message will be displayed and retry is possible. Press
PFK03/PFK15 to escape from this screen
• The option field. Enter ‘1’ to perform allocation or enter ‘X’ or press PFK3/15 to cancel this
function
• UPPERCASE=YES or NO for uppercase or lowercase editing. if the PANVALET members contains
lower case characters ‘ASIS’ will always be selected.
• The PANVALET member name or an asterisk (“*”) if an index is requested.
• The name of the PANVALET dataset.
• The volume on which the dataset resides if the PANVALET dataset is not catalogued.
If ENTER is pressed the allocation will be done for the PANVALET file. After successful allocation the
RPF editor will be invoked. If the allocation is unsuccessful a suitable message will be displayed.
Enter a ‘1’ and alter the fields to retry or an ‘X’ to terminate PANVALET and go back to the main
menu. See 1.5,” EDIT a dataset or PDS member.”.
After having altered the fields and chosen the right option, the dataset will be allocated and
PANVALET will be invoked.
After completion PANVALET RPF will browse the PANVALET output. It is recommended to check this
output. Both PGMR and DESC should be specified or none should be specified.
If an error is detected by RPF a suitable message will be displayed and retry is possible. Press
PFK03/PFK15 to escape from this screen
After having altered the fields and chosen the right option, the dataset will be allocated and Rick
Fochtman’s ARCHIVER will be invoked.
After completion of the Archiver, RPF will browse the Archiver output. It is recommended to check
this output.
If an error is detected by RPF a suitable message will be displayed and retry is possible. Press
PFK03/PFK15 to escape from this screen.
To leave the utility menu enter ‘X’ to go back to the main menu.
It is also possible to select the utility functions directly from the RPF main menu, without interference
of the utility menu (e.g. select ‘3.4’ for PDS-maintenance). If the utility is terminated in this case, RPF
always returns to the main menu.
You can specify a New Userid, a new ISPF/RPF version number and a new ISPF/RPF modification level
and you can change the 'DSNAME' and 'VOLUME' fields or select a data set from 1 of the 8 selection
fields.
Press ENTER to perform the allocation. If the allocation is not successful an error message will be
displayed in the message area and retry can be done. Press PFK03 or PFK15 to cancel Reset statistics
After successful allocation, the RPF Reset member list will be displayed.
To reset a member to the New Userid, new Version and new modification level, enter an 'S' before
the member name.
You will be responded with the message 'Reset' in the comments area.
To delete the ISPF or SPF statistics of a member, enter a 'D' before the member name.
You will be responded with the message 'ISPF/RPF stats deleted' in the comments area.
See 1.6.2. PDS Maintenance for more information concerning the member list.
After successful allocation, the RPF PDS maintenance selection panel will be displayed. This panel is
divided into 5 parts:
• The newname field for the ‘A’ and ‘R’ operation. this is an input field.
• The comments field. This is a protected field. This field contains the RPF statistics in the directory
or a response to the operations entered in field 1. The RPF statistics are set by the ‘SAVE’
command in the RPF editor and are in the same format as the IBM’s ISPF statistics. The statistics
will only be set if they are not already present. if present then the modification level will be
increased by 1. If the statistics are not present or a new member has been created, RPF will add
statistics in the same format as IBM’s ISPF statistics, and the version number is set to 01. The
fields in the statistics are:
If the member is a load module in a LOADLIB or program object library the following will be
displayed:
• The alias/update indicator. This is a protected field. The field contains ‘ALIAS’ if the member is an
alias (with an exception of load modules) or blanks if not updated today or not an alias. If the
member is updated today, the comment field (field 4) is highlighted.
Subcommand Function
BOTTOM Display the last screen of the directory listing. This command may be abbreviated
as ‘B’
END or RETURN Terminate PDS maintenance. RPF will go back to the utility menu with ‘END’ or
main menu with the ‘RETURN’ command
=n or =n.n Terminate PDS, return to main and execute option 'n' or option 'n.n'.
L ‘string’ Locate ‘string’ in the member name, TTR, date/time updated, or records. The to be
compared field depends on the sort order of the workspace (See SORT
subcommand). Specify 1-16 characters in the ‘string’ operand).
After successful execution of the command, RPFPDS will display the screen, where
the first line contains the member, where the first occurrence of ‘string’ was found
(highlighted). if no
match can be found the command will be ignored accompanied with the message:
TEXT NOT FOUND
PFK Display PFK screen. you can alter here your PFK settings. To alter the PFKs press
ENTER. To leave PFK press PFK03/PKF15.
Note
The changed PFK settings are only valid during this RPF session. To change the
PFKs on the RPF database select the defaults menu. (0 on the main menu)
PRINT Copy the member list in a temporary data set and invoke the browse processor. In
browse you have the PRINT command to print this listing in a SYSOUT class.
RESET Reset all outstanding messages. The member list will be rebuild, all queued
members be reset and the members deleted by an ‘D’ line-command will be
removed.
S member Edit the specified member. If the member does not exist, EDIT will be invoked with
an input screen to create the member.
SORT TTR Sort the members on TTR – order instead of alphabetic order, so it is easy to find
the members and it’s associated aliases. This sort is in DESCENDING ORDER
SORT SIZE Sort the members on number of records instead if alphabetic order, so it is easy to
find the smallest or biggest members. This sort is in DESCENDING order.
SORT CHA Sort the members on date/time last updated instead of alphabetic order, so it is
easy to find the last changes. This sort is also in DESCENDING order.
Note
All these commands can be set under PFK’s. Press the corresponding PFK to execute the command. if
you enter a command and an operation in the member area the operations will be executed first. RPF
comes back with the responses on the operations and the message: ‘Hit enter to exec Cmd.’ will be
displayed. Press ENTER to execute indicated command.
Explanation of the line commands in the member area. The following commands can be issued:
A Assign an alias. Type in the ‘newname’ field too. The response can be:
B or V Display the member, BROWSE will be invoked. See 1.4, “ BROWSE source data and output
listings.” for more information concerning browse. The following responses can appear:
D Delete the specified member. RPF will ask for confirmation with a confirmation panel. If
you press
ENTER, delete will be performed. if the PFK03 or PFKI5 key is used, the delete will be
rejected.
The possible responses are:
E EDIT the member with the RPF editor. This member will be edited with the default
options. See 1.5,” EDIT a dataset or PDS member.” to get an explanation of the EDIT
functions. After termination of the editor with the ‘SAVE’ or ‘END’ subcommand in EDIT,
RPF will return in PDS maintenance, if the member is saved in the same member and
dataset the user data field will be updated upon return to PDS maintenance and the
comments field will be highlighted..
After EDIT the following responses can be found in the comment field.
Note
It is possible, that both messages ‘Edited’ and ‘Created’ or ‘Updated/Replaced’ are
present in this PDS screen. This will be achieved by saving the edited member in another
member in the same PDS. Example: member ‘A’ is selected with an ‘E’ before the
member. In EDIT the member is saved into ‘B’, that was not present in this PDS. After
completion, the message after member ‘A’ was ‘Edited’ and member ‘B’ is now present in
the directory, with the message ‘Created’.
F Archive the member in the VSAM Archive cluster. Possible responses are:
• Archived, member successfully saved onto the Archive.
• Not Archived, Archive menu exited with X or PF3/PF15.
• ARCHIVER not installed.
P Print the specified member in the default SYSOUT class. The responses can be:
X Queue the member to the XMIT queue. You can queue more than 1 member.
You will be notified with the response Queued for transmission
S Select the member from the member selection list, if PDS maintenance has been entered
from BROWSE (option 1) of EDIT (option 2) from the main menu. In this case, the ‘S’ line-
command is the only valid command.
If the line command is not ‘A’, ‘B’, ‘D’, ‘E’, ‘F’, ‘P’, ‘R’, ‘S’, ‘V’, ’X’ or blank the message:
‘Select A,B,D,E,F,P,R,V or X’ will be set in the comments field for that member.
Note!
If you terminate PDS maintenance you can EDIT your member list with the editor in ‘NONUM’ mode
you can do it as follows:
1. Terminate PDS maintenance with ‘END’.
2. Terminate utility menu with ‘X’ (PFK03/15).
3. Select -2- on main menu and change options, but always CLEAR the dsname field.
4. Press ENTER to EDIT the member list.
1. The option: Specify ‘A’ for allocation, 'D' for deletion or ‘X’ for return (or PFK03/PFK15)
2. The prefix: The first qualifier of the dataset.
3. The library: The second qualifier of the dataset.
4. The type: The third qualifier of the dataset.
5. The unit name. The default is SYSDA.
6. The record format: specify F, FB, FBM, FBA, FBS, V, VB, VBM, VBA, VBS or U. If nothing specified
FB is assumed.
7. Volume: The volume on which the dataset must reside. if the volume is omitted, a storage volume
will be used.
8. The LRECL: Specify a value between 18 and 32760. The value '0' is only allowed if RECFM=U. If
LRECL=0 and RECFM is not U, LRECL will be defaulted to 80.
9. Space unit: Specify here ‘CYL’, ‘TRK’ or ‘BLK’.
If you press ENTER the dataset will be created or deleted, depending on the chosen option and the
allocation panel will be redisplayed with the message: ‘DATASET CREATED’ or ‘DATASET DELETED’ in
the message area.
If an error occurs during allocation retry will be performed and a suitable error message will be
displayed.
With option ‘D’, RPF will ask for confirmation of deleting the dataset. With PFK12/PFK24 the dataset
will be deleted. With PFK03/PFK15 the deletion will be rejected.
The ‘PREFIX’, ‘LIBRARY’, ‘SPACE UNIT’ and ‘PRIMARY’ fields are required. The ‘PREFIX’, ‘LIBRARY and
‘TYPE’ fields may contain more than 1 dataset level.
If '(*)' is specified immediately after the dataset name of the FROM dataset, all members of this
dataset will be copied/moved to the TO dataset, depending on the REPLACE parameter. The user will
be notified how many members are copied or moved and the allocation screen will be re-displayed.
If no '(*)' is specified, a member selection list is displayed. Each line of the list contains the following.
• The line command. This is an input field. The only line command is:
‘S’: Select the member for Move/Copy.
• The comments field. This is a protected field. This field contains the ISPF/RPF statistics or the load
module statistics in the directory or a response of the ‘S’ command entered in field 1. See “1.6.1
PDS Maintenance”, for a description of the ISPF/RPF and load module statistics.
RPF 1.8.4 User’s Guide – page 28
The RPF Move/Copy commands are:
Subcommand Function
BOTTOM Display the last screen of the directory listing. This command may be abbreviated
as ‘B’
END or RETURN Terminate Move/Copy. RPF will go back to the allocation menu with ‘END’ or main
menu with the ‘RETURN’ command
=n or =n.n Terminate Move/Copy, return to main and execute option 'n' or option 'n.n'.
PFK Display PFK screen. you can alter here your PFK settings. To alter the PFKs press
ENTER. To leave PFK press PFK03/PKF15.
Note
The changed PFK settings are only valid during this RPF session. To change the
PFKs on the RPF database select the defaults menu. (0 on the main menu)
SORT CHA Sort the members on date/time last updated instead of alphabetic order, so it is
easy to move/copy the last changed members. This sort is in DESCENDING order.
Note
All these commands can be set under PFK’s. Press the corresponding PFK to execute the command. if
you enter a command and an operation in the member area the operations will be executed first. RPF
comes back with the responses on the operations and the message: ‘Hit enter to exec cmd’ will be
displayed. Press ENTER to execute indicated command.
After having altered the dataset level and/or volser and PARM press ENTER. If only a dataset level has
been specified and option 1 is selected or defaulted, the catalog will be searched with the specified
data set level.
If the volume (and dataset level) has been specified and the volume is online, the screen will be
locked and the message 'VTOC running...' appears in the message area of the screen.
Note
• If PFK03 or PFK15 is pressed RPF will return to the VTOC menu or main menu if ‘3.3’ was selected.
• If VTOC or catalog processing has finished RPF will invoke RPFVTOC1 for a member selection list in
option 1 and will invoke the editor in NONUM mode for option 2. Here you have all the EDIT
facilities. See 1.5, “EDIT a dataset or PDS member.” For a description of the EDIT functions. If you
terminate the dataset selection list or the editor RPF returns to the VTOC menu.
Option 1
In option 1, a dataset selection list will be presented. In this list the following information will be
displayed for each dataset.
In this dataset list you can issue the following primary or line commands.
BOTTOM Display the last screen of the directory listing. This command may be abbreviated
as ‘B’
END or RETURN Terminate the dataset selection list. RPF will go back to the VTOC menu with ‘END’
or main menu with the ‘RETURN’ command
=n or =n.n Terminate VTOC, return to main and execute option ‘n’ or option ‘n.n’.
PFK Display PFK screen. You can alter here your PFK settings. To alter the PFKs press
ENTER. To leave PFK press PFK03/PKF15.
Note
The changed PFK settings are only valid during this RPF session. To change the
PFKs on the RPF database select the defaults menu. (0 on the main menu)
B or V Display the dataset, BROWSE will be invoked. See 1.4, “ BROWSE source data and output
listings.” For more information concerning browse. The following responses can appear:
• Viewed, successful display.
• No temporary dataset. RPFVTC1 is not allocated in RPFINIT. VTOC is unable to save the
workspace. This error is already detected upon start of RPF with the message: ‘INIT
ERROR RC= 0024’
• View not available. The specified dataset has not a RECFM of FB or VB or does contain
a record length longer than 255 bytes.
• Error in view. The dataset cannot be viewed due to an error, e.g. an authorization
problem.
D Delete the specified dataset. RPF will display a confirmation panel. If you press PFK12 or
PFK24, delete will be performed. Pressing PFK03 or PFKI5 key will reject the deletion.
The possible responses are:
• Deleted. A successful delete
• Scratch error. Dataset is uncatalogued, but cannot be scratched. Recatalog the dataset
with the ‘C’ line-command or scratch the dataset with IEHPROGM.
• VSAM dataset. You try to delete a VSAM component.
• Error in delete. The delete is unsuccessful. (delete is confirmed)
• Delete rejected by user. The confirmation panel is ended with PFK03 or PFK15.
E EDIT the dataset with the RPF editor. A member selection list will be displayed. See “1.5
Edit a dataset or a PDS member” for more information about EDIT. After EDIT, the
following responses can be found in the comment field.
• Edited. Successful edit.
• I/O error. Unrecoverable error detected.
• Edit not available. Dataset has a record length > 255 bytes and/of RECFM = not F(B) or
V(B).
• Error in EDIT. The dataset cannot be edited due to an error e.g. an authorization
problem.
• No temporary dataset. VTOC is unable to save the workspace, because the allocation
of the save dataset is failed. This error is already detected upon start of RPF with the
message: ‘INIT ERROR RC= 0024’
• Dataset/member in use. The dataset and member name cannot be edited, because
another TSO-user is busy with EDIT of the same dataset and member with RPF or with
the IBM product ISPF.
M Perform PDS maintenance. A member selection list will be displayed. See “1.6.1 PDS
maintenance” for more information about PDS-maintenance. After member list, the
following responses can be found in the comment field.
• Member list, Memberlist successful processed.
• Member list not available, Dataset is not partitioned.
• Error processing member list, Member list cannot be created due to an error e.g. an
authorization problem.
• No temporary dataset, VTOC is unable to save the workspace, because the allocation
of the save dataset is failed. This error is already detected upon start of RPF with the
message: ‘INIT ERROR RC= 0024’
R Rename a dataset. A RENAME panel will be displayed. You can enter a valid newname. If
you press ENTER, an attempt will be made to rename the dataset. Catalogued datasets
will be recatalogued with the new name. Rename is not possible for a multivolume
dataset or a VSAM dataset. In the rename panel a suitable message will be displayed if
you enters a wrong newname. After RENAME, the following responses can be found in the
comment field:
• Renamed. Dataset successfully renamed.
• Error in RENAME. The RENAME macro had suffered a nonzero return code. Possible
cause: dataset in use or user is not authorized to RENAME the dataset.
Z Compress the dataset. IEBCOPY will be invoked to perform this function. The following
responses are possible.
• Compress RC=xxxx. The dataset has been compressed, the return code is from
IEBCOPY.
• DYNALLOC error, one or more workdatasets of IEBCOPY cannot be allocated. This can
be caused by an abend of a previous RPF session or space problems on dasd.
• Compress not available. The dataset is not a PDS or you are trying to compress
SYS1.LINKLIB
• IEBCOPY abended. The compress function had abended for some reason.
If the line command is not ‘B’, ‘C’, ‘D’, ‘E’, ‘I’, ‘M’, ‘R’, ‘U’, ‘V’, ‘Z’ or blank the message:
‘Select B,C,D,E,I,M,R,U,V or Z’ will be set in the comments field for that dataset.
Note
All the primary commands can be set under PFK’s. Press the corresponding PFK to execute the
command. If you enter a command and an operation in the member area the operations will be
RPF 1.8.4 User ’s Guide - page 33
executed first. RPF comes back with the responses on the operations and the message: ‘HIT ENTER
TO EXEC CMD’ will be displayed. Press ENTER to execute indicated command.
Option 2.
The information is loaded in the EDIT workspace and the datasets are sorted in alphabetical order.
The first 3 lines displayed are header lines. This 1st line shows the name of the volume, the Julian
date and time, the used parm (‘SHORT’ or ‘LONG’) and the VTOC type (VTOC=IX for indexed or
VTOC=OS for a standard VTOC). The second header line will give you the VTOC boundaries The VTOC
indicators (DS4VTOCI, see debugging handbook), The number of directory blocks and the number of
DSCBs on a track. The third line contains the number of tracks/cylinder, length of the track in bytes
and the total number of cylinders on the volume. The last line of the workspace describes the empty
space on the volume.
The VTOC function of RPF supports the new indexed VTOC structure too. (data facilities/device
support DF/DS) If a volume with an indexed VTOC is taken the following extra information will be
displayed:
• The total number of free VTOC index records (VIRS)
• ‘VTOC=IX’ in the header line.
If the volume for which you requested a VTOC listing is not mounted the message ‘VOLUME NOT
AVAILABLE’ appears in the message area and the allocation screen will be displayed with retry
possibility. If you terminate EDIT with END, the VTOC menu will be displayed again.
Option V.
This option displays five summary lines on the VTOC menu. These lines contains VTOC and volume
information and a summary of the free space on the volume. After execution, the VTOC menu re-
appears.
• Date added/Date updated. If the master file is a tapemaster, date added will be shown. Date
updated will be displayed if the master file is a disk-master.
• The programmer name field, which contains the name of the creator of that module, or an
response of an line command entered in field 1. If it is an response of a line command, this field
will be highlighted.
Command Function
RPF 1.8.4 User ’s Guide - page 35
=n/=n.n Terminate LIBRARIAN mainternance. RPF will go back to the main and option ‘n’ or
‘n.n’ will be executed.
BOTTOM Display the last screen of the directory listing, this command may be abbreviated
as ‘B’
END or RETURN Terminate LIBRARIAN maintenance. RPF will go back to the utility menu with ‘END’
or main menu with the ‘RETURN’ command
L ‘string’ Locate member ‘string’ or member name, that start with ‘string’ (specify 1-8
characters in the ‘string’ operand). After successful execution of the command,
LIBRARIAN maintenance will display the screen, within the first line the LIBRARIAN
module, where the first occurrence of ‘string’ was found (highlighted). If no match
can be found the next module, wich contains the text next higher than the to be
located string will be the first line on the screen.
PFK Display PFK screen. You can alter here your PFK settings. To terminate the PFK
screen enter
‘END’.
Note!
The changed PFK settings are only valid during this RPF session. To change the
PFKs on the RPF database select the defaults menu. (0 on the main menu)
Command Function
BOTTOM Display the last screen of the directory listing. An alias of 'BOTTOM' is 'B'.
L 'string' Locate item 'string' or item name, that start with 'string' (specify 1-8 characters in
the 'string' operand). If found, the item will be the first line of the item list.
PFK Display PFK screen. You can alter here your PFK settings. To terminate the PFK
screen enter 'END'.
Note!
The changed PFK settings are only valid during this RPF session. to change the PFKs
on the RPF database select the defaults menu. (0 on the main menu).
REFRESH Read again the archive and re-populate the screen with the Archiver items.
TOP Start display with the top of the item listing. An alias of 'TOP' is 'T’.
The Sourcelib field. In this field, the member name and library name should be specified. The
dataset should be catalogued. Leave member name blank if the dataset is
sequential.
The OBJECT lib field. In this field, the member name and library of a object card image library
should be specified. If the member name is omitted, the member name of
the source lib will be used. If the library is omitted, a temporary dataset
will be allocated if assembly is selected, or no dataset will be allocated if
assembly is not selected.
The LOADLIB field. In this field, the member name and library of a load library should be
specified. If the member name is omitted, the member name of the object
RPF 1.8.4 User’s Guide – page 38
library will be used. By default this field contains the name of the source
lib. Only the suffix of the dataset name is changed into ‘LOAD’.
The INCLUDE library field This field gives you the possibility to specify a DDNAME and a DSNAME of
an extra OBJECT of LOAD library to perform extra inclusions of object or
load modules during link-edit. Both DDNAME and DSNAME should be
specified to perform the allocation of this dataset. The include of the object
or load modules can be done, by using the control statements fields.
The MACLIB fields This field contains 6 fields for maclibs to be allocated to the assembler. The
defaults are the ‘SYS1.MACLIB’ for the 1st field, the ‘SYS1.AMODGEN’ for
the 2nd field, and the dataset entered in the allocation menu in the 5th
field, if the dataset is partitioned. If one or more maclib fields are blank,
the field will be skipped.
Ex. If 1st maclib is specified, 2nd maclib is blank and 3rd maclib is specified,
2nd maclib will be skipped and 3rd maclib becomes 2nd maclib.
The assembler field. You can specify here ‘Y’ or ‘N’ to assemble your source or not. Default is ‘Y’.
The assembler output field. This field contains ‘P’, ‘T’ or ‘N’. Default is ‘N’ if you specify ‘P’ the
SYSPRINT comes on the screen after assembly (and link edit), If you specify
‘T’ the SYSTERM output will be browsed.
With ‘N’ no browse will be invoked, except if the assembler has given a
nonzero return code.
The additional assembler parm field. The default is blanks. You can specify here the the additional
parameters for the assembler. The parameters ‘NODECK’, ‘LOAD’ and
‘LINECOUNT(51)’ are already specified.
The ‘LKED EXEC’ field. You can specify here ‘Y’ or ‘N’ to link your assembler object deck or not.
Default is Y.
The linkage editor parm field.You can specify here the linkage editor parm. Default is
‘LIST,XREF,NCAL’.
The LKED output field. Select ‘Y’ or ‘N’ to BROWSE the linkage editor output after BROWSE of the
assembler output. Default is ‘N’ if the linkage editor has a return code of 0
and ‘Y’ if the link has a return code not equal 0.
The printer name Specify here the name of the remote printer, which will receive the output
is a “PRINT” subcommand has been given in the subsequent BROWSE. If no
printer specified the output will be locally printed
The output class Specify the output class for the listing.
The control statement fields. In these fields you can specify max 6 control statements for the linkage
editor.
If you hit ENTER after changing the fields all the datasets will be allocated. After successful allocation
of the all the assembler files the assembler will be invoked. The name of the assembler is the name
If the return code is 4 or below, the linkage editor will be invoked (only if LKED EXEC=Y is selected on
the screen). The start of the linkage editor will be indicated to the user by means of the message
‘LINKEDITOR RUNNING…’ in the message area.
If the assembler has ended with a return code higher than 4 the message ‘RC ASM=xx’ will appear
and the linkage editor will not be executed.
If the assembler and/or link editor has ended, the message ‘(RC ASM=xx,) (RC LKED=xx)’ will be
displayed on the screen. You can change now only the assembler output field on the screen. Press
ENTER to go to the output screen. The output screen is the BROWSE screen, see 1.4, “BROWSE
source data and output listings.” For more detailed information concerning BROWSE.
After completion of browse of the output of assembler end/or linkage editor the assembler menu will
reappear.
Note
You can escape from the assembler screen with the command ‘END’ or the PFKs 3 or 15. RPF will go
back to the main menu.
If a command does not exist or it is not recommended to do that (like LOGON,LOGOFF and RPF)
RPFTSO will come back with the message ‘Command is not supported’
1. The RPF introduction. The introduction contains a short description of how RPF works.
2. The RPF commands. These screens contain a short description of the RPF commands.
3. The RPF return codes. These screens contain an explanation of the return codes, that are
displayed in some RPF messages.
4. The RPF messages: These screens contain all the RPF messages.
5. The RPF Release notes. These screens contain the latest improvements made by the RPF
developers.
RPF 1.8.4 User’s Guide – page 40
X. Terminate the RPF HELP menu. RPF will go back to the main menu.
It is also possible to select the HELP functions directly from the RPF main menu, without interference
of the HELP menu (e.g. select ‘7.5’ for HELP-Release notes). If the function is terminated in this case,
RPF always returns to the main menu.
For the subcommands of the HELP panels see 1.4,” BROWSE source data and output listings.”
If you enter five wrong passwords, RPF will go back to the main menu.
If the password is correct, the RPF test menu will be displayed. You can select the following numbers.
1. Display the session status. Press ENTER to go back to the main menu.
2. The operator mode
3. Display the RPF control blocks and entry points. The entry points can be reloaded with the
RELOAD ‘modname’ command.
4. Attach a program to be tested.
5. Display the RPF internal return codes.
1. X. (or PFK03 or PFK15) Terminate the RPF test menu.
Command Function
A=ALL Display all the executing tasks in the system. (batch, time sharing users,
initiators and started tasks) Each line contains: the taskname, the address-
space number in hex, the type (JOB, STC or TSU), ‘N-TIMING’ if no SMF timing
is used, the dispatching priority and ‘SWAPPED OUT if the task is swapped out.
A=STC Display only the started tasks and the inactive initiators in the system.
J=all Display all the tasks in the system, except the inactive initiators.
D UCB=dddd Display the UCB of device dddd, This display contains the same information as
the ‘D VOL=vvvvvv’ command. Use always 4 characters for the device
address.
END or E Terminate RPF operator mode. The message ‘RPF OPER, All functions
completed’ will be displayed together with three asterisks (‘***‘) press ENTER
to return to the RPF main menu.
Note: RPFOPER can be run as a command on the native TSO terminal (the READY prompt). Enter the
command RPFOPER to run this command.
No workspace available
System Action: EDIT workspace NOT getmained. All options with the exception of option 0 are
disabled.
Programmer Response:
1. Select option 0 – Defaults and select 1 to update the number of lines in the workspace.
2. Stop RPF by pressing PFK3/PFK15 and relogon with a larger REGION size
See chapter 1.3 Change session defaults for more information.
No HELP dataset
System Action: HELP menu not displayed.
Programmer Response: Allocate the HELP dataset under ddname RPFHELP or add ‘HELP=dsname’ in
the second record of the RPFKEY00 member in SYS1.PARMLIB
Unacceptable format
System Action: EDIT function terminated.
Programmer Response: Select ‘LINE NUMBERS=YES’ or ‘NO’ on the EDIT dataset menu.
I/O error
System Action: EDIT function terminated.
Programmer Response: Unrecoverable error. Edit a different data set or member.
Workspace full
System Action: EDIT function terminated.
Programmer Response: SAVE your workspace and increase the size.
RC = x
System Action: The SAVE function executed.
Programmer Response: None.
1. Stop RPF, free RPFEDT1 and RPFVTC1 with the TSO command ‘FREE’ and restart RPF.
2. Accept the error but the EDIT function of PDS maintenance and LIBRARIAN maintenance and the
BROWSE, EDIT and Member List in VTOC are not available.
3. If no solution can be found, contact systems programming.
© 1979-2020 Skybird
System Action: None
Programmer Response: None, successful sign on to RPF.
Dataset/Member in use
System Action: EDIT canceled, return to main menu.
Programmer Response: This will happen if the dataset and member is edited or beeing save by
another TSO user
with RPF or the IBM product SPF. Wait for availability of the member or EDIT another member.
ABENDxxx in Browse
System Action: BROWSE terminated, main menu displayed.
Programmer Response: Contact systems programming if a severe abendcode (like 0Cx abends).
No storage available
System Action: DOWN or BOTTOM subcommand terminated.
Programmer Response: Decrease EDIT workspace (option 0.1) or re-logon to TSO with a larger
REGION size.
SUBMIT failed
System Action: SUBMIT not executed due to an allocation error of the internal reader
Programmer Response: Contact the RPF developer.
No JCL dataset
System Action: SUBMIT not executed.
Programmer Response: Specify a card-image dataset with JCL.
I/O error
System Action: APPEND function terminated.
Programmer Response: Unrecoverable error. Append a different data set or member.
Invalid command
System Action: Command ignored.
Programmer Response: Enter a valid command or ‘HELP’ to list the commands.
Overflow
System Action: Screen changes and command ignored.
Programmer Response:
• An overflow was detected during an 'I' or an 'R' command or calculation in LINE routine, contact
the RPF builders.
Delete failed
System Action: ‘DEL’ command ignored.
Programmer Response: Do not delete more lines, than are present from the start line till the end of
the workspace. If you want to delete until the end of the workspace use ‘99999999’ in the second
operand or use the line command ‘DB’.
Input terminated
System Action: ‘I’ command ignored.
Programmer Response: 1. Input fewer lines or 2. Save the workspace, increase workspace and re-
EDIT the dataset.
Submit failed
System Action: Submit terminated.
Programmer Response: Check if the ‘JCL’ attribute is present in the TSO ‘SYS1.UADS’ dataset. If the
JCL attribute is present, then it is a severe error. Contact systems programming If the JCL attribute is
not present, you are not authorized to submit jobs. Contact systems programming to add the JCL
attribute.
Line-x invalid
System Action: Command ignored.
Programmer Response: Enter a line number that exists in the workspace.
Copy terminated
System Action: ‘CO’ or ‘MO’ command ignored.
Programmer Response: SAVE the workspace, increase the workspace and re-EDIT the dataset.
Workspace renumbered
System Action: Successful execution of RENUMBER subcommand.
Programmer Response: None.
Nothing to RETRIEVE
System Action: No commands retrieved. Possible the first command entered in the RPF session.
Programmer Response: None.
Conflicting commands
System Action: Primary and (pending) line commands ignored. RPF will blank the command field and
will issue an implicit ‘RESET to reset the pending line-commands.
Programmer Response: Do not enter line commands and primary commands other than ‘F , ‘L’ or ‘M’
together or do not enter confliction line commands (like CC - CC - DD).
No clipboard file
System Action: RPFCTPST was not allocated due to some reason.
Programmer Response: Check empty space on disk volumes with use attribute “storage” or “public”
and restart RPF.
Abendx37 in RPFSAVE
System Action: EDIT workspace recovered and EDIT not left.
Programmer Response: Save data in another dataset.
Hardcopy failed
System Action: Hardcopy aborted, ‘SEND’ failed.
Programmer Response: This can be a malfunction of the printer, contact systems programming
Copies invalid
System Action: ‘HAR’ command ignored.
Programmer Response: Re-enter the command with a right copy number.
LU=xxxxxxxx invalid
System Action: ‘HAR’ command ignored
Programmer Response: The printer-name specified do not exist in the network. Specify another
printer name.
Hardcopy made
System Action: Hardcopy executed successful.
Specify Masterfile
System Action: LIBRARIAN read: RPF waits for action
Programmer Response: Execute indicated action.
Specify library
System Action: PANVALET read: RPF waits for action
Programmer Response: Execute indicated action.
Specify Archive
System Action: Retry screen displayed.
Programmer Response: Specify an Archiver VSAM cluster.
S=Reset,D=Delete stats
System Action: None, informational message in option 3.0.
Programmer Response: None.
Invalid command
System Action: Command ignored.
Programmer Response: Enter a valid command.
Invalid option
System Action: Function ignored.
Programmer Response: Select ‘1’, ‘2’ or ‘x’ on the retry menu.
RPF 1.8.4 User’s Guide – page 56
Invalid RECFM
System Action: Function ignored.
Programmer Response: Specify RECFM=F, FB, FBM, FBA, FBS, V, VB, VBM, VBA, VBS or U
Invalid LRECL
System Action: Function ignored.
Programmer Response: Specify a numeric value.
Invalid BLKSIZE
System Action: Function ignored.
Programmer Response: Specify a numeric value.
LRECL < 18
System Action: Function ignored.
Programmer Response: Increase LRECL.
BLKSIZE < 18
System Action: Function ignored.
Programmer Response: Increase BLKSIZE.
Dataset allocated
System Action: Successful allocation of a new dataset.
Programmer Response: None.
Dataset deleted
System Action: Dataset uncatalogued and scratched.
Programmer Response: None.
Invalid command
System Action: Command ignored.
Programmer Response: Enter a valid command.
No FROM/TO dataset
System Action: Allocation menu re-displayed
Programmer Response: Specify the dataset (and volume) of both FROM and TO datasets
No members in FROM ds
System Action: Allocation menu re-displayed
Programmer Response: Do not specify empty partitioned datasets.
IEBCOPY error
System Action: Browse invoked to browse the SYSPRINT output of IEBCOPY and allocation menu re-
displayed afterwards.
Programmer Response: IEBCOPY had a non-zero return code during copy of all members. See the
IEBCOPY output.
Invalid option
System Action: Function ignored.
Programmer Response: Select function ‘1’ or ‘X’.
INVALID PARM
System Action: Retry screen displayed
Programmer Response: Specify PARM=SHORT, LONG or VOL and re-enter.
No datasets found
System Action: Retry screen displayed
Programmer Response: No datasets found in the catalog with this level, specify a different level.
VTOC running…
System Action: The keyboard is locked and RPF is busy with reading the VTOC
Programmer Response: Wait for completion.
Invalid command
System Action: Command ignored.
Programmer Response: Enter a valid command.
Specify Masterfile
System Action: RPF waits for action.
Programmer Response: Specify a valid LIBRARIAN master file.
Invalid command
System Action: Command ignored.
Programmer Response: Enter a valid command.
Specify Archive
System Action: Retry screen displayed.
Programmer Response: Specify an Archiver VSAM cluster.
Invalid command
System Action: none, command ignored.
Programmer Response: enter a valid command.
ASSEMBLER running..
System Action: RPF locks the keyboard and RPF bas invoked the Assembler.
Programmer Response: Wait for completion.
LINKEDITOR running..
System Action: RPF locks the keyboard and RPF has invoked the linkage editor.
Programmer Response: Wait for completion.
RPF-TSO: Ready
System Action: TSO command executed.
Programmer Response: Press ENTER to continue.
PFK’s reset
System Action: Changes of PFKs executed.
Programmer Response: None.
TEMPRPF restricted
System Action: Save not executed, retry screen displayed.
Programmer Response: Enter another member name. (TEMPRPF is used in the internals of RPF).
Dataset/member in use
System Action: SAVE: retry screen displayed and save ignored, because the same dataset and
member is processed by an RPF of another TSO user
Programmer Response: Wait for availability of the ds/member or save the data in another member
or dataset.
Notes
• The modules with AMODE N/A are loaded and called, so the addressing mode will be inherited
from the caller.
• All the RPF programs are written in Assembler-XF.
• RPF uses eight user macros: SYCONVHX the convert hex to EBCDIC macro, SYALLOC the dynamic
allocation macro, JCLCOMM used in the JCL processor, RCTOSBA copy code for calculation a
row/column to SBA, RPFCOMM macro to define the RPF common area, GAMOS to switch to
AMODE 31, GAMAPP to switch to AMODE 31/32/64 and SETUP to setup the AMODE
environment. GAMOS, GAMAPP and SETUP are created by Paul Edwards.
Another possibility is to install RPF normally and run a foreground assembly with RPF option 4 of the
modules RPFASM00, RPFDAIR, RPFLISTC, RPFOPER and RPFVTOC. See figure below.
1.13.5 Clean up
After RPF has been installed into SYS2.CMDLIB or equivalent, you can delete the optional datasets if
you wish:
1. RPF.V1R8M4.SRPFASM
2. RPF.V1R8M4.SRPFLOAD
3. RPF.V1R8M4.SRPFOBJ
4. RPF.V1R8M4.SRPFJCL
5. RPF.V1R8M4.SYS1MAC
Start RPF on your TSO terminal and enter option 3.4 (data set list) and specify 'RPF' (without quotes)
in the PREFIX field. Place a D before the dataset name and confirm the deletion with PFK12 of PFK24.
The default unit name of existing not-catalogued datasets is SYSALLDA. The default unit name of
newly created and temporary work datasets is SYSDA. These defaults can be changed by applying the
following ZAP
//ZAPUNIT JOB (acct),pgmr
//ZAP01 EXEC PGM=AMASPZAP,PARM=’IGNIDRFULL’
//SYSPRINT DD SYSOUT=*
//SYSLIB DD DSN=rpf.loadlib,DISP=SHR
//SYSIN DD *
NAME RPFMAIN COMMAREA
VER 0018 E2E8E2C4C1404040 * C’SYSDA’
REP 0018 * replacement of SYSDA
VER 0020 E2E8E2C1D3D3C4C1 * C’SYSALLDA’
REP 0020 * replacement of SYSALLDA
/*
The module RPFPAN00 needs the PANVALET access method (PAM). This module should be available
and will be dynamically loaded. PAM is a part of Panvalet and not included in RPF.
Note
The RPF common area can be mapped, by using the ‘RPFCOMM’ macro.
If you want to use the HAR subcommand of RPF, then include the application ‘RPFHCPY’ in
application major node of your VTAM definition library. Example how to define RPFHCPY follows
below:
If RPF is installed, add RPFKEY00 in the SYS1 PARMLIB in the next example:
In the main menu (option 5) is an user exit available. The name of the userexit should be RPFUSER1.
Each function in RPFUSER1 is allowed; e.g. filling the workspace, link and call other RPF routines. The
entry points of the following RPF routines are available. The entry points can be found in the
‘RPFCOMM’ area.
RPFUSER1 CSECT
BALR 15,0 Clean Entry Point register
USING *,15 Get temporary addressability
SAVE (14,12),,* Save registers
LA 11,SAVEAREA Get save area
ST 11,8(0,13) Forward pointer in SA-chain
ST 13,SAVEAREA+4 Backward pointer SA-chain
LR 13,11 Pickup save area
B START Branch around save area
DS 0H
SAVEAREA DC 18F’-1’ Declare the save area
START DS 0H
DROP 15 Kill temporary addressability
USING SAVEAREA,13 Use register 13 as base
L 11,0(1) Pickup parameter
USING COMMAREA,11 Address ‘RPFCOMM’ area
... )
... ) Your own coding
... )
... )
... )
LINK EP=RPFPDS,PARAM=((11)) (Example how to LINK)
...
L 15,EPEDIT
CALL (15),((11)) Example how to call
...
COMMAREA RPFCOMM, Dsect
END
Example how to allocate the RPF database. This job is in member ALLOCDB in the JCL library.
RPFLIB01 and RPFPAN01 (the LIBRARIAN- and the PANVALET update processor) loads the module
RPFLIB02 if present. RPFLIB02 contains a table, which contains userid/name entries. This module
should be updated according the standards in your installation. You should specify the names of the
inhouse TSO-userid’s. A skeleton member called RPFLIB02 is added. The entry is 22 bytes long, 7
bytes userid followed with a 15 byte name field.
Note.
Do not code blanks inside the name field. See example of RPFLIB02 below.
RPFLIB02 CSECT *)
* *)
* LICENSED MATERIAL (C)-2020 Skybird Systems *)
* *)
$LENGTH EQU 22 LENGTH OF ENTRY *)
SENTRIES DC A(($STOP-$START)/$LENGTH) NUMBER ENTRIES *)
DC CL7’TSOUSER’,CL15’CHARLIE_TSO’
DC CL7’IBMUSER’,CL15’JOHN.CE’
$LAST DC 22X’FF’ SHOULD BE THE LAST ENTRY *)
SSTOP EQU * *)
END *)
Figure 9. RPFLIB02
Note.
The statements flagged with a ‘*)‘ are in the skeleton deck.
Note
All these defaults can be overruled by the user. Select ‘0’ on the main menu to change the defaults.
The defaults for the user are written on the RPF database if available.