Mainframestechhelp
  • Home
  • What is?
    • Mainframe
  • Tutorials
    • TSO
    • ISPF New
    • COBOL
    • JCL
    • DB2
    • VSAM
    • CICS
    • IMS DB
    • GDG
  • Utilities
    • IDCAMS
    • IEBCOPY
    • IEBGENER
    • SORT or DFSORT
    • ICETOOL
    • IEFBR14
    • IKJEFT01
  • Examples
    • COBOL
    • JCL
    • DB2
    • VSAM
    • SORT or DFSORT
    • IDCAMS
    • IEBGENER
    • IEBCOPY
    • ICETOOL
    • IEFBR14
  • Short Notes
    • COBOL
    • JCL
  • Interview Questions
    • COBOL
    • JCL
    • DB2
    • VSAM
    • CICS
    • IMS DB New
    • PL/I New
  • Tools
    • SDSF
    • QMF New
  • COBOL
  • JCL
  • DB2
  • VSAM
  • CICS
  • IMS DB
  • TSO
  • ISPF
  • GDG
ISPF Tutorial Topics
  • ISPF Tutorial Home Page
  • Introduction
  • Interacting with ISPF
  • ISPF Settings Panel
    (Option 0)
  • ISPF Utilities Panel
    (Option 3)
  • ISPF Library Utility
    Panel (Option 3.1)
  • ISPF Data Set Utility
    Panel (Option 3.2)
    • ISPF Create PS
    • ISPF Create PDS
    • ISPF Uncatalog Datasets
    • ISPF Catalog Datasets
    • ISPF Rename Datasets using 3.2
    • ISPF Delete Datasets using 3.2
  • ISPF Move | Copy Panel
    (Option 3.3)
  • ISPF Data Set List
    Utility Panel
    (Option 3.4)
    • ISPF Dataset List (DSLIST) Actions
    • ISPF List Datasets
    • ISPF Filtering Search for DataSet
    • ISPF Create PDS Member
    • ISPF Member Actions for PDS
    • ISPF PDS member Management
    • ISPF Member List Statistics
    • ISPF Command Line Fields for Member List
    • ISPF PS File Management
  • ISPF Command Shell
    (Option 6)
    • Send file to Mainframe Server
    • Receive file from Mainframe Server
  • ISPF SuperCE Utility
    (Option 3.13)
  • ISPF Search-For Utility
    (Option 3.14)
  • ISPF Extended Search-For
    Utility (Option 3.15)
  • ISPF Editor
    • ISPF Primary Commands in Edit or Browse or View modes
    • ISPF Data Manipulation Commands
    • ISPF Labels
    • ISPF Scrolling Options
    • ISPF Edit User Profile
    • ISPF Find Command
    • ISPF Change Command
  • ISPF Primary Commands in Edit or Browse or View modes

    Primary Commands are commands that can be entered on the command line while working with a dataset or member of a Partitioned Dataset (PDS). These commands allow you to perform various operations, such as searching, editing, sorting, or managing data.

    General Rules -

    • Separators: Use either a blank or a comma to separate command operands.
    • Command Input Field:
      • Trailing nulls exist, so you can insert/expand operands but cannot use cursor keys to add spaces between operands.
    • Error Handling: If there’s an error in the command, a message is displayed, and the command remains in the command field.
    • Ampersand Usage (&): Precede a command with & to keep it in the command field after execution.
    Note! All the below commands are applicable when the dataset is opened in Edit or Browse or View modes

    Primary Commands -

    CommandDescriptionUsage/Example
    BOUNDSSet left and right margins for editing.BOUNDS 1 72 sets boundaries to columns 1-72.
    CANCELCancel editing without saving changes.CANCEL exits without saving.
    CAPSSet CAPS mode ON or OFF.CAPS ON saves data in uppercase.
    CHANGEFind and replace a string.CHANGE ABC XYZ ALL replaces ABC with XYZ.
    COPYCopy data from another member or dataset.COPY MEMBER1 copies contents of MEMBER1.
    CREATECreate a new member in a PDS.CREATE NEWMEM creates a member NEWMEM.
    CUTCopy or move data to a clipboard.CUT saves the selected lines.
    DISPLAYShow invalid characters in Browse mode.DISPLAY makes non-printable characters visible.
    DELETEDelete lines in edit mode.DELETE ALL removes all excluded lines.
    EDITOpen another member for editing recursively.EDIT MEMBER2 opens MEMBER2 for editing.
    ENDExit the edit session. Saves changes based on the AutoSave setting.END ends the session.
    EXCLUDEHide lines containing a specific string.EXCLUDE ABC hides lines with ABC.
    FINDLocate a specific character string.FIND XYZ locates XYZ in the dataset.
    HEXEnable HEX mode to view hex values.HEX ON turns on hex display.
    HILITEEnable enhanced color settings for code.HILITE COBOL highlights COBOL syntax.
    MODELInsert predefined templates or models.MODEL JCL copies a predefined JCL template.
    MOVEMove data to another member or dataset.MOVE MEMBER3 moves contents to MEMBER3.
    NULLSTurn NULLS mode on or off.NULLS ON enables null fields.
    NUMBEREnable line numbering.NUMBER adds sequence numbers.
    PASTEPaste data copied with the CUT command.PASTE pastes the clipboard content.
    RENUMRenumber lines in NUMBER mode.RENUM renumbers all lines sequentially.
    REPLACEReplace a member or dataset.REPLACE MEMBER4 replaces MEMBER4 content.
    SAVESave changes without exiting the editor.SAVE writes changes to the dataset.
    SORTSort data based on columns or sequence.SORT 1 10 A sorts columns 1-10 in ascending order.
    TABSEnable/disable TABS mode and set logical tabs.TABS ON turns on tabs.
    UNDOUndo the last change or command.UNDO reverts the last action.
    UNNUMRemove line numbering.UNNUM clears sequence numbers.

    Examples -

    In the EDIT screen, standard scrolling commands like UP, DOWN, LEFT, and RIGHT are valid. For example:

    • DOWN 5: Moves the display down by 5 lines.
      Down Command Panel Down Command Panel
    • UP 10: Moves the display up by 10 lines.
      Up Command Panel Up Command Panel
    • CREATE SIXTENPG: Creates new member.
      Create Command Create Command Create Command

    About
    • About Us
    • Careers
    • Privacy policy
    • Terms and conditions
    • Helping
    • Contact Us
    FOLLOW US

    2014 - 2025 Mainframestechhelp. All Rights Reserved.