z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Edit macro command summary

z/OS ISPF Edit and Edit Macros
SC19-3621-00

This table summarizes the edit macro commands. See the complete description of the commands on the referenced page.

Table 1. Summary of the macro commands
Topic Description
AUTOLIST—Set or Query Autolist Mode Sets the current autolist mode or retrieves the value and places it in a variable.
AUTONUM—Set or Query Autonum Mode Sets the current autonum mode or retrieves the value and places it in a variable.
AUTOSAVE—Set or Query Autosave Mode Sets the current autosave mode or retrieves the value and places it in a variable.
BLKSIZE—Query the Block Size Returns the block size of the data set being edited in a specified variable.
BOUNDS—Set or Query the Edit Boundaries Sets the left and right boundaries or retrieves the values and places them in variables.
BROWSE—Browse from within an Edit Session Browses another member in the data set.
BUILTIN—Process a Built-In Command Processes a built-in command even if a macro or macro statement with the same name has been defined.
CANCEL—Cancel Edit Changes Ends the edit session without saving any changes.
CAPS—Set or Query Caps Mode Sets caps mode.
CHANGE—Change a Search String Changes a data string to another string.
CHANGE_COUNTS—Query Change Counts Retrieves the values set by the most recently processed CHANGE command and places these values in variables.
COMPARE—Edit Compare Compares a library member or data set with the data being edited.
COPY—Copy Data Copies a member of the library into the member being edited.
CREATE—Create a Data Set or a Data Set Member Creates a new member from the data that is being edited.
CURSOR—Set or Query the Cursor Position Sets the relative line and column number of the cursor or retrieves the values and places them in variables.
CUT—Cut and Save Lines Cut and save lines.
DATA_CHANGED—Query the Data Changed Status Retrieves the data changed status and places it in a variable.
DATA_WIDTH—Query Data Width Retrieves the logical data width and places it in a variable.
DATAID—Query Data ID Retrieves the data ID for the data set being edited and places it in a variable.
DATASET—Query the Current and Original Data Set Names Retrieves the name of a data set and places it in a variable.
DEFINE—Define a Name
  • Assigns an alias to a macro or built-in command.
  • Disables the use of a macro or built-in command.
  • Identifies a macro that replaces a built-in command of the same name.
  • Identifies programs that are edit macros.
