ISPF Edit and Edit Macros
Total Page:16
File Type:pdf, Size:1020Kb
z/OS Version 2 Release 3 ISPF Edit and Edit Macros IBM SC19-3621-30 Note Before using this information and the product it supports, read the information in “Notices” on page 439. This edition applies to Version 2 Release 3 of z/OS (5650-ZOS) and to all subsequent releases and modifications until otherwise indicated in new editions. Last updated: 2019-06-21 © Copyright International Business Machines Corporation 1984, 2019. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Figures................................................................................................................. xi Tables.................................................................................................................xix Preface...............................................................................................................xxi About this document................................................................................................................................. xxi Who should use this document.................................................................................................................xxi How to read the syntax diagrams..............................................................................................................xxi z/OS information................................................................................................xxv How to send your comments to IBM.................................................................. xxvii If you have a technical problem............................................................................................................. xxvii Summary of changes......................................................................................... xxix Summary of changes for z/OS Version 2 Release 3 (V2R3)................................................................... xxix Summary of changes for z/OS Version 2 Release 2 (V2R2)................................................................... xxix Summary of changes for z/OS Version 2 Release 1 (V2R1)................................................................... xxix What's in the z/OS V2R3 ISPF library?............................................................... xxxi Part 1. The ISPF editor.......................................................................................... 1 Chapter 1. Introducing the ISPF editor....................................................................................................... 3 What is ISPF?..........................................................................................................................................3 What the ISPF editor does..................................................................................................................... 3 Distributed editing............................................................................................................................ 4 Double-byte character set support.................................................................................................. 4 How to use the ISPF editor.................................................................................................................... 4 Beginning an edit session................................................................................................................. 4 Using the ISPF editor basic functions............................................................................................ 11 Ending an edit session.................................................................................................................... 12 Edit commands.....................................................................................................................................13 Line commands...............................................................................................................................13 Primary commands.........................................................................................................................13 Edit commands and PF key processing..........................................................................................14 Edit macros...........................................................................................................................................15 Primary command macros..............................................................................................................15 Line command macros....................................................................................................................16 Editing data in SCLM-controlled libraries.......................................................................................16 Packing data....................................................................................................................................16 Specifying z/OS UNIX pathnames with edit primary and macro commands..................................... 16 Chapter 2. Controlling the edit environment.............................................................................................17 What is an edit profile?.........................................................................................................................17 Using edit profile types...................................................................................................................17 Displaying or defining an edit profile..............................................................................................17 Modifying an edit profile................................................................................................................. 18 Locking an edit profile.....................................................................................................................19 iii Edit modes............................................................................................................................................19 Edit profile modes...........................................................................................................................20 Edit mode defaults..........................................................................................................................20 Flagged lines.........................................................................................................................................22 Changed lines..................................................................................................................................22 Error lines........................................................................................................................................22 Special lines.................................................................................................................................... 22 Edit boundaries.................................................................................................................................... 23 Initial macros........................................................................................................................................24 Application-wide macros..................................................................................................................... 25 Statistics for PDS members................................................................................................................. 25 Effect of Stats mode when beginning an edit session................................................................... 25 Effect of Stats mode when saving data..........................................................................................25 Version and modification level numbers............................................................................................. 26 Sequence numbers.............................................................................................................................. 26 Sequence number format and modification level..........................................................................26 Sequence number display.............................................................................................................. 27 Initialization of number mode........................................................................................................ 27 Enhanced and language-sensitive edit coloring..................................................................................27 Language support........................................................................................................................... 28 The HILITE command and dialog...................................................................................................33 Highlighting status and the edit profile.......................................................................................... 37 Edit recovery.........................................................................................................................................38 Chapter 3. Managing data..........................................................................................................................41 Creating and replacing data................................................................................................................. 41 Copying and moving data.....................................................................................................................41