[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-145605-en":3,"doc-seo-145605-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},145605,2336474466412,"\tJames","https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d",6,"Technology","Interactive System Productivity Facility (ISPF) - z/OS Version 2 Release 2 - ISPF Editor and Edit Macros","This document provides IBM guidance for using ISPF on z/OS Version 2 Release 2, focusing on the ISPF editor and the related editing capabilities. It covers how to start and end edit sessions, key editor functions, primary and line commands, and how edit macros (including primary and line command macros) extend editing workflows. It also explains edit profiles, edit modes, line highlighting, recovery concepts, and managing editing data such as creating, copying, shifting, and searching text.","Interactive System Productivity Facility (ISPF)  \nEdit and Edit Macros  \nz/OS Version 2 Release 2  \n􀀂􀀃􀀄  \nNote  \nBefore using this information and the product it supports, read the information in “Notices” on page 457 .  \nEdition notice  \nThis edition applies to ISPF for Version 2 Release 2 of the licensed program z/OS (program number 5650-ZOS) and to all subsequent releases and modifications until otherwise indicated in new editions.  \nIBM welcomes your comments. For information on how to send comments, see “How to send your comments to IBM” on page xv.  \n© Copyright IBM Corporation 1984, 2015.  \nUS Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.  \nContents  \nFigures . . . . . . . . . . . . . . vii  \nPreface . . . . . . . . . . . . . . . ix  \nAbout this document . . . . . . . . . . . ix  \nWho should use this document . . . . . . . . ix  \nHow to read the syntax diagrams . . . . . . . ix  \nz/OS information . . . . . . . . . . xiii  \nHow to send your comments to IBM . . xv  \nIf you have a technical problem . . . . . . . xv  \nSummary of changes . . . . . . . . xvii  \nSummary of changes for z/OS Version 2 Release 2  \n(V2R2) . . . . . . . . . . . . . . . xvii  \nSummary of changes for z/OS Version 2 Release 1  \n(V2R1) . . . . . . . . . . . . . . . xvii  \nWhat's in the z/OS V2R2 ISPF library? xix  \nPart 1. The ISPF editor . . . . . . . 1  \nChapter 1. Introducing the ISPF editor. . 3  \nWhat is ISPF? . . . . . . . . . . . . . . 3  \nWhat the ISPF editor does . . . . . . . . . . 3  \nDistributed editing . . . . . . . . . . . 4  \nDouble-byte character set support . . . . . . 4  \nHow to use the ISPF editor . . . . . . . . . 4  \nBeginning an edit session . . . . . . . . . 4  \nUsing the ISPF editor basic functions . . . . . 12  \nEnding an edit session. . . . . . . . . . 13  \nEdit commands . . . . . . . . . . . . . 14  \nLine commands . . . . . . . . . . . . 14  \nPrimary commands. . . . . . . . . . . 15  \nEdit commands and PF key processing . . . . 15  \nEdit macros . . . . . . . . . . . . . . 16  \nPrimary command macros . . . . . . . . 17  \nLine command macros. . . . . . . . . . 17  \nEditing data in SCLM-controlled libraries . . . 17  \nPacking data . . . . . . . . . . . . . 17  \nSpecifying z/OS UNIX pathnames with edit primary and macro commands ........ 18  \nChapter 2. Controlling the edit environment ............ 19  \nWhat is an edit profile? . . . . . . . . . . 19  \nUsing edit profile types . . . . . . . . . 19  \nDisplaying or defining an edit profile. . . . . 19  \nModifying an edit profile. . . . . . . . . 21  \nLocking an edit profile . . . . . . . . . 21  \nEdit modes . . . . . . . . . . . . . . 21  \nEdit profile modes . . . . . . . . . . . 22  \nEdit mode defaults . . . . . . . . . . . 23  \nFlagged lines . . . . . . . . . . . . . . 24  \nChanged lines . . . . . . . . . . . . 25  \nError lines . . . . . . . . . . . . . . 25  \nSpecial lines . . . . . . . . . . . . . 25  \nEdit boundaries . . . . . . . . . . . . . 26  \nInitial macros. . . . . . . . . . . . . . 27  \nApplication-wide macros . . . . . . . . . . 28  \nStatistics for PDS members . . . . . . . . . 28  \nEffect of Stats mode when beginning an edit session ............... 28  \nEffect of Stats mode when saving data .... 28  \nVersion and modification level numbers ..... 29  \nSequence numbers . . . . . . . . . . . . 29  \nSequence number format and modification level 29  \nSequence number display. . . . . . . . . 30  \nInitialization of number mode . . . . . . . 30  \nEnhanced and language-sensitive edit coloring . . 31  \nLanguage support . . . . . . . . . . . 32  \nThe HILITE command and dialog ...... 36  \nHighlighting status and the edit profile .... 40  \nEdit recovery . . . . . . . . . . . . . . 41  \nChapter 3. Managing data . . . . . . 45  \nCreating and replacing data . . . . . . . . . 45  \nCopying and moving data . . . . . . . . . 46  \nShifting data . . . . . . . . . . . . . . 46  \nColumn shift . . . . . . . . . . . . ","cbCaibqsZrILxDQZ","https://ap.wps.com/l/cbCaibqsZrILxDQZ","pdf",9577771,1,492,"English","en",105,"# Contents\n## Preface\n## About this document\n## Who should use this document\n## How to read the syntax diagrams\n## z/OS information\n## Summary of changes\n## Summary of changes for z/OS Version 2 Release 2 (V2R2)\n## What's in the z/OS V2R2 ISPF library?\n# Part 1. The ISPF editor\n## Chapter 1. Introducing the ISPF editor\n## Chapter 2. Controlling the edit environment\n## Chapter 3. Managing data\n## Chapter 4. Using edit models","[{\"question\":\"What is the ISPF editor and what does it help users do?\",\"answer\":\"The document introduces ISPF and describes what the ISPF editor does, including how to use basic editor functions during an edit session.\"},{\"question\":\"How are edit sessions started and ended in the ISPF editor?\",\"answer\":\"It outlines beginning an edit session, using the editor’s basic functions, and ending an edit session, along with the relevant edit commands.\"},{\"question\":\"What are edit macros in ISPF, and how are primary and line command macros used?\",\"answer\":\"The document explains edit macros and distinguishes primary command macros from line command macros to support reusable editing actions.\"}]","Interactive System Productivity Facility (ISPF) - z/OS Version 2 Release 2 - ISPF Editor and Edit Macros | PDF",1787725744,1240,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"interactive-system-productivity-facility-ispf-zos-version-2-release-2-ispf-editor-and-edit-macros","",{"@graph":36,"@context":85},[37,54,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/technology/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/interactive-system-productivity-facility-ispf-zos-version-2-release-2-ispf-editor-and-edit-macros/145605/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":62,"encodingFormat":61,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-26",true,{"@type":65,"interactionType":66,"userInteractionCount":4},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What is the ISPF editor and what does it help users do?","Question",{"text":75,"@type":76},"The document introduces ISPF and describes what the ISPF editor does, including how to use basic editor functions during an edit session.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How are edit sessions started and ended in the ISPF editor?",{"text":80,"@type":76},"It outlines beginning an edit session, using the editor’s basic functions, and ending an edit session, along with the relevant edit commands.",{"name":82,"@type":73,"acceptedAnswer":83},"What are edit macros in ISPF, and how are primary and line command macros used?",{"text":84,"@type":76},"The document explains edit macros and distinguishes primary command macros from line command macros to support reusable editing actions.","https://schema.org",{"og:url":52,"og:type":87,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":89,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,113,118,123,128,131,135],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":111,"slug":112},50,"technology",{"id":114,"doc_module":4,"doc_module_name":46,"category_name":115,"show_sort_weight":116,"slug":117},7,"Healthcare",40,"healthcare",{"id":119,"doc_module":4,"doc_module_name":46,"category_name":120,"show_sort_weight":121,"slug":122},8,"Research & Report",30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":46,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":46,"category_name":137,"show_sort_weight":106,"slug":138},19,"General","general"]