DELETE—Delete Lines Deletes lines from the data.
DISPLAY_COLS—Query Display Columns Retrieves the column numbers for the first and last data columns on the panel and places them in variables.
DISPLAY_LINES—Query Display Lines Retrieves the relative line numbers of the first and last data lines that would appear if the macro ended and places them in variables.
DOWN—Scroll Down Scrolls data down from the current panel position.
EDIT—Edit from within an Edit Session Edits another member in the data set (recursive editing).
END—End the Edit Session Ends the edit session.
EXCLUDE—Exclude Lines from the Display Marks lines in the data that should not appear.
EXCLUDE_COUNTS—Query Exclude Counts Retrieves the values set by the most recently processed EXCLUDE command and places them in variables.
FIND—Find a Search String Locates a search string. It is recommended that you do not use FIND in a macro because any excluded data string found is shown on the panel. Use SEEK to perform the identical function without changing the line's exclude status.
FIND_COUNTS—Query Find Counts Retrieves values set by the most recently processed FIND or RFIND command and places them in variables.
FLIP—Reverse Exclude Status of Lines Reverses the exclude status of a specified group of lines in a file or of all the lines in a file.
FLOW_COUNTS—Query Flow Counts Retrieves values set by the most recently processed TFLOW command and places them in variables.
HEX—Set or Query Hexadecimal Mode Sets the hexadecimal mode or retrieves the value and places it in a variable.
HIDE—Hide Excluded Lines Message Removes the "n Line(s) not Displayed" messages from the display where lines have been excluded by the EXCLUDE command.
HILITE—Enhanced Edit Coloring Highlights in user-specified colors many language-specific constructs, program logic features, the phrase containing the cursor, and any strings that match the previous FIND operation or those that would be found by an RFIND or RCHANGE request. Can also be used to set default colors for the data area in non-program files and for any characters typed since the previous Enter or function key entry.
IMACRO—Set or Query an Initial Macro Sets or retrieves the value for the initial macro in the profile and places it in a variable.
INSERT—Prepare Display for Data Insertion Displays one or more lines for data entry.
LABEL—Set or Query a Line Label Sets or retrieves the values for the label on the specified line and places them in variables.
LEFT—Scroll Left Scrolls data left from the current panel position.
LEVEL—Set or Query the Modification Level Number Sets the modification level number or retrieves the value and places it in a variable.
LINE—Set or Query a Line from the Data Set Sets or retrieves the data from the data line and places it in a variable.
LINE_AFTER—Add a Line to the Current Data Set Adds a line after the specified line.
LINE_BEFORE—Add a Line to the Current Data Set Adds a line before the specified line.
LINE_STATUS—Query Source and Change Information for a Line in a Data Set Retrieves source and change information for a specified data line.
LINENUM—Query the Line Number of a Labeled Line Retrieves the relative line number of a specified label and places it in a variable.
LOCATE—Locate a Line Locates a line.
LRECL—Query the Logical Record Length Returns the logical record length of the data being edited in a variable.
MACRO—Identify an Edit Macro Identifies a command as a macro. MACRO is required for all macros and must be the first command in a CLIST or REXX exec macro that is not a CLIST or REXX exec statement or the first edit command in a program macro.
MACRO_LEVEL—Query the Macro Nesting Level Retrieves the nesting level of the macro being run and places it in a variable.
MACRO_MSG—Set or Query the Macro Message switch Sets or retrieves the value of the macro_msg switch, which controls whether macro processing delivers ISPF messages to the macro.
MASKLINE—Set or Query the Mask Line Sets or retrieves the value of the mask line, which controls the display formatting of input.
MEMBER—Query the Current Member Name Retrieves the name of the ISPF library member currently being edited and places it in a variable.
MEND—End a Macro in the Batch Environment Ends a macro that is running in the batch environment. MEND is obsolete.
MODEL—Copy a Model into the Current Data Set Copies a specified dialog development model before or after a specified line.
MOVE— Move a Data Set or a Data Set Member Moves a member of a data set and places it after or before the line specified.
NONUMBER—Turn Off Number Mode Turns off number mode.
NOTES—Set or Query Note Mode Sets the current note mode or retrieves the value and places it in a variable.
NULLS—Set or Query Nulls Mode Sets the current nulls mode or retrieves the value and places it in a variable.
NUMBER—Set or Query Number Mode Sets the current number mode or retrieves the value and places it in a variable.
PACK—Set or Query Pack Mode Sets the current pack mode or retrieves the value and places it in a variable.
PASTE—Move or Copy Lines from Clipboard Move or copy lines from a clipboard.
PRESERVE—Enable Saving of Trailing Blanks Sets the current pack mode or retrieves the value and places it in a variable.
PROCESS—Process Line Commands Controls when the line commands or data changes typed at the keyboard are to be processed.
PROFILE—Set or Query the Current Profile Allows you to view or change the default modes for your edit session.
RANGE_CMD—Query a Command That You Entered Identifies the name of a line command typed at the keyboard and processed by a macro.
RCHANGE—Repeat a Change Repeats the most recently processed CHANGE command.
RECFM—Query the Record Format Retrieves the record format of the data set being edited and places the value in variables.
RECOVERY—Set or Query Recovery Mode Sets the recovery mode or retrieves the value and places it in a variable.
RENUM—Renumber Data Set Lines Sets number mode on and renumbers all data lines.
REPLACE—Replace a Data Set or Data Set Member Replaces the specified member in the library with the data specified in the member being edited.
RESET—Reset the Data Display Restores the status of lines or deletes special temporary lines.
RFIND—Repeat Find Locates the data string defined by the most recently processed SEEK, FIND, or CHANGE command, or excludes a line that contains the data string from the previous EXCLUDE command.
RIGHT—Scroll Right Scrolls data to the right of the current panel position.
RMACRO—Set or Query the Recovery Macro Sets or retrieves the name of the macro set in this edit session.
SAVE—Save the Current Data Saves the data.
SAVE_LENGTH—Set or Query Length for Variable-Length Data Sets or queries the length to be used to save each record in a variable-length file.
SCAN—Set Command Scan Mode Sets the current value of scan mode (for variable substitution) or retrieves the value and places it in a variable.
SEEK—Seek a Data String, Positioning the Cursor Finds one or more occurrences of a data string. SEEK is similar to FIND; however, when a string is found, the exclude status of the line is not affected.
SEEK_COUNTS—Query Seek Counts Retrieves the values set by the most recently processed SEEK command and places them in variables.
SESSION—Query Session Type Identifies the type of session in which the macro is running
SHIFT (—Shift Columns Left Moves columns of data to the left.
SHIFT )—Shift Columns Right Moves columns of data to the right.
SHIFT <—Shift Data Left Moves data to the left.
SHIFT >—Shift Data Right Moves data to the right.
SORT—Sort Data Puts data in a specified order.
STATS—Set or Query Stats Mode Sets the current stats mode or retrieves the value and places it in a variable.
SUBMIT—Submit Data for Batch Processing Submits data that is to be processed as a batch job.
TABS—Set or Query Tabs Mode Sets the tabs mode or retrieves the mode and places it in a variable.
TABSLINE—Set or Query Tabs Line Sets the tabs line or retrieves the tabs line and places it in a variable.
TENTER—Set Up Panel for Text Entry Prepares the panel for power typing.
TFLOW—Text Flow a Paragraph Restructures paragraphs.
TSPLIT—Text Split a Line Divides a line so data can be added.
UNNUMBER—Remove Sequence Numbers Removes the numbers from the data set and turns number mode off.
UP—Scroll Up Scrolls data up from the current panel position.
USER_STATE—Save or Restore User State Saves or restores the state of the edit profile values, FIND and CHANGE values, and panel and cursor values.
VERSION—Set or Query Version Number Sets the version number or retrieves the value and places it in a variable.
VIEW—View from within an Edit Session Views another member in the data set.
VOLUME—Query Volume Information Retrieves the volume serial number (or serial numbers) and the number of volumes on which the data set resides.
XSTATUS—Set or Query Exclude Status of a Line Sets the exclude status of the specified data line or retrieves the value and places it in a variable.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014