0% found this document useful (0 votes)
413 views142 pages

ISPF PDF Advanced Features

ISPF PDF Advanced Features

Uploaded by

svdontha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
413 views142 pages

ISPF PDF Advanced Features

ISPF PDF Advanced Features

Uploaded by

svdontha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 142
BRL Technology Training STUDENT WORKBOOK for USING ISPF/PDF: ADVANCED FEATURES (45102) Copyright © 1988, 1995 All rights reserved SRA Technology Training Crwth Mainframe Courseware INTRODUCTION COPY TERMS AND CONDITIONS SRA TECHNOLOGY TRAINING retains and reserves all rights, including copyrights, trademarks, patents, and other proprietary rights and interests, in and with respect to all course materials, whether embodied in written materials, computer storage media, or otherwise. Customer is hereby granted a non-exclusive right and license to use course materials delivered by SRA TECHNOLOGY TRAINING under this contract solely for the training of the employees of the customer. Customer shall not, without the express written spproval of SRA, sell, deliver, or make available any of the course materials produced by SRA to any person or for any use other than the training of customer's employees. The student workbook and any pre-test/post-test provided with this course may be copied for additional customer student distribution after the course is purchased. WARRANTY DISCLOSURE SRA warrants that all Licensed Courseware, when delivered to Client, will conform to its published product descriptions and will be in good working order. Except for the express warranties stated above, SRA makes no warranty, oral, written, express or. implied, of any kind with respect to the Licensed Courseware, including, but not limited to, implied warranties of merchantability and fitness for a particular purpose. Questions Questions concerning the installation or use of this program, or comments about this course, may be submitted to: Course Technology - IT Corporate Learning One Main Street Cambridge, MA 02142 1-800-340-7450 Fax: 617-577-1358 wwrw.course.com COURSE FORMAT SUMMARIES Crwth FORMAT (Mainframe) Summary Follow these directions if you are taking this course in the Crwth FORMAT. (Check with the person administering the course.) STEP 1: Sign on to your system with a valid userid. The courseware is invoked with the command: CRWTE Follow the instructions in the course. All answer upper or lower case-make things simple by ents lower case. to questions can be in everything in ‘CRWTH FORMAT COMMANDS PF Key To Press or Command To Enter PFI For a summary of Crwth FORMAT commands (help), PP? To backpage one screen ata time. PFS ‘To page forward one screen at a time hint or? To requesta hint on any question, sign off To sign off at any screen, (You'll get right back to the same place when you sign on again.) list To geta list of the topics in the course. goton To go to a specific session (n) or topic (nn) gotonn For example: go to 3.4 {go to changes ‘To get an on-line summary of the ISPE Version 4, Release 1 changes that affect this course {go to 00x To go to the topic that explains a particular command, (Gx). For example: go to find def glossary To request a list of the terms defined for the course. def ox To request the definition of a term (xxx). For example: def crwth, Using ISPF/PDF: Advanced Features Course Format Summaries Crwth FORMAT (PC) Summary This is a summary of system commands for those taking this course on a personal computer. The course diskettes have all the instructions you need to get started. All answers to questions can be in upper or lower case--make things simple by entering everything in lower case, CRWTH FORMAT COMMANDS PF Key To Press or Command To Enter A Page Up Page Dn hint or? sign off list goton gotonn go to changes go to xxx def glossary def ox For This Result Fora summary of Crwth FORMAT commands (help) To backpage one screen at a time. ‘To page forward one screen ata time. To requesta hint on any question. To sign off at any screen. (You'll get right back to the same place when you sign on again.) To geta list of the topics in the course. To go toa specific session (n) or topic (nun). For example: go to 3.4 To get an on-line summary of the ISPF Version 4, Release 1 changes that affect this course To go to the topic that explains a particular command (ooo). For example: go to find To request a list of the terms defined for the course. To request the definition of a term (xxx). For example: def crwth Using ISPE/PDF: Advanced Features Course Format Summaries ¥ PHOENIX EASE Summary Follow these instructions if you are taking this course under the PHOENIX EASE presentation system. STEP 1: Sign on to PHOENIX, entering your si and, if needed, the password. You introduction of the course .on number, the course name, be taken directly to the STEP 2: When you have completed the introduction, you will be asked for your name and then presented with an EASE menu, Follow the EASE menus to select each session in sequence. STEP 3: Follow the instructions in the course. All answers to questions can be in upper or lower case~-make things simple by entering everything in lower case. How To Get Around in PHOENIX EASE-delivered CBT To backpage, request a glossary entry, enter a comment, ask for a hint (on question screens only}, or sign off (on text screens only), press the PF key shown on the divider line at the bottom of the screen. ISPF/PDF: Advanced Features Course Format Summaries Use This Space For Notes Using ISPE/PDF: Advanced Features CONTENTS INTRODUCTION i Copy Terms and Conditions Warranty Disclosure i ‘Crwth Format (Mainframe) Summary Crwth Format (PC) Summary iv PHOENIX EASE Summary STUDENT MATERIALS 1 MAJOR CHANGES 3 SESSION 1: PARTITIONED DATA SETS 7 TOPIC 1.1: Allocating Partitioned Data Sets 7 TOPIC 1.2: Using Partitioned Data Sets 10 Editing oe u Deleting 15 Renaming 16 Compressing, _ - v SESSION 2: MORE ON DATA SETS 21 TOPIC 2.1; Data Set Records 21 TOPIC 2.2: Estimating Disk Space 24 SESSION 3: THE UTILITIES 27 TOPIC 3.1: The Data Set Utility 27 TOPIC 3.2: Moving and Copying Data Sets 32 TOPIC 3.3: The Data Set List Utility 37 TOPIC 3.4: Other Utility Options 4 SESSION 4: ADVANCED ISPF USAGE 47 TOPIC 4,1: Other ISPF Primary Option Menu Items 47 The Foreground Option - 7 ‘The Batch Option 88 ‘The Command Option 48 ‘The Dialog Test Option 49 ‘The LM Utilities Option 49 The IBM Products Option 50 TOPIC 4.2: Shortcuts for Panel Selection 51 TOPIC 4.3: Split Screen 56 TOPIC 4.4: Changing the ISPF Settings 58. ings Main Panel _ 59 Options List _ 38 ISPF Settings Action Bar Choices 61 Function Keys Action Bar Choice 7 61 Other Action Bar Choices 63 Using ISPE/PDF: Advanced Features vill Contents TOPIC 4.5: Log/tist Options 63 Log Data Set 64 List Data Set 65 SESSION 5: MORE ISPF USAGE 67 TOPIC §.1: Advanced EditingFeatures SC Recovery Control 67 Undoing Your Mistakes __ 8 Setting Margins 69 Shifting Text 69 Overlays 70 MOVE/COPY Data Sets or Members 70 CREATE/REPLACE Data Sets or Members - a The TE, TF, and TS Line Commands B Masks _ 4 ISPF Macros _ - 7” Other Edit Entry Panel Fields 7” TOPIC 5.2: Advanced FIND and CHANGE Features 75 Line Labels __ 7 7 ‘The DELETE Command 8 The EXCLUDE Command — _ 8 Picture Strings ___ = 82 TOPIC 5.3: The SORT Command 82 TOPIC 5.4: Use of ISPF in Programming 84 Submitting Jobs _ 84 Using SDSP To Review Output 86 Statistics Generation. _ —_ 87 ‘Automatic Listings 88 ‘The HEX Command 7 8 Packing Data _ - 88 Data Types __ 89 Line Numbers _ 7 - 89 Edit Models 90 Language-Sensitive Coloring _ 90 Other Programming-Related Action Bar Choices 91 TOPIC 5.5: Dialog Manager ” TOPIC 5.6: Using Controlled Libraries 92 LMF _ e 93 SCLM 95 SESSION 6: CASE STUDY APPLICATION 99 COURSE PROBLEMS 103 INDEX 105 Using ISPF/PDF: Advanced Features, STUDENT MATERIALS Welcome to the Using ISPF/PDF:* Advanced Features course. The entire course should take about 5-1/2 hours at the terminal, depending on how much background you have in ISPF and how deeply you want to go into the material Using ISPF/PDF: Advanced Features is intended primarily for end users, that is, non- data-processing people. The course uses a computer-based training (CBT) system to lead you through the more advanced features of ISPF and the data processing, concepts that are necessary to using ISPF. You simply sign on to a terminal and invoke the CBT system when you have time available for study. You progress at your own pace. This student workbook has been designed to help you understand and use ISPF. This section of the workbook is a summary of the course. Itis intended for review and as a reference. * BPE Interactive System Productivity Facility is a Licensed Program of International Business Machines Corporation, Using ISPF/PDF: Advanced Features 2 Student Materials Use This Space For Notes, Using ISPF/PDF: Advanced Features MAJOR CHANGES ‘The following enhancements to ISPF are reflected in this cours ¢ The ISPF user interface has been enhanced to support IBM's Common User ‘Access (CUA) standard. All ISPF panels have been reformatted, and default function key assignments have changed. # Option 0, ISPF PARMS, has been replaced by Settings, which supports new parameters and reorganizes access to others. Option 1 is now View, a more powerful alternative to Browse. (Browse remains available through the BROWSE command.) ¢ ISPF/PDF is no longer a separate product from ISPF, Manuals in the ISPF library have been renamed to reflect this. ¢-_ISPF canbe used in a Client/Server (C/S) environment. In the next few sections is more detail on these as well as a quick run-down on still more Version 4 changes covered in the course ‘Common User Access (CUA) Interface Al ISPF panels have been reformatted to comply with this standard. The most noticeable changes are: @ Panels are in mixed-case. @ Anaction bar appears at the top of every panel. You can now navigate from panel to panel by selecting action bar choices. (The traditional ISPF navigation methods are still supported.) The action bar means that commands can be “nested"--you can invoke an ISPF function (such as a utility) from the action bar of another function (uch as Edit). The first function is suspended until you end the new one; then you can continue from where you left off. (Topic 2in Session 4 demonstrates this.) The CUA defaults for ISPF are: @ The Command line is at the bottom of the panel. Commands can be entered only on the Command (or Option) line. Function keys 1-12 have CUA-compliant assignments, not the traditional ISPF assignments. @ Because the action bar is at the top of each panel, the Home key takes you to the action bar. Topic 1 of Session 1 shows you how to reset these defaults for consistency with previous ISPF versions Using ISPF/PDF: Advanced Features 4 Major Changes Function Key Assignments Keylists are active by default for most ISPF panels: ¢ Function key assignments can differ from panel to panel, ¢ The KEYS command takes you to a keylist dialog when itis invoked froma panel for which keylists aré active. Anew command, ZKEYS, can be used to access the global function key assignment panels when you are working on a panel for which keylists are active. Session 1, Topic 1 shows you how to disable keylists. Session 4, Topic 4 discusses keylists and the KEYS and ZKEYS commands. New Option 0: Settings The new Settings Option (Session 4, Topic 4) takes you to the main Settings panel from which you can: 4 Control CUA defaults 4 Set Terminal and Display characteristics. + Set GDDM graphie print parameters + Select the command delimiter and input field fil characters. 4+ Access other ISPF parameter settings from the action bar. (Itis no longer posse to aces Secondary parame sccenssuch as Log/List Del irom the ISPF Primary Option Menu by entering a two-part option like 0.2. ‘You must first request Settings and then use the action bar.) New Option 1: View ‘The new View option (Session 2, Topic 2) supports: All data sets except those with record format (RECFM) = U. (For RECFM-U data, continue to use Browse.) # All Edit commands except SAVE. You can use View to look at data and use Edit commands to change the data in View's temporary working copy. Then you can use the Edit/ View REPLACE or CREATE command to place the changed version in another data set. Since View's access is read-only, others can be viewing the same data in parallel with your session View is recommended in place of Browse. Throughout the course, references to Browse have been replaced by references to View. Using ISPF/PDF: Advanced Features Major Changes 5 Renamed and New Manuals For documentation on: See: 0 - ISPF Settings ISPF Users Guide 2 - Edit ISPF Edit and Edit Macros 8 - LMF ISPF Library Management Facility 10 -SCLM SCLM Developer's Guide, SCLM Reference, or SCLM Project Manager's Guide All other ISPF options ISBF Users Guide For information on: See: ISPF Messages and Codes ISPE Messages und Codes Examples of ISPF Use ISPF Examples Version 4.1 for MVS Dialog Manager ISPF Dialog Developer's Guide and Reference ISPF Client/Server ISPF can now be executed in client/server mode from a workstation running either 08/2 oF Microsoft Windows. (Trademarks of IBM and Microsoft, respectively.) + Panels developed with the ISPF Dialog Manager can be run from a client workstation without change. (Session 5, Topic 5) ¢ Option? of the ISPF Utilities Menu is now C/S Download, which allows ISPF executable code to be downloaded to a client workstation. Other Changes: Edit ¢ Anoptional Language-Sensitive Coloring facility makes it easier to edit data sets containing programming language statements. This is controlled through the HILITE dialog, accessed from the action bar or HILITE command. (Session 5, Topic 4) ¢ The Edit action bar permits you to nest other ISPF functions, includi Utility, within your Edit session. (Session 4, Topic 2) ¢ The Edit action bar also permits you to invoke a compiler or Dialog Test function from your Edit session. (Session 5, Topic 4) 4 ‘The Cancel /Move /Replaée Confirmation facility displays a confirmation window when you execute any of these (possibly destructive) commands from the Command line. (Session 5, Topic 1) Other Changes @ Wild-card characters can now be used anywhere in the Data Set List's Level name. (Session 3, Topic 3) ¢ The new TOP and BOTTOM commands can be used to scroll directly to the top or bottom of data set or member lists or Edit/View text. 4 You can now scroll data set and member lists after entering line commands. No line commands will be executed until you press Enter. (Session 1, Topic a 4 The Data Set List’s action bar allows you to change the list's view by selecting froma pulldown menu. (Session 3, Topic 3) Using ISPF/PDF: Advanced Features Major Changes Additions to the Course In addition to discussion of these Version 4 changes, the course contains new material on: # System Dieplay and Search Facility (SDSF) product (ession 5, Topic 4) + Library Management Facility (LME) Gession 5, Topic 6) Software Configuration Library Manager (SCLM) (ession 5, Topic 6) Using ISPF/PDF: Advanced Features SESSION : PARTITIONED DATA SETS TOPIC TITLE T1 Allocating Partitioned Data Sets 12 Using Partitioned Data Sets TOTAL TIME FOR SESSION: TOPIC 1.1: Allocating Partitioned Data Sets 15 min 25 min 40 min ESTIMATED TIME ‘You generally use a partitioned data set when you want to keep several sequential data sets together. To review, a partitioned data set consists of several members (actually, sequential data sets) Stored in the same data set. Sequential data set: 3426 .TENSLIS?.DATA option 3 veilities 5 Batch 7 Dialog Te: 8 iM Facility 9 IRM Products: fay source data or 1ietings create or change source data perform otility: functsons stive language processing job for language processing fontiguration Library Manager Library admin Partitioned data set: ames. 3426. STUDENTS .DATA enter x to Terminate using log/tist detauls Using ISPF/PDF: Advanced Features 8 Session 1: Partitioned Data Sets ——_— et Tintitioned Datta Sets ‘Then you select option 2at the Utility Selection Menu to allocate a data set: Menu Help Usility selection Panel [command —> 2 i Libeary compress or print data get. Print index listing. Print renane, delete, brovse, edit or view members 2 bata set Atiocate, resane, delete, catalog, uncatalog, of display information of an entire data sot 3 Move/copy move, copy, or promote menbers or data sets 4 delist Print or display (to procosa) list of data set names. Print oF display vT0e information 5 Reset Rosot statistics for menbere of IS7P library 6 Wardcopy Initiate nardcopy output 7 SPF c/S Install 15°F C/S vorkstation code from HVS to your workstation, ° Outlist Display, delete, or print held job output onmands Create/change an application command table + Reserved This option reserved for future expansion. 11 Format Format definition for formatted data Edit Browse 12 superc compare data sata (Standard Dialog) 13 Superce Compare data sets and search-for strings (extended Dislog) 14 search-Por Search data sets for strings of data (standard Dlalsey ‘This takes you to the Data Set Utility panel. The course has filed in a data set name for you and requested option A for data setallocation. Menu Refiist utilities Help Data set Ueiiity loption —=> a A Allocate now date set © catalog data set Renano entire data set © Uncatatog aata set D Delete entire data set 5 Data set information (short) blank bata set information M Bnhanced data set allocation Vv VaaM utilities Project. . and26 Group + + + MEMOS Type... . next Jother Partitioned, Sequential or VSM Data Set: Data Set Kane. Volume Serial... (TE A0t cataloged, required tor option -c) ata Set Password. (sf password protected) Using ISPE/PDF: Advanced Features joned Data Sets 9 This takes you to the Allocate New Data Set panel, where you then fill in all the needed i tion. Venu Refbist Utilities felp '~ Allocate New Data Set Data set Wane... + A3425.MEWOS.DATA volume serials... (Blank for authorized default volume) * lconeric unit... + (Generic group nane or unit address) * Japace unite»... (GUKS, TAKS, CYLS, KB, MB ox BYTES) Primary quantity... (im above unite) Secondary quantity. « (an above unite) Directory block Record format. + - Record length + + + Bleck size. ss (Zero for sequential data set) expiration date... (rxia/00, rere m/o0 ‘ry.Do0, YY¥Y.00D in gulian form Enter "/" to select option poop for retention peried in days Allocate Moltiple Voluxes or blank) ‘The Primary and Secondary Quantity request space for all the members of the partitioned dataset. Asa rule of thumb, allocate 1-1/2 times the amount of P: space you think you need, Then allocate no Secondary. (The next topic explains why, and there are exceptions.) ary Each partitioned data set has a directory~an area where the member names are kept: 3426 .mmMOs TEXT | Directory area. Contains | list of member names and | pointers to where menbere are: | ‘The Directory blocks tell how much space to allocate for this area stored in the data set. fof 4-4-4 28 Rule of thumb: Directory Blocks = estimated members /5 Using ISPF/PDF: Advanced Features at Session 1: Partitioned Data Sets [All the necessary values have been filled in here by the course. Now you'd just press Enter to allocate the data set mu Refldet Ueilities Help Data Set wane 1 -A3426-HEHOS.DATA Volune serial... + (Blank for authorized default volune) * Generic unit. 6. (Generic group nane or unit address) * space unite |... + BIKS (BIKS, TRXS, CYLS, XB, MB or BYTES} Primary quantity. . . 1000 (im above unite) secondary quantity. . ¢ (1m above units) Directory blocks... 20 (toro for sequential data set) Record length |... 255 Block size. +. 6233 Expiration date. « crenaiyon, erers/00 ¥E.000, YHYY.DOD in Julian form Enter */* to select option DoDD for retention period in days Allocate Multiple Volumes or blank) You get back to the Data Set Utility panel, and ISPF tells you it allocated the data set. 1f your installation supports managed datasets using the Stone Management Subsystem (SMS) you enay beable to allocate a POSE (partoned dataset extended) APDGE acts lke a PDS but hasa different internal structure, including new handling for directory blocks To allocate a PDSE, you let option M- Enhanced dat setallocaton, The resulting panel incides two ils which pertain Epeafcallyp allocating a POSE. Here arethe standard values for those feds Directory blocks... - 0 (Zero for sequential data set) * Data Set Name Type . . . library (LIBRARY, PDS,orblank)—* Using Partitioned Data Sets You do the same things with partitioned data sets that you do with sequential data sets. + You create and edit the individual members. # You delete individual members. # You rename members. ¢ You print all or selected members, Using ISPF/PDF: Advanced Features Session 1: Partitioned Data Sets Editing To edit a member of a data set, you enter the data set name as shown here, and then. the member name. You would now be able to edit the HOUND member. Menu Refuist Refwode Utilities Help Bait Bntxy Panel ISPr Library: Project + + + AS425 croup Tomes 6. ee tae type os. TEXT Member <5 + HOUND (Biank or pattern for manbor selection 422) Jotner Partitioned or Sequential Data set: Data Set Kane = + Yolune Serial s+ + (af not cataloged) initial Macro. + Enter “/* to select option Profile Name. + 7 Contizm cancel/Move/Replace Pormat Mane ss Mixed Mode: pata Sot Password. (If password protected) LMP Lock 2. xe the Edit Entry Panel.) ‘You edit the member as you would any data set. (Pressing F3 will take you back to File Bilt Confirm Meno Utilities compilers Tost Help port 13426. HOLES TEXT GOURD) ‘oluans 00003 00072 [command —=> Scroll —=> PAGE cooaot CHAPTER 1 (000003. Mr. Sherlock Holes, who was usually very Late in the 900004 mornings, save upon those not infrequent occasions when he was do0des up all night, was seated at the breakfast table. T stood upon 000006 the hearth-rig and picked up the stick which our visitor had 000007 Loft behind him the night before. Tt was a fine, thick piece 000008 of wood, bulbous-headad, of the sort which is known as a (000009 Penang Lawyer." Just under the head vas a broad silver band, (000020 nearly an inch across. "To Janes vortimer, M.R.C-S., from his 000013 friends of the C.-C," vas engraved upon it, with the date ooo0i2 128d." It was just such a stick as the old-fashioned family 000013 practitioner used to carry-- dignified, solid, and reassuring 000014 “Wall, Watson, what de you make of it?" 000025 Holmes wag aitting with his back te me, and T had given him (000036 no eign of ay occupatics —_ ‘Using ISPF/PD! ‘Advanced Features 2 Session 1: Partitioned Data Sets You can also edit a member by writing the data set name followed by the member ‘name in parentheses as shown here. You would need to do this to access someone else's data set or for a data set that did not have a three-part name. The Data Set Name will be used when you write it; itoverrides the ISPF Library name, Went Reflist Refweda Utilities Help Baie Entry Panel, IPP Library: Wonber ss (Blank of pattern for member selection 1st) ned of Sequential Data Set Name «= = 'A2267.THING(STUFF) Volune Serial. + + (Hf not cataloged) Profile Nane ss bata set Password A partitioned data set may have several members. If you aren't sure what member you want or can't remember its name, you can leave the Member blank and press Enter. Then you would see: Mens Funstione fiities welp ROIT —AM26.HoLN@S. TEXT Rew 00001 of 00003 connand —=> ‘Scroll => PAGE ‘ane vw wm crested langed Size Tait Mod apvoot 01.00 85/04/22 85/04/21 17107 21k novo? 01.01 05/12/17 85/12/17 1415217 sHouxD 01100 85/07/04 85/07/04 17107 20 200 | wouioaxe 01.02 05/09/12 85/09/12 15107 2121 | woupoto 01.02 85/08/12 95/09/12 13120 71 a1 0003 01.08 95/08/03 85/08/06 114s 25 Bo euo002 01101 95/08/10 95/09/10 1207 13, «13,8 Me¥0003 02.09 85/08/13 95/00/13 14:56 22 21 01.08 65/08/24 95/08/30 13:25 1717 Name ~The member names. VVMM ~The version (VV) is 1. The modification (MM) is incremented. each time you save the member. Created - Date created. Changed - Date and time last modified Size ~ Current size in lines or records. Init ~ Initial size of member in lines or records. Mod = Number of lines added or changed since version was created. ID ~ Userid of person who created or updated this version. Using ISPE/PDF: Advanced Features Session 1: Partitioned Data Sets 3 Ifthere are too many member names to fit on the screen, you scroll up and down to view the remainder, UP (F7 or F19) DOWN (FB or F20) If you want to work with a subset of the full member list, you can create one by supplying a member-name pattern in the Member field. A pattern is a member name with one or more wild card characters. For example: Member ... APRY would build a list of all members whose names begin with APR. Member ... 889° would build a list of all members whose names have a Q in the third position. (5 stands for a single character. * stands for one or more characters.) Such lists might bbe a whole lot easier to use than the full member list. Member-name patterns can be used throughout ISPF. With them you can use five primary commands--LOCATE, RESET, SAVE, SELECT, SORT. We won't discuss these further except to say that you can SORT a member list using any of the statistics fields and that you can build one member list from another member list using a member-name pattern with the SELECT command. Now more on using member lists to manage and manipulate your data. Assume you are in edit and have builta member list to edit a particular member, you move Your cursor to the left of the name and type an "5! (Mens Functions Utilities Help ane wy mM created ged size Inst Mod 2D apvoot 01.00 5/04/21 85/04/21 174072121. apvooe 95/22/17 05/12/17 14452 1717426 |= woo 85/07/04 @5/07/04 17107 20-2042 | nounoaxe 95/09/12 95/09/12 15107 21213426 oUNDOLD 95/09/12 65/09/12 13420 210 A346 anooo2 89/08/03 63/08/05 12:48 15 83426 aoo02 95/08/10 95/08/10 12:07 13 «13,0 and2e | zo003 5/09/13 @5/oR/13 14sS6 22218 A exo 95/08/24 95/08/30 13:15 170 A326 Using ISPF/PDF: Advanced Features u Session 1: Partitioned Data Sets oo You then get the Edit screen: File Edit conficm Manu Utilities Compilers Test Help pore ‘X3426. HOLMES TEXT (HOUND) Golvane 00001 00072 [command —=> ‘Serol) —=> PACE 00002 WR. SHERLOCK HOLMES 000003 Mr. Sherlock oles, who was usually very late in the 000004 mornings, save upon those not infrequent eccasions when he wes 000005 up all night, was seated at the breakfast table. I stood upon (000006 the hearth-rug and picked up the stick which our visitor had (000007 left behind him the night before. Tt was a fine, thick piece 000008 of wood, bulbous-neaded, of the gort which is known as a (900009 "Penang lawyer. Juat under the head wae a broad silver Dand, [000010 nearly an inch across. "To Janos Mortimer, M.R.C.8., from his (000021 friends af the 0.C.H.," was engraved upon it, With the date 0002 1884," Tt vas just uch a stick as the old-fashioned fanily 090013 practitioner used to carry-- dignified, solid, and reassuring 000014 “Well, Ratson, what do you make of it? 000015 Holmos was eitting with his back to me, and I had given him 000016 no sign of ay occupation. ‘The remaining operations on partitioned data sets are done by using the Library utility. Now, let's assume you backed up to the ISPF Primary Option Menu, selected the Usilities option, moved ahead to the Utility Selection Menu, and selected the Library option. ‘Then you get this screen, Menu RefList utilities tele Library utility option => blank Dleplay member List © compress data set X Print index Listing i Being entize data set View member Data set information Short data set information Renane menber Print member 28PF Library: Project. « « A3425 Group... HOLMES. o ee aype + TEXT Member Ls (af B, Dy B, Py Ry ¥, oF blank selected) Now name. (at R selected) Jother Partitioned or Sequential Data sett Data Set Mane. Volune Serial + + (18 not catatoged) Data set Password + (if pageword protected) Using ISPF/PDF: Advanced Features Session 1: Partitioned Data Sets 15 Deleting ‘To delete member MEMO004, you enter the member name and the option (D). Mono Refiiat Utilities ney Laprary Uesiity loption —=> D blank Display menber List B ait member ‘© compress data act v view member X Print indox Listing B Browse pester L Print entize data sot D Delete menber Z pata set information R Renane menber 4 Short data set information P Print menber 19eF Library: Project... « A3426 croup. ss + HODMES Type +. TEXT womber ||| MEMO004 (ZEB, D, B, P, R, V, oF blank selected) Mew nana. (at R solectea) lother Partitioned or Sequential ata sets Data Set Name. . Volune Serial». + (af not cataloged) Data Set Password. (EE password protected) ‘The member is immediately deleted. (You don't get a chance to change your mind as you do when you delete an entire data set) labrary Oslaty Mesber MENOOOE deleted loption —=> Let's quickly cover some of the other options: X - Prints general information about the data set (size, record length, blocking, etc.) and prints a list of the member names. You fill in the data set name but not the member name for this. (Tis option can be ‘used for sequential data sets also.) L - Prints entire data set. Don'tfill in member name. (This option can be used for sequential data sets also.) P - Prints member. Fill in member name. S - Displays the primary and secondary space allocated to the data set, the record format, record length, and block size I~ Same as §, except fora partitioned data set, displays directory size and number of members. ——$—_—_— —$— Using ISPF/PDF: Advanced Features 16 Session 1: Partitioned Data Sets Renaming Renaming is fairly common. You name a member and then decide that you need to change the name. ‘To rename, you simply enter your change at New name . .and select the Rename option (R). Here, the member name SEP12 will be changed to SEPIA. Menu Refhise Utilities Help Library Uesisty option => R blank Display menber iiet B Edit nonber © compress data set V view member x Print index listing B Browse mentor 1 Print entire data set D Delete menber data set information R Renane mentor 5 Short data sat information P Print neaber SPF Library: Progect . «+ A426 croup. + + + ROLMES Member. + + SEPI2 (aE 8, Dy Ey Py Ry V, oF blank solected) New nane| |. SEPIA (If R selected) Jocner Partitioned or Sequential Data sett Volure Serial (IE not cataloged) Date Set Paseword UIE password protested) ISPF will then confirm that the member has been renamed, Library Utility Menber SEPL? renamed option Now let's discuss the compress option. Members are stored end to end inside a partitioned data set. This data set has two members, A and B: Available space When you edita member and save it, itis placed beyond the last member in the data set. The space the member originally occupied becomes unavailable. If you ‘edit member A, you get vista Available space i If you edit member A again, you get: I///| 8 [///| K | Available space Using ISPF/PDF: Advanced Features Session 1: Partitioned Data Sets wv Compressing - Before long, the entire data set is full of wasted space. Compressing a data set moves everything back to retrieve the wasted space. If you have this: VM TLLLTTT, ® TTTTTTTTTTTL | When you compress the data set you get this jalal Available space i ‘To compress a data set, you fill in the data set name and select the option as shown = Welp = | Mono Refbise utili option => ¢ blank Display menber List compress data set Print index Listing Print entire data set bata sat information Short data set information Group... + HOLMES Member ss ar Now name. are other Partitioned or Sequential vata set Volume Serials. + (af not cataloged) | Data sot Password. (x6 password It may take a few seconds, and then you get a message telling you that it was compressed. protected) [operon Some installations automatically compress your partitioned data sets and release any excess secondary space. If your installation does this, it means two things: # You usually don’t have to worry about compressing your partitioned data sets, # You should have a secondary allocation. Excess space is released when the data set is compressed, so you need a secondary amount in order to allow your data set to grow again after compressing. Using ISPFIPDF: Advanced Features 18 Session 1: Partitioned Data Sets But if your installation doesn't compress data sets for you, then generally you shouldn't specify a secontiary amount because: ‘4 When you compress a data set with ISPE, excess space is not released. Your data set will grow to use al its secondary allocation before it needs compressing. Then it will stay that size. (There are ways to compress and release excess tracks in JCL, but not in ISPF.) ‘The challenge in compressing a partitioned data set lies in knowing when to do it (assuming your installation doesn't automatically do it for you). Usually you discover thata data set needs compressing when you are in Edit and press the END key to save the data set and exit. You get this message: EDIT __—_AS426.HOIMES. TERT (HOUND) Syeten Abend 10037" [comaand, Serolt —=> HALE You could enter CANCEL on the Command line to exit without saving, but then ‘you'd lose all the editing changes you've made. To solve this problem you do the following: ¢ Press the SPLIT key (F2 o F14), which saves your place in Edit, but returns you to the ISPF Primary Option Menu, + Request the Library utility, compress your data set, and then return to Edit. ‘Then, you can save the member. ‘The Browse option lets you browse through a member. (There is also a Browse option on the ISPF Primary Option Menu that does exactly the same thing.) Menu Sefbist Utilities Help tabrary veility option => B blank Display member List B Rast member © Comprese data eet ¥ View nenbor X Print index Listing 3B Browse menter L Print entire data set, D Delete menser 5 Short data set information P Print member IPP Librarys Project. . « A426 croup... + MEMOS types Text vember... MENOO03 ae E, P, Ry V, of blank selected) Now name. at wcted) lother Partitioned er Sequential pata sets Data Set Kane. volune serial | | (xt not cataloges) bata Sot Password. (Uf passvord protected) Using ISPF/PDF: Advanced Features Session 1: Partitioned Data Sets 19 ‘And finally, if you fill in the partitioned data set name, leave the option blank (or supply a member-name pattern), and press Enter, you get a list of member names, just as you did earlier for Edit. [Menu RefList Utilities Welp tabrary Uesisty option => _ blank Display wember 1ist B edit menber © compress data set v View member X Print index listing B Browse menber Print entixe data set, Delete menber I Data set infornation R Renane menber 8 ghort data set information PoPrint monber rSPF Library: Project . . « A3426 Group. |. MEMOS ws ie ag type. + TEXT member ss (2fB, by By Py R, ¥, oF blank selected) New name + Gt R selected) Jother partitioned or Sequentia: pata sets Volume Serial. . (af not cataloged) Data set Password (If password protected) Then you can specify operations from this screen. You just type one of the following, characters to the left of any name you want: DP - Print the member. - Rename the member. Fill in the new name in the Rename column. R D ~ Delete the member. E. ~ Edit the member. B - Browse the member. (Enter only one Bor E, You can enter the other ‘options in several places.) Mena Functions Ueilities salp LIBRARY [email protected] Row 00001 of 00008 Comaand Scroll —=> PASE ‘wane Ww 01 created changed Size Init Mod 1D _ xDvoo3, 01.00 95/04/21 5/04/21 17407 212k 7 xpvoo2 or.o1 85/12/17 95/12/27 14:52 17 «170.426 = oun 02.00 5/07/04 85/07/04 17407 20-200 AA 7 gounpeke 02.02 85/09/12 @5/09/22 15:07 2121S = wounoon 02.02 85/09/12 85/09/12 13120-21210 7 weewooo2 02.08 5/08/03 e5/08/05 13:48 158 ASAE = weno002 02.01 85/08/20 85/08/20 12:07 13-130 A426 = veew0002 02.03 65/06/23 @5/08/13 14:56 21a] AA seend=* Using ISPF/PDF: Advanced Features 20 Session 1: Partitioned Data Sets You press Enter after you have filled in all the operations you want. Here you have two renames, a print, and a command to delete the MEMO002 member. Menu Functiona Utilities Help LIBRARY A3426.HOUMRS. 7B Rew 00003 of 00008 Nene Rename «WW 4K Created changed size nit Mod 1D JR xDvoc1 —ADVAPR_— 01.00 85/04/21 85/04/21 1710721. 2k RAE JR xpvoo2 —ADVDEC 01.01 85/12/37 65/12/27 14:52 17 a7 AAR P HOUND 01.00 85/07/04 85/07/04 17:07 20 20 «A426 | HouNDBK 01.02 85/09/12 65/09/12 15:07 21213425 = wouoono 01,02 5/09/22 65/09/12 13420 2121 nae sewoooa 01.08 85/08/03 85/00/05 11:46 15 8 oo asaae B wewooo2 01.01 85/08/20 85/08/10 126071319 @ a4a6 | Meuooos 01,03 85/08/33 85/08/13 14:55 21228 A426 teznae As always, ISPF tells you that it has done what it was asked. Mens Functions cilities Help LIBRARY 03426 ones. TEx? Row 00001 of 00008 Command => Soroll ==> PACE Nane Renae «Wa created changed _— Size init Mod 1D R AOVOO1 *Renaned 01.00 85/04/21 05/04/21 17:07 2221042. R AOVOO2 *Rensmed 03.02. 85/22/17 85/12/27 1415217170428 P HOUND “Printed 01.00 85/07/04 85/07/04 17:07 2020S 0. aadze | HounpaKP 01.02 85/09/22 65/09/12 15107 21, 21g. Aa2e 7 nounoue 01,02 65/09/22 85/09/12 13420-2121 aaga6 = exco0:, 01.08 65/08/03 65/08/05 11846 158g nae T menc002 *Deleted 01-02 85/08/20 65/08/10 12407 1313.0 3426 = eMoo03| 01.03 85/08/13 65/08/13 14:56 21 21 @ A426 Working on the list of member names with the blank or pattern option is very fast when you need to perform operations on several members. If the list of member names is too long to fit on one panel, use the UP (F7 or F19) or DOWN (F8 or F20) keys to scroll. a Using ISPF/PDF: Advanced Features a SESSION 2: MORE ON DATA SETS ‘TITLE TOPIC 21 DataSet Records 22 Estimating Disk Space TOTAL TIME FOR SESSION: TOPIC 2.1: Data Set Records ESTIMATED TIME 15 min ‘5 min 20 min You need to be aware of the different types of records so that you don't waste disk space. A data set might take a tenth as much disk space if you pick the best record type when you allocate the data set. ‘The two main types of records are shown here: Data: crTy COUNTRY POPULATION SAO PAULO BRAZIL 12,578,045, SHANGHAT CHINA 11,000,000 MEXICO CITY MEXICO 9,200,000 CALCUTTA INDIA 9,165,650 RIO DE JANETRO BRAZIL 9,011,981 Text: Mr. John Q, Smith The Ajax Company 14 Oak street Piscataway, No Computer data is often of fixed length. That is, each record has the same length: cry, counrRy POPULATION SAO PAULO BRAZIL 12,578,085 ‘SHANGHAI caINA 11,000,000 Mexico crry MExICO 9,200,000 CALCUTTA, INDIA 9,165,650 RIO DE JANETRO BRAZIL 9,011,981 ‘Text usually varies in length. That is, each record may have a different line length: Mr. John Q. Smith The Ajax Company 14 Oak street Piscataway, NJ Using ISPF/PDF: Advanced Features 2 Session 2: More on Data Sets With fixed-length data in a fixed-length record, there is no wasted space: lem coun POPULATION | | 8x0 Pato BRAZIL 12,578,088 | | stansaar ccumna 11,000,000 | wexzco 9,200,000 | wora, 9,265,650 | BRAgIL 9,011,081 | \Variable-length data in a fixed-length record wastes space. Mr. John Q. Smith ‘The Ajax Company ‘Variable-length records prevent space from being wasted Me. Jonn Q. Sa: That is the difference between fixed-length and variable-length records. In ISPF, you specify a fixed-length record with an F and a variable-length record with a V: Record format... - F Record format | 11. V Now we come to blocking. Blocking concems how the records are transmitted and stored on an I/O (Input/Output) device, such as disk When records are physically stored on disk (aiid tape too), the system leaves a gap between the records so that it can tell where one record ends and the next one begins + + + [ Record 1 | | Record 2| | Record 3 | | Record 4 | ‘This inter-record gap can take up as much and even more space than the record itself. On a typical disk, the inter-record gap occupies 185 character positions; on tape it occupies 230 character positions. Using ISPF/PDF: Advanced Features Session 2: More on Data Sets 2B To regain some of the space used for inter-record gaps, you can "block" the records. ‘That is, you can put several records together in a block. Instead of this: + + + | Recordi | | Record 2 | | Record3 | | Record 4 | + ae You can block them like this: . | Recora i | Record 2 | Record 3 | Record 4 | You must specify blocked records by adding a B to the record type. Fixed-length blocked records, termed fixed blocked, are specified as: Record format... . FB Blocking can save a tremendous amount of data set storage space. Blocked records can also be read and written much faster than unblocked records. This can significantly reduce run costs. It is far more efficient for the computer to transmit (read or write) a group of records in a block than to transmit them one at a time, For fixed blocked records, the block size must be an even multiple of the record. length. That is, the record length times some integer must equal the block size. Itis more complicated for variable-length records. Variable-length records: + Record length must be at least as long as the longest record plus 4, 4 Block size must be at least as long as the longest record plus 8, The actual record length is stored within those extra 4 and 8 bytes, By storing the record length in each record, the operating system always knows how long each record is. Of course, the block size can also be inefficient if it is too big. ‘The basic unit of storage on disk is a track. A track is analogous to the groove of a phonograph record, except a track is circular whereas a record groave is continuous. A better analogy of disk tracks might be the concentric rings of a tree stump. Ona typical disk unit, the IBM 3380, a track ean contain 47,476 bytes. If you have 80-byte records and choose a block size of 24,000 bytes, only one block will fit on a track. | 24,000-byte be 23,476 wasted bytes Using ISPF/PDF: Advanced Features 4 Session 2: More on Data Sets ‘The following simple rules of thumb should solve most of your blocking problems, assuming your installation doesn't have a stéridard. Choose a block size of 6233 bytes or as close as you can get under this. Itis big enough to be efficient but not {60 big. Italso fits nicely onto the tracks of most models of disk units. SUGGESTED BLOCK SIZES Data records: Record format... . FB Record length . +. + 80 Block size... . + 6160 If the Record Length isn’t 80, choose some multiple of it that results in a block size close to 6200. Text records: Record format... + VB Record length | +. + 255 Block size... +. 6233 TOPIC 2.2: Estimating Disk Space Let's review. To allocate space in blocks, you must know how many records (lines) you need to store. Let's assume you are going to store 10,000 records. Then you need to know how many records are ina block. This is the BLKSIZE/LRECL for RECEM of FB; it is BLKSIZE /average-record-length for RECFM of VB. Let's assume there are 100 records in a block, ‘The formula for the number of blocks is: # blocks = number-of-records /number-of-records-per-block, How would you solve this formula for the record and amounts given above? That is, how many blocks do we need? The answer is: 10000/100 = 100 Weill need to allocate 100 blocks of primary space. The problem with allocating space in blocks is that you may not know how many. records you ae going to need to store, It's like guessing the lengthof a book, You can tell ata glance whether a book is big or small, but you would probably have no idea how many lines there are in it Now let's review how we could determine how many tracks our data set would take on a 3380 disk. Assume we have 10,000 records 100 bytes long blocked 64 records per block. ‘A 3380 track is 47,476 bytes long with an inter-block gap of 523 bytes. How many blocks would fiton a track? We arrive at 6 blocks per track with this formula 47,476 | (523 + (100 * 64) = 6.86, truncated to 6 ‘Actually, this formula is only approximate. The real formula is even more complicated. Using ISPF/PDF: Advanced Features Session 2: More on Data Sets 25 Here is how the records and blocks are stored on a track: First, a block contains 64 records: | 100-per-record + 64 = 6400 bytes 64 records/block ‘Then, with an inter-record gap of 523 bytes, 6 blocks fit on a track: {6400 bytes|523 bytes|6400 bytes |523 bytes] [6400 bytes|523 bytos|5938 bytes! Calculating the blocks per track is only the first step. The next step is to calculate the number of tracks needed. (There are 6 blocks per track, 64 records per block, and 10,000 records.) The formula is, then’ 10,000 /(64°6) = 26.04, rounded up to 27 ‘You round up because the system allocates in units of full tracks. If you truncate, the remainder of your data set cannot be stored, It's a lot easier to calculate the necessary blocks than to calculate the number of tracks required. And, of course, track size is device-dependent. If we'd allocated ‘our data set on a 3350 disk rather than a 3380 disk, the data set would have required 79 tracks rather than the 27 tracks we calculated for the 3380. After you gain some experience, you will get a feel for how many tracks it takes to store your data sets You can use the ISPF utility to examine your data sets and see how many tracks are allocated and how many are used. If you don't know how many records you have, this is the most painless method. It's like getting used to estimating the number of pages in a book--without having to guess the number of li And the reason you usually estimate in units of tracks is that the statistics your installation may provide you about your data sets are usually given in units of tracks, Using ISPF/PDF: Advanced Features 26 Session 2: More on Data Sets Use This Space For Notes Using ISPF/PDF: Advanced Features SESSION 3: THE UTILITIES TOPIC TITLE ‘The Data Set Utility Moving and Copying Data Sets ‘The Data Set List Utility Other Utility Options TOPIC 3.1; The Data Set Utility ‘The Data Set Utility ean do several things besides allocating data sets. To display data set information, you fill in the data set name, as has been done here, and press Enter. Went Reftist Usilities Help A Allocate new date set e D delete entive data set © Data set information (eh sn Usitities rePP Library: Project. - A3426 ype ext vans pata sot: other Partitioned, sequential Volune Serial +. + (Ie not cataloged, required for option °c") [peta set Password (rt pase Using ISPF/PDF: Advanced Features Session 3: The Utilities ‘The Current Utilization part shows you how much of the allocated space is actually being used. command => coneral Data Volume serial povice type organization «ss Record format, Rocord length Block size... ant extent tracks Secondary tracks « Expiration date Reflist utilities welp Current Allocation + pena ‘Allocated tracks. + 10 3350 Allocated extents | 11 ve 255 e233 carrent utilization 10 Used tracks... 13 5 Used oxtente ss. 1986/05/31 Selecting the § option--Data set information (short)~-would have given exactly the same result, The difference between “regular’ and *short’ information is only visible when the data set is partitioned. *Regular’ information adds three fields to the display: maximum directory blocks, used directory blocks, and number of members. These fields only apply to partitioned data sets, Heres an example of regular infomation fora PDS. The thre addtional feds are marked with double asterisks (*). (You press the END function key from here to get back to the Data Set Utility panel.) coneral Volume serial device type organization... Record format, Record length iat extent tracks Secondary teacks - creation aste Expiration date Reflise utilities Data Set Name see ot Help Data Set Information ~ 43426, HOLMES. TET curcent Allocation pace? Allocated tracks. + 10 2350 Allocated extents s+ 1 Po Maxinim dir. blocks +5 +4 re 6160 current Utilization 10 Used tracks 2. 1S ao sed extents a used diz. blocks | 13 1906/05/31 Number of menbere o 1 4 + Using ISPE/PDF: Advanced Features Session 3: The Utilities If you request information about a managed (or SMS) data set, the display will be somewhat different, Here's an example: Menu RefList Utilities Help ~ Data Set Information — General pata current Allocation Management Class. 6. 1 ¥3 Allocated kilobytes «+ 5 storage Clase. |) ss ¢ 83 Allocated extents 1+ : Volume se vee + Peus92 pevice type sss + + + 3390 Data class... 2 Ds current utilization Organization... s+ Po used Kilobytes 6 ss ° Record format ct Used extents i 1 Record lengths... + 80 Block size... + 77920 iat extent Blocks 6 1 5 Secondary blocks +. 12 Data get nano type. : POS creation date. . + 1983/07/11 Expication date. 1 *¢+None* Next we'll cover the Rename option. You might want to recreate a data set. Rather than deleting the old data set and creating a new one with the same name, you can, rename the old data set so that you can create a new data set with the original name. To rename the A3426. HOUND.TEXT data set as A3426, OLDHOUND.TEXT, first you select the option to rename the data set. Wena Refiiet UFilities Help bata got Utility option ==> R A Allocate new data sot © catalog data sot R Rename entire data set WU uncatalog data set D Delete entire data set 5 Data get information (ehort) blank Data set information ¥ Enhanced data set allocation 18PF Library: Project. . A3426 Group + + + HOUND Type so TEXT Jother partitioned, Sequential or VSAM Data sete Data Set Name. Volune Serial. - (IE not cataloged, required for option “cy Data Sot Password. (Zf password protected) Using ISPR/PDF: Advanced Features 30 Session 3: The Utilities You fill in the new name as prompted and press Enter. - command ==> Rename Data Set lo [pata Set Nanor A3426.HOUND. TEXT [volume . . + PRCKI? 1 enter new nane below! (The data sat vill be recataloged.) eI [x9FF Library: Project. . . A3426 | Group... . oLpHOUND type... TEE ' ! 1 1 [other Partitioned or sequential Data set: | Data set mame. . ' t l ' l Back at the Data Set Utility panel, you get a message telling you that the data set was renamed. Data set Uelity Data set renamed option => _ ‘The next option we'll cover is to delete a data set. You should delete data sets when you no longer need them so you don't waste disk storage space. But be careful. Once you delete a data set, itis gone. You can't get it back unless your installation backs up the disk packs onto tape periodically and has a facility for restoring individual data sets from the backup tape. You select the option to delete the data set. Menu RefList Utilities telp Data set Uesiaty Data set renamed option ==> D A Allocate new data set © catalog data set R Ronane entire data set W Uncatatog data sot D Delete entire data sot 5 Data set information (short) blank Data set information M Enhanced data set allocation SPP Livearys Project. . A0426 Group. + « OLDHOUND Type. TEX? other Partitioned, Sequential or VsaM pata sets Data Set Nana. s+ Voluse Serials. (Zt not cataloged, required for option “c") a (21 paseword protected) Using ISPF/PDF: Advanced Features Session 3: The Utilities 31 ISPF gives you one last chance to change your mind. Contizm Delete [command —=> I i et ' oats Set Name. + x3426.c1.090UND. TEXT I Iwolune . . = + + PACKI2 | Jereation bate. + 1990/01/27 i 1 i) >| ie [toatevctions: i 1 I 1 | Press EwTER Key to confirm the delete request \ | (ihe data set will be deleted and uncataloged.) | 1 I | Sater END command to cancel the delete request. i I I el I I I ' Iver I | o| ' I ! I i When you press Enter to delete the data set, you go back to the Data Set Utility panel, and ISPF gives you a message confirming that the data set was deleted, Data Set Oeslity Date set deleted, option a> Tsing ISPRIPTR Advanced Eaahurne 32 Session 3: The TOPIC 3.2: If your data set were protected by an expiration date (not all installations allow this), you would see two confirmation panels. Pressing Enter on the Confirm Delete panel would take you to a Confirm Purge panel. To override the expiration date and delete the data set, you must type Yes and press Enter. Before doing so, however, you should be very sure that the data set is no longer needed by anyone, Data Set being deleted has an expiration date which has not expired ‘Confiem Purge [ata set ane . + A2426.0L0u0UND. TEXT Ivolune +. + FACKI creation pate . + 1987/02/24 expiration pate + 1999/12/31 1 [eatae “/* £0 select option | Purge vata set 1 [anstructionsr 1 | unter "/" to conti | (a request will bo he pusge requa 12d and uncataloged) Rnter BND command to cance the purge request. Moving and Copying Data Sets There are many reasons you might want to move or copy data sets and members of, partitioned data sets. # You might copy a sequential data set into a partitioned data set as a member, ¢ You might copy selected members of a partitioned data set into another partitioned data set. ¢ You might copy a data set in order to Save it in its original form before making extensive changes to it. Option 3 at the Utility Selection Menu allows you to copy data sets. Using ISPF/PDF: Advanced Features Session 3: The Utilities 33 ‘Then you gett this panel. You specify the option you want and then name the data set to be copied or moved. Yenu Refbiee utilities Help Move/Copy Utility option ==> _ Mores + © copy data set or member(s) cp copy and print M Nove data get or member(s) Me Move and print 1 Copy and IMP lock member(s) LP copy, IMP lock, and print Ene promote data set or member(s) PP IMF Pronote and print specity “Fron* bata sat below, then press Enter key From 18PF Library! Project + options ©, oP, Ly and LP only ~ croup « type Member = (Blank of pattern for member List, + for alls imbers) Data Set Nanos + volume & For the Option, you must decide whether you want to move, copy, oF promote items cP orc Two copies exist when you are done-the original and the copy MP orM: _ ISPF copies the item and then deletes the original. Be careful pPorP, For moving or freeing or locking members of a library whose LPorl rekon is controled. Used mainly for program libraries CP, MP, or PP: The item is listed after it is moved or copied. ‘A Move is the same as a Copy, except the original item is deleted. You can copy or move from any data set to any data set. This includes: 4 Sequential data set to sequential data set. The "To" data setis replaced by the "From* data set. ¢ Partitioned data set to partitioned data set. You can copy all or selected members, @ Partitioned data set member, selected members, or all members to a Sequential data set, If there are multiple members, they are placed end to ‘end in the sequential data set. Sequential data set to a partitioned data set as a member. ‘There are three steps to copying or moving a data set 1, You tell ISPF whether you want to copy or move. 2. You name the data set you want to copy or move. ISPF terms this the "From’ data set. 3, You name the data set to move or copy to. (You can only move or copy to an existing data set) ISPF calls this the "To" data set. ¥ ” Using ISPF/PDF: Advanced Features 34 Session 3: The Utilities a Here is how itis done ... . To copy a sequential data set named A3426.TENSLIST.DATA, the name must be filled in as shown here. Then you request the Copy option and press Enter. Mons Reftist utilities Help Move/Copy Ubsisty option => More: + © copy data set or menber(s) ce copy and print 1M Move data set or manber(s) WP Hove and print copy and IMP lock momber(#) Le Copy, LHP lock, and print P IMP Promote data ast or member(s) PP IMP Pronote and print [specify “Prom” Data Set below, then press Enter Key From ISP Library: Project... A3426 options C, CP, Ly and EP only — Group... + TENSLIST . . 500 eo type + + DATA Menber (Blank or pattern for member List, for all members) Prom Othar Partitioned or Sequential Data set: Data Set Nano» Volune Serial | +s (Zt not cataloged) You have just named the data set to copy-the "From’ data set. Next, you must tell ISPF where to copy the data set to--the "To" data set. ISPF displays a panel for this. ‘The "From’ name defaults as the "To" name and is filled in as shown here. Menu Ratiiet veilities Help specify "To" Data set Below so 1808 Library: Project... a3476 Group = +. TENSLIST type s+ 1 + DATA Jno othor Partitioned or Sequential Data set: Data Set Name... volune Seriai : + (af not cataloged) Data Set Password. (If password protested) ito pata Set options: [sequentia Pack Enter "/* to select option Disposition 1 1. od Option 31. vos Replace Like 2, old 2. Wo PDS nanbers named Using ISPF/PDF: Advanced Features 1n 3: The Utilities 35 You change the name to whatever you want and press Enter, The course has entered a new name for you. Menu RefList Utilities solp COPY FROM A3¢26. TENSLIST_DATA specify “for pata Sat Below ‘so ISPF Library: Project... as426 Group 5. . OLDLIST type... s DATA /zo otner Partitioned or Sequential Data Sets Data set Mane. Volume Serial. + + (x not cataloged) pata Set Password = (2 password protected) ‘ro Data set Options: sequential Pack Eater "/* to select opt: Digposition 1 1. Mod option 3 1, vos Replace 1ike-naned 2. od 2. No PDs menbere The Copy may take a few seconds and then you get back to the "To" panel with a completion message at the top. Move/Copy Uti1ity Data eet copied option Let's copy the A3426.TENSLIST.DATA sequential data set to a partitioned data set as a member named JANI3. ene RefLiee utilities lp Move/Copy Usitity Data set copied option —=> © Copy data set or member(s) copy and print M Move data set or menber(2) MP owe and print Copy and IMP lock member(s) + LP Copy, IMP lock, and print P LMP Promote data set or nantor(s) PP IMF Promote and print specity “Fron” bata Set below, then pre Enter key Prom ISP Library: Project + options ¢, cP, Ly and Le only crows a 3 type Member |S: (Blank oF pattern for member List, ** for all menbers} Prom Other Partitioned or Sequential Data Sets Data et Nane = + + Volune Serial... (1E not cataloged) Tein TEPR/PNE: Adwancod Foaturne 36 Session 3: The Utilities ‘To copy the A3426,TENSLIST:TEXT sequential data set to the A3426.MEMOS.TEXT data set, you would fill in the partitioned data set name and member name, as. shown below. Men Refbist Utilities Help copy FROM A2426.TENSLIST.DATA Specify “To" pata Set Below 7 A3426 tioned oF Sequential Data sets volume Serial. (xf not cataloged) (2E paseword protected) To Data Set options: sequential Pac Enter */* to select option Disposition 1 1, Mod option 3 1. tos Replace like-naned You get back to the Move /Copy Utility panel when copying is complete. vove/copy Ueaiaty Data set copied leption When you copy "To" a data set, the "To" data set must already be allocated. That is, ISPF doesn't automatically allocate the "To" data set. You must do this first, before moving or copying. You can also copy any type of record: Fixed, variable, undefined, blocked, unblocked, To anything: Fixed, variable, undefined, blocked, unblocked, Records that are too long are truncated. Records that are too short are padded on the right with blanks. For a "From" partitioned data set, you can: + Entera single member name and copy or move just it, + Enter an* to copy or move all members. ¢ Leave the member name blank (or supply a member-name pattern) and press Enter to select names from a member list. You can rename a member of a partitioned data set when you move or copy it. On the "From? panel, specify the member name. On the "To" panel, you can fl in the new member name, You leave the member name blank if you don't want to rename it Using ISPF/PDF: Advanced Features Session 3: The Utilities 37, You can also rename members when you select them, You fill in the new member name in the Rename column. TOPIC 3.3: The Data Set List Utility ‘The Data Set List Utility (Dslist) lets you View, Browse, Edit, Delete, Rename, Print, and Compress data sets, among other things. The big advantage of the Data Set List tility is that you can list your data sets and specify several operations on them at the same time. It lets you do operations on data sets similar to the way the Library Utility lets you perform operations on several members of a partitioned data set To use the Data Set List Utility select option 4 at the Utilities Selection Menu. You then get this panel. You specify the option you want and then specify the data sets you want to operate on, The Data Set List Utility lets you operate on several data sets at the same time. For example, you can name the high level data set name qualifiers as the Dsname Level. Let's see how it works. The following will select all data sets that begin with A3426,HOUND, blank Display data set List P Print data sot Li v biepay Pv Print Vt0c information Enter one of both of the pa: below: Denane Level . . A3426.#OUND bata set List options: Initial View... 202. Volune Enter "/" te select option 2. space 1) contizm delete ‘me following actions will be available vhen the list is displayed: ae Enter a */* on set Liat command field for command prompt pop-up. inter TS0 commands, CLIST, REXX execs, or "=" to exacute previous command. | Tein SPR/PNR: Advanced Foatens 38 Session 3: The Utilities ‘You then get a data set list panel that lets you perform a variety of operations on the data sets. This panel displays space information. Othér views of the data set list are available. Well discuss them later. Tracks: Number of tracks allocated to the data set. Goused: The percent actually used of the allocated tracks. xT: ‘The number of extents used by the data set. Wenu Functions Oeiiities Help Conmand => Sere —=> Pack. = Enter "/* to select ac 3426 2 50 3 3380 nae 2 0 1 3360 ‘The real advantage of the Data Set List Utility is that you can perform operations on. several data sets at the same time. For example, three data sets would be printed here: tions Utilities Help DeLIS? ~ Data Sete Matching A3476.1OUD Rew 00001 of 00007 Conmand - Enter "/* to select action Sracks Wsed XT Device + End of Data get dat serees Using ISP/PDF: Advanced Features Session 3: The Utilities 39 You can leave the Dsname Level blank and fill in the Volume to get alist of all data sets on a specific volume. Here the course has filled in a Dsname Level of 43426 and asked to see all the A3426 data sets on PACK12. Menu Ratiiet Retveds Utilities welp blank Display data set List P Print data set list V Display VT0C information PY Print VT0C information Enter one or both of the parameters below: Denane Levol . . + AI426 Volume serial | | PACKI? pata set list options Initial View... 2 1. Volume Enter “/- to solect option 2. space 1 Conficm Delete he following actions will be available when the List is displayed: fer a */* on the data set list comand field for comand prompt pop: You then get a list of all data sets on PACK12. Menu Functions Utilities Help lconnand = Enter */* to select ac aracks Wused ‘83426. HOUND. CHT 3 66 1 3380 23426. HOUND-DATA 2 $0 1 3980 eaevaeeeseVanilerl acca frat tne (erseersrerereeseeee otters Now to the real power. In the Dsname Level, you can use an * as a "wild-card character to stand for any name: Dename Level . . . A3426.*.7ExT This would select data sets such as the following 2426. HOUND. TEXT 3426. TENSLIST. TEXT A3426.STUFF TEXT The * can be used anywhere in the Dsname Level, including in front or at the end of aname too: Dsname Level . . . A3426.HOUND.*LIB This would select data sets such as: A3426 HOUND. NEWLTB 3426 .HOUND-LIB 3426, HOUND-OLDLIB Teine PRIA Adwancad Eastern Session 3: The Utilities Don't enclose the data set name in quotation marks when you write it for the Dsname Level. You must always specify the first level qualifier fully. (This is usually your userid) This means that you can'tus the “inthe ist evel qualifier The * can also be at the beginning and FirstLevel: A3426 ‘or end of a name. To select all data sets according to the following: Second Level: All those that begin with G. Third Level: TEXT Menu Regiiet Reitede 0b blank Display data set 1 V Display vroc inforn: Enter one or both of the par: ‘Dsnane Level 23426. volune serial peta sot List options: jon PY Print B00 4 aneters below: Vorune Eater */* ‘otal aia to seiect option = Dele command - Enter "/* to sel 3426.0 .7ExT ‘racks Weed xP Device 20 100 1 3300 Using ISPF/PDF: Advanced Features Session 3: The Utilities 4 _—S—S—_—S “The options for the Data Set List Utility are: Blank - Displays the dataset lst that we have seen, V__- Displays the VTOC (Volume Table Of Contents which ls sets on volume) information, P= Prints the data set list rather than displaying it. PV - Prints the VTOC information rather than displaying it. Menu Refiist Reftede Utilities Help commana blank pleplay data sot List P Print date set list V Display VOC information PY Print VI0C information Enter one or both of the parameters below: Denane Level . . + volume serial, bata set List options: Initial view... 2 1. Volume Enter “/" to select option 2. space 1 contirm Delete ao aera 4. total ‘The data set List is available in four different view. ‘the first view you see i deternined by a field on the first penel of the utility, initial View... 1 1, volume Enter "/* to select option space 7 contirm Delete 4, total ‘The data setlist s available in four different views. The first view you see is determined by a field on the fist panel ofthe utility. Tnitial View,» 1+ Volume Enter “/> to select option 2. space 7 Contin Delete 4, total Using ISPF/PDF: Advanced Features 2 Session 3: The Utilities ‘Once the data set list is displayed, you can switch to the other views just by pressing, either the RIGHT or LEFT function key. Menu Functions Utilities Help JDeList ~ Data sete Matoning A2426 HOUND Row 00003 of 00007 Command —=> ‘Serol1 <=> PME command - Enter */* to select action Tracks SUsed xT Device ‘43426. HOUND.CNTE 3 66 1 3300 |A3426 HOUND. DATA 2 50 1 3380 1A3426.HOUND.218 2 100 1 3360 [K3426 HOUND. MEMO 1 0 t 3380 182426 HOUND.TEXT 185 1 3380 eri znd of pata Sot List serersenncereeeecesenrentss Pressing FL1, the RIGHT key, displays the Attrib view. Dsorg refers to Data Set Organization, The two values displayed here are for sequential data sets (PS or Physical Sequential) and partitioned data sets (PO or Partitioned Organization). Menu Functions Ueilities Help DSLIST ~ Data Sets Matching A3426, HOUND Row 1 of 5 ‘conmand - Enter "/* to select action Dsorg Recfm irecl Bikse 13426. HOUND.CHTL, Po 80 6160 12426 HOUND.DATA, Ps 80 3120, 23426 HOUND. 1B Po 6160 183426. HOUND.MEMO. Ps 90 6160 3426. nownD. TEXT Po Bo 6000 seerenstenesernsnterererten End of Data Sot list sssesssosessnaesnn Pressing F11 again displays the Total view. Notice that each data set requires three ines. This view delivers a lot of information, but it isn't as convenient for issuing line commands as the other three views. Wend Functions Utilities Help DSEret - Data Sets Matching A226.HOUD Row 1 of 5 iconnand => . Scroll —=> PAGE lconnand - Enter “/> to select action Meas. volume ‘Tracks § XP Device Dsorg Recfm Lrecl Sikez created Expires Referred 3426. HOUND-CNTE a 6s 13380 PO FB eo 6160 semioners® —PRCKLO 103426. OUND. DATA 2050 13980 PS FB 0 3120 sentoners# PACK 3426-HOUND.2I8, aco 13980 PO FB 80 6160 vemvones® PACK? 182426 HOUND.MEMO 20023380 PS FB a0 6160 Using ISPF/PDF: Advanced Features Session 3: The Utiliti 8 ‘The fourth view is Volume. Notice the Message field. In this case, we have just Printed a data set. If you were to press RIGHT, you'd be back to the initial view, Space, Menu Functions Utilities Help DSList ~ Data Sats Matching A2426.HOUD Row 1 of 5 command —=> scroll —=> Pace Jconnand = Enter “/* to select action Message volune 13426. HOUND.CNTE PRCKLO 183426.HOUND.DATA, Printed PREKES 183426 HOUND. LIB PACK? 23426. HOUND. TEXT PACKLO stereos End of Data Sat List © Whenever you want to change to a specific data set view, the direct approach is to use the action bar. Here's the panel again with the action bar shown. Notice the View action bar choice. Nene Funstior Gort Gonfiee View eile Compilers Help DSLIST - Data Sete Matching A3426. HOD Row tof 5 command = Enter "/* to select action Message volume 3426. ouNo.crTt pack 3426,H0UND, DATA, Printed PACKIL 3426.n0UND.2I8 PACK? 183426. HOUND. MEMO PACKI: 203426 HOUND. TEXT PACKIO weereverssees End of Data Set List see To select the View action bar choice, position the cursor as shown and press Enter, Mons Functions Gort Confirm view Utilities conpilers Help Jpsuist - Data Sate Matching A3426.HOUND Row 1 af [connand —=> Scroll —=> PAGE conmand = Enter "/* to select action Nossase votune 23426. HOUND.CHE PacKio 183426. HOUND.OATA Printed Packt 23426.HOUND.1I8 pack? 183426. HOUND.MEMO Packt? teseeeses nd of Data Sot list sttttineseeteeeeseseeeteeee Using ISPF/PDE: Advanced Features Session 3: The Utilities ‘The View pulldown menus lists the four possible views. The current view is Volume. Enter the number of the view you want to see Space. Menu Functions Sort confirm View Utilities compilere selp JbeLie® - Data Sete Matching AS4 | 20". Volume | Row 1 of 9 HOUND ORTR. Printed RCRA HOUND. MEMO PACKLL for example, 2 requests Io eeerscee Scroll <=> PAGE | 3. attributes | Js te select a 4. otal | Message volume This is the Data Set List Space view. command = Enter TOPIC 3.4: a uibrary 2 Move/cory 8 outnise, 9 commande 32 Format, 22 superc 13 superce tions Gert confirm View Utilities compli Scroll => PAGE */+ to select action wice | HOUND. DAT 2 50 1 3980 OUND. 185 1 3300 Usility Selection Panel compress or print data set. Print index Listing. Print, Tenane, delete, browse, edit or view menbers | Allocate, renano, delete, catalog, uncatalog, er display information of an entire data set Move, copy, or promote data sate: Print or display (to process) List of dal Print or display ¥70 Reset statistics for nenbers of ISEP 1 initiate hardcopy outpet Install ISPP C/s workstation code trom MVS to your workstation. pisplay, delete, oF print held job oxtput Create/change an application command table Format definition for 1re expansion. matted data Edit /Browse compare data sete (standard Dialog) Compare data sets and Search-for atcings (Extended Dialog) Using ISPP/PDF: Advanced Features Session 3: The Utilities 45 You use Reset to create, delete, or change the information kept fora partitio ved'data set. This is the information displayed for a partitioned data set that we've seen before. You might use this to reset the version number of a library. [Menu Functions Utilities felp ROIT —A3426.MRMOS.DATA Row 00001 of 00004 command —> Seroll <=> PAGE kame Created changed Size ‘Init Mod 1D = xPRAL es/oa/ai @5/o4/21 17:07 212k AE + pect? es/i2/i7 95/12/17 14952177346 ture 95/07/08 05/07/04 17:07 20 «20S 0 A426 seri? es/oo/iz 85/09/12 15:07 212k ernie The Outlist Utility is used to examine computer output from your terminal. We'll cover it later when we discuss ISPF for programmer use. ‘The Commands option is a feature used by programmers to build up command tables for application programs. The Convert option is used to change format messages and menus in the old version. of ISPE (it was called SPF then) to the new format. ‘The Format option provides support for the IBM 5550 terminal and DBCS. The next two options--SuperC and SuperCE-let you compare the contents of data sels in various ways. The output of these utilities is a sequential data set containing the comparison report. Several different report types are available. ‘The default is Delta, a ful isting of differences followed by an overall summary of the comparison. SuperC (option 3.12) is easy to use; SuperCE (option 3.13) is more powerful and flexible. You'd press Enter to sce the first SuperCE panel 1 Library com oF print data get. Print sndox Listing. Print nano, delete, browse, edit or view renbers cate, rename, delete, « og, oF display 2 pata sot information of an entire data set Move/copy ova, copy, oF promote monters or data sete 4 Delist Print or display (to process) list of data set names. 5 on for menbors of I60F Libeary 6 Hardcopy Initiate hardcopy output 7 TSF C/S Install SPF c/s, fon code from H¥S to your workstation. | outiist Display, delete, or print held job output Commands Create/Change an application command tal + Reserved 11 Format’ Format definition for formatted data Edit/erowse 12 Superc compare data sote (Standard piates) 13 superce Compare data sets and Search-for strings (Extended Dialog) 14 sear, Search data sets for strings of data (Standard Dialog) Visine IGPEIPR. Adrsmond Paavo The Utilities To produce a comparison report all you need to do is fill in the two DS Name fields. Meow Utilities Help ‘Superce Ueiiity blank Compare Data sets P Select Process options 'B copmit Batch Data Set compare E Edit statonents Data set § Extended Search-For Utility 2D Activate Profiles and defaults POS Nenber List «+ (blank/pattern ~ sanber 1ist, * = compaze all) (Leave New/old ben “blank for concatenated-uncataloged-password panel) optional section compas type... «LINE (Les Line fword/ayte) luseting type. s+ + DELTA (OUSUH/ Delta /cHNG/Long/NoLiet) Lsating Dan... SUPERC.LIST Process Options Statements Dan Update Dan ws ee BROWSE output |. YES (tes /vo/cona/upo) ‘As you might expeet, the comparison criteria can be quite complex. We won't go {nto detail here. You can find extensive documentation on these two utilities in the Utilities chapter and in the Appendix of IBM's ISPF/PDF Guide and Reference. ‘The last utility, Search-For (option 3.14), enables you to search several data sets for specified character strings. You enter the character string that you want ISPF to look for, plus the name of the data set or member(s) to be searched. The resulting report is written to a listing data set. Menu Refhist bilities Welp Searen-For Ueility searen string + + Enter “/* to solect option Node. . 1 1. Foreground ‘Specify additional search strings 2. Raton Mixed Mode rep tabrazy: Groups ss type vember ss (Blank or pattern for menber selection List, "for all members) Jother Partitioned or Sequential Data sete Data Set Name ss + Volume serial... (1E not cataloged) Listing Data Sot. . . SRCHFOR.LTST Data Set Password «+ (cf pasevord protected) Using ISPF/PDF: Advanced Features 47 SESSION 4: ADVANCED ISPF USAGE TOPIC TITLE ESTIMATED TIME 4.1 Other ISPF/PDF Primary Option Menu Items 10 min 4.2 Shortcuts for Panel Selection 10 43 Split Screen 10 44 Changing the ISPF Settings 20 45 Log/List Options 10 min TOTAL TIME FOR SESSION: Thr TOPIC 4.1: Other ISPF Pr ary Option Menu Items SSDP Primary Option Mem option 1 View Display source data or List mime. 521 158200 | 2 Edit create or change source dats eeminal, + 9278 3 Utilities Perform utility functions screen. s+ 1 6 command iter 880 of Workstation commands + SPFPROCE 8 IM Facility Library adninistrator functions sa 10 scum ‘Sn Configuration Library Manager Release | + ISPP 4. Bntex x to Terminate using log/list a The Foreground Option You get a menu of various language processing programs that you can execute interactively. In addition, you can also use the Document Composition Facility (SCRIPT/VS). The items available will depend on your installation. weno Ueilities Help 1 Assonbler 3 PLT optimizing 11. *FORTRAN debug 1A Assembler XF 6 vs pascaL, 12° Member Parts List 2 VB coRoL 11 7 sBinder/Link editor 13. ¢c/370 2d 08/98 COBOL 2 ScRIPT/vs 14 RERK/370 3 Vs FORTRAN 20. *VS cOHOL Ir debug 25 *A0R/370 4 PL/T checkout YOR +08/¥S coROL debug 16 *AD/Cycte C/370 37 ap/eyele copor/s70 | Enter */* to select option + ho packed data aupport Using ISPF/PDF: Advanced Features 8 Session 4: Advanced ISPF Usage The Batch Option Batch lets you selecta language processor. It then generates the JCL you need and lets you submit bateh jobs. The language processors available will depend on your installation. Mens Utilities Help command => _ 2 Assembler & 4 PLZ checkout 12 Member Parte tit EA Aasanbler XP 5 PL/I optinizing 33 sc/370 2. vs cosoL 11 5 vs PASCAL 14 ¢nERx/970 2a 08/5 COBOL 7 sBinder/tink editor 15 *apa/370 3 VS FORTRAN 10 +¥5 COOL IT debug 16 *Ab/eycle €/370 17 ap/cycle coson/370 Enter °/* to select option + ko packed data support J) Sourca data online Source data packed Job Statement Information: Verity before proceeding The Command Option ‘The Command option lets you enter TSO commands, CLISTS, and REXX execs, (This is mainly for programmers.) In fact, you can enter a TSO command, CLIST, or ‘exec on any Command or Option line in ISPF. You type TSO followed by the ‘command. For example Nenu Elst Wode Ponctions utilities Help SPP Consand Shell Bnter 180 or Workstation commands below: o> 980 ISPSTART PANEL (POP) Place cursor on choice and press enter te Retrieve command eeeee sees Using ISPF/PDF: Advanced Features Session 4: Advanced ISPF Usage 49 In fact, you can enter a TSO command, CLIST, or exec on any Command or Option line in ISPF. You type TSO followed by the command. For example: = Balt ~ Eatey Panel ~ You need Option 6 in only two instances. The TSO command, CLIST, or execis so long it must be written on two lines. You want to enter the Session Manager mode, which is an separate product. The Dialog Test Option The Dialog Test option lets you: 4 Test panels and dialogs that you have written 4 Setup, modify, and examine tables. © Browse the ISPF log. The LM Utilities Option You get this panel that lets you control the usage of libraries. of delete menter controls. 2 USER SET = create, update, or delete Iist of ueere authorize: perform 1ibrary ona. 3 DISTRIBUTION - Create, update, oF delete a distribution table to velate Gifferent promotion hierarchies. 4 acrivare = activate or deactivate promotion hierarchy controls ReviEH = Browse of print activity and library controls Tt ruronraL, = General information about the library management seabity Caciiicy 8 trom activity loss: sont to take when IMP data gets fi11 up Using ISPR/PDF: Advanced Features 50 Session 4: Advanced ISPF Usage The IBM Products Option From this window, you can execute any of the IBM products shown. Remember, though, that these products must be installed on your system in order for you to use them. Menu UElilties compilers options statue Help ~ TBM Products ‘Additional TBH Program Development Products csP/aD cross system Product/Application Development CSP/AR Cross Gyaten Product/Application Executor INFO/S¥S Information/syatem COBOL /SF COBOL structuring Facitity SOF 11 Screen Definition Facility If - Editore and utilities SOF I2-P Screen Definition Facility Ir - Prototype IBM Products IBM program devel 0 seu SW Configuration Enter X to Terminate using log/iist detauite ‘This is what happens when you select a product that is not installed on your system. | cross system Product/application Development | i not inetalled 1 cSP/aD is not currently available to your terminal session, The initial (OSP/AD panel doce not exist in your panel library, csP/AD ia not. p ISPF, but may be installed along vith TsPP, C5P/AD is an interactive set of prograns which help you produce higher quality end user applications sooner, allowing you to officientiy respond to your user's needs. CEP/AD has dononstrated a significant increase in productivity over that realized by more traditional methods: Por more information on CSP you may contact 15M Marketing or order these (GH23-0500 + CSP/AD and CSP/AE General Information $H23-0501 + CSP/AD User's Guide 5H23-0502 + CSP/AD Operation ~ Development 6X23-0900 + CSP/AD Reference Sunnary Don't be surprised if there is no option 9 on your ISPF Primary Option Menu, Many installations customize the ISPF menus by adding local options and by removing supplied options that don't apply. Using ISPF/PDF: Advanced Features Session 4: Advanced ISPF Usage 51 ‘This menu panel is the starting point for using the Software Configuration and Library Manager, an alternative to option 8 which extends IBM's concept of library management for complex software development projects. SCLM is discussed in Session 5, Topic 6. Mens Utilities Help Joption => Enter one of the following options: 1 view ISPF view or Browse date 2 edit Create or change source data in ScLM databases 3 UesALties Perform SCLM database utility/reporting functions 4 poste constrict ScLN-controlled componente 5 Promote Move components into SCLM hierarchy 6 comand Enter 10 or SCLM Commands x Ext Terminate scum sci Project Control Information: Project s+ + (Project high-level qualifier) aiternate . 5 (Project definitions defaults to project) croup (Defaults to 180 pre TOPIC 4: Shortcuts for Panel Selection To select the Library Utility requires going through two menus. First: Menu Utilities Compilers options statue Help I8PF Primary option Men Joption —=> 3 © settings Terminal and us User 2D. + A3426 2 View Display source data or Matings tine... 1 16420 2 mie for change source dat Terminal. + 3278 3 utilities Perform utility functions Seren. 111 4 Foreground interactive language processing hanguage. + ENGLISH 5 Baten ‘Submit Job for language processing Appl ID. ¢ ISP 6 command Enter 160 or Workstation commands ‘160 logon + SPFPROCE 7 Dialog Test Perform dialog testing 350 prefix: a2426 @ WM Facility Library administrator functions system ID + so%t 9 TBM Producte IBM program development products NYS acct. + +*NoNRe* 20 scLM ‘9H Configuration Library Manager Release . + ISPF 4.1 Enter X to Terminate using log/list defaults Using ISPF/PDF: Advanced Features Session 4: Advanced ISPF Usage command ==> 1 1 Library Compress or print data set. print index listing. Print renane, delete, browse, edit or view nenbere 2 pata Set Allocate, ronane, delete, catalog, uncatalog, or display information of an entire data set Nove/copy Move, copy, oF promote nenbers or data sets Delist Print or display (to process) list of data eet nanes. Print or display Vf0C information et statistics for moubers of ISPF library 5 Reset, 6 wardcopy Initiate hardoopy output 7 x9PP-¢/S Install IG9F C/S workstation code from HVS to your workstation. ° outlist Display, delete, or print held jeb output commands Create/change an application conmand table + Reserved This option reserved for future expansion. 1 Format’ Format definition for formatted data rdit/nrowse 22 Superc—copare data sete (Standard Dialog) 19 Superce Compare data sete and Search-for strings (Extended Dialog) 14 Search-For Search data seta for strings of data (Standard Dialog) ‘You enter option 3 and then option 1. ISPF also lets you request the two together like this: 3.1, (option 3 on this panel and option 1 on the next panel). ‘You get directly to this panel. Menu Refiist utilities Help Library UeiLity tees blank Display menber List E Bait member € Compress data set Vv View monber X Print index listing B Browse menber L Print entire data set D Delete member 1 Data set information R Rename nenber § Short data set information P Print member SPF Library! Project + + = croup." bec oo cee Member + (XE B, Dy Ey P, Ry Vy oF blank selected) New name. (it R selected) lother Partitioned or Sequential Data set Data Set Name... Volune Serial... (2f not cataloged) pata set Password. (xf password protected) Using ISPF/PDF: Advanced Features Session 4: Advanced ISPF Usage 53, On the ISPF Primary Option Menu, you can go directly to the panel you want: option 3.2 (Option 3 is the Utility Selection Menu, and option 2 on the Utility Selection Menu selects the Data Set panel.) option 3.3 (Option 3 is the Utility Selection Menu, and option 3 on the Utility Selection ‘Menu selects the Move Copy panel.) Ofcourse, you must remember the option numbers to do this, but you will after you have used ISPF for a while. ‘The RETURN key (F4 oF F16) is another shortcut. It gets you directly back to the ISPF Primary Option Menu without any intervening stops. ‘Suppose you were on the panel below and you decide you want to copy a data set first. You could: Press Fa to return to the ISPF Primary Option Menu, 4 Enter3.3 to go to the Move/Copy panel But asa shortcut, you could just enter =3.3 on the Command line. The "=" means return to the ISPF Primary Option Menu and then select the option. volune serial 5S (Blank for authorized default volune) + Generic unit... + (Generic group name or unit address) * space units ss. + UKs (BIXS, TRKS, CYLS, KB, MB or BYTES) Primary quantity. . . 1000 (an above units) secondary quantity. + 0 (an above unite) Directory blocks. . + 20 jor sequential date act) Record length » +. 255 | Block size ss oss 6203 Expiration date s+ cernaun, rerio ¥¥.000, TYY¥.D9D in Guléan form Enter */* to select option Allocate multiple Volures tor retention peried in days blank) You can enter a command like this on the Command or Option line of any panel: ‘The general form is an equal sign followed by the option or panel you want to go directly to. A command like this is called a ‘Jump command.” In Version 4, if your ISPF Settings specify "Jump from Leader Doss, (discussed in a later topic), you can also enter these jump commands in any field preceded by dots For example fother Partitioned or Sequential Data Sete Data Sot Nano... 99.2 Using ISPF/PDF: Advanced Features 54 Session 4: Advanced ISPF Usage If you forget the option number(s) for the panel you want to go to, you can use the ‘Menu or Utilities action bar choices from most panels. For example, with the cursor as shown on the Utilities action bar choice, you press Enter to get a pulldown menu. Venu Utilities Compilers options status Help SDP Primary Option Mens © Settings -Texninal and user paraneters User 5D. + A426 1 View Display source data or 1istings Tine. «5 + 10410 2 Bait create of change source data Terminal. + 3272 3 Perform utility tunctione Seren. 12 4 Interactive languace processing ranguage. + ENGLISH s Submit job for language processing Appl 10s + ISP, 6 Command Enter 759 of Workstation consands 1360 logon + SPFPROCE 2 Dialog test Perform dialog testing 60 pregix: A3626 @ Facility Library adainistrator functions system 10 + 9 thy Products 18M progran developeent. products Mis acct. + The pulldown menu looks like this. It allows you to select any Utility as a destination, To go to the Data Set List utility, for example, you simply enter 4 as shown here. Mens Otiiities Compilers options status Help 3: Move/copy 4. pata set List araneters ro. + a3426 51 gesut Statistics or 1istings caste ieee 6. Hardcopy urce d terminal, +9278 2 ISP c/S instal etions screens +t 2, ovttiee © processing Language. + ENGLISH 5) commande... wage processing xp ID . 1 Tsp +0. naserved ation conmands 250 logon + sPFPROCE format, i 180 prefix: a3426 2) supere | oF fonctions fl | 13. superce | rent. produ: : I ‘This is especially convenient in Edit. Suppose you are editing and need to copy a data set now, and then come back and continue your Edit ‘The Edit action bar lets you do this. # Position your cursor as shown on the Utilities action bar entry. Press Enter. File Edit Confirm Nenu Utilities Compilers Test Help wort 3426. MENOS.DATACINGUIRE) - 10.10 Cotuans 00001 00072 cenuee, vessrensenenel peer estgeerer ioc Using ISPF/PDF: Advanced Features Session 4: Advanced ISPF Usage 55 Here's the pulldown menu, You enter a 3 to get to Move/Copy. When your Move /Copy is ended, you return right back fo your Edit. This is called "command nesting’, and the action bars of most ISPF panels allow it. File Edit Confirm Meno Utilities Compilers Test Helj A3t26.senos.pat | 3 1. Library | Cotumns 00002 00072 [command | 2, bata set | Soro1t => PAGE seneae snanaanenen | 3. move/copy ee ecceeeerea }e00010 | 4. pata set List i (000020 tor (Name) «|S. Reset statietics | }000030 | 6. Hardcopy I ‘000040 [0 7. KSeF c/s instant 00060 | 9: Commande... 1 00070 | 10. Reserves 1 vooceo Refs | 11, Format 1 00090 | 12, supeee i 000100 |_13; superce I Another option. When you first invoke ISPF, you can add the number of the screen you wantto go to. For example. ISPF 2 <== To go directly to Edit panel. ISsPF 3.1 <== To go directly to the Library Utility panel. ISPF skips the Primary Option Menu and goes directly to the panel you specify ISPF normally erases a command when you press Enter to execute it, You can begin ‘a command with an ampersand (£) and ISPF won't erase it. For example, you could enter: COMMAND > GC cheap thrifty ALL Then if you wanted to make a second change, such as COMMAND ===> &C miserly thrifty ALL you could just overtype "cheap with "miserly" and press Enter ‘Another option is to enter the RETRIEVE command (or press F12) to retrieve the last command entered on the Command line. You can also enter several commands at a time. You separate each command by a semicolon to ’stack’ them. For example: Command CAPS OFF;C BOSTON Boston ALL;CAPS ON ‘This is the same as writing the three commands separately: ‘Command CAPS OFF € BOSTON Boston ALL CAPS ON ‘You can also change the delimiter character (}) to some other character if you wish, bby selecting option 0 (Settings) from the [SPF Primary Option Menu. a Using ISPF/PDF: Advanced Features 56 Session 4: Advanced ISPF Usage TOPIC 4.3: Split Screen ‘To split the screen, move your cursor to the line where you want the sereen split and press the SPLIT key (F2 or F14). ISPF divides the screen with periods across the line where your cursor was, and displays the Primary Option Menu under this. (If your cursor is on the Command line when you press the SPLIT key, the screen spits after the first line of the panel.) File edit contimm wena Utilities complexe Test elp sore ‘AS26.MEMOS.TENT(DECIT) —~ 10.10 columns 00001 00072 Jconnand => Sereld —=> HALF Menu uLsitige “compilers Options status Help ISPF Primary option Menu option => _ jo settings ininal and user parans User 1D. + a3426 1 View bigplay source data or list! Hows sc + 10020 2 Bai Create oF change source data 12278 3 Utilities Perform utility functions ; To select the Edit option: File dit Confirm Meno Utilities Compllere est Help ore A268 MEMOS.TENT(DECIT) —- 10.10 cotluans 00001 00072 Rote Fare ee oe areca eeceeenee ret eoe Menu ULiLities compilers Options status Help ISPY Prinary option Mont option => 2 1 View Display source data or listings aos10 2 Bait create oF change source data ae sea 2 Utilities Perform utility functions be Using ISPF/PDF: Advanced Features Session 4: Advanced ISPF Usage 57 Now, to select member JLY4 to edit: Pile edit Confirm Menu Ubsisti ‘compilore Test Help sorr ‘AS26.EMOS.TEXE (DECI?) 10.10 Cotunns 00001 00072 attetseneseesees nop of Data + Mons Reflist Refyede utilities Help 3PF Libra Project + Group « ype (Blank of pattern for member sotion List) You then get both members on the same screen. You can edit either one by moving the cursor where you want to edit, Bait Confize ‘compilers Welp ort ‘RA26.MRMOS.TEXT (DECI?) — 20.30, columns 00002 00072 ep zor AI26. MEMOS. TEXT (SLA) ~ 02.05 Columns 00001 00072 ae Seroll —=> HALE + top of Data + wterenscensnaresceeee 000300 Tor st 000400 From: Custodial Direc! 00800 subject Cleaning Proce: 00700 on days the race track is open, you will be 00809 required to clean your own offices. ‘The command and function keys pertain to either the top or bottom half of the screen, depending on where your cursor is. You can move your cursor with any of the cursor control keys, or you can press the SWAP key (F9 or F21) to swap the cursor from one half to the other. You can only work on half of the screen at a time because your cursor can only be in one place ata time. Both the split screen and command nesting methods allow you to suspend one ISPF function (like Edit) in order to perform a second function (for example, another Edit ora Usility) without ending the first. ‘Command nesting was introduced the previous topic. It uses a panel's Menu or Utilities bar entries to invoke the second function Using ISPF/PDE: Advanced Features 58 Session 4: Advanced ISPF Usage ‘The advantages of split screen are: # You can see parts of both ISPF functions together. 4 You can move back and forth between the two functions, without ending either one. By contrast, with command nesting: + The "new" (nested) function takes over the whole screen. ¢ To return to the first function, you must end the new one. You may find that command nesting has this advantage: Ibis usually quicker to get the second function started using command nesting If you need to jump back and forth between the original and new functions spit sctoen js the better choice. Otherwise, it's a matter of personal preference TOPIC 4.4: Changing the ISPF Settings ‘When you select the ISPF Settings option, you go to the ISPF Settings main panel, Mons ULilities Compilers Options statue Help SPP Primary option Menu option —=> 0 0 Settings Terminal and user parancters ser 7D. + a2426 1 view Display source data or listings tine. 1 4 26920 2 pate create or change source data erminal. 1 3278 3 utilities Perform utility functions Screen. +3 4 Foreground Interactive Language processing vanguage. + ENGLISH 5 pat Submit Job for language processing appl ID. + SP 5 commana Enter 180 of Workstation commands 1TS0 logon 1 SPPPROCE ) Dialog test Perform dialog testing ‘160 pretix: a3426 © uw Pacility Library administrator functions system ID + Som 9 IBM Products IBM progran developeent products MVS acct. + ++hoNE*+ 20 scLM ‘Sw configuration Library Manager Release + SPF 4.1 Entor“x to Terminate using log/list defauits Using ISPF/PDF: Advanced Features Session 4: Advanced ISPF Usage 59 ee Settings Main Panel Tog/tist Fonction Keys Colore Environ GUI Tenporary Help select options: Print Graphics Parnas Enter “/* to select option Family printer type 2 Command iine at botton Device nane « 7 Panel display CUA mode Aspect ratio ° Long message in pop-up J tab to action bar choices ‘Tab to pointeand-shoot fields General (core TEST/TRACE options Input field pad. mM jaion Manager mode connand delimiter + 7 J sump from leader dots dit PRINTDS Command ‘tecminal Characteristics: Sereen format. 1 1, Data 2. Std 3. Max 4, art terminal type 32,3277 3.52788. 3290R 7. 3278CF 9, 3776KN 21 3277h_4. 327006. 377878 2277K8 ‘Options List The area of the ISPF Settings panel that you use most often is the Select Options list. Options preceded by a / are ON. Options preceded by a space are OFF. ‘The options are: Command line at bottom. This places the command line at the bottom of ISPE panels. We recommend OFF to put the command line at the top, as illustrated throughout this course. 4 Panel display in CUA Mode. If you choose Command line at the bottom, the exact placement of the command line is also influenced by this Setting, When the command line is at the bottom and CUA mode is ON, the command line appears as shown here. Tog/bist Function keys Colors Snviron GUI Temporary Help (Westage Line. This Sa where I6PP displays “Long messages Function key area: optionally played here.) ‘When the command line is at the bottom but CUA mode is OFF (this is called "standard mode"), the command line appears as shown here, Note the position of the Message line . Tog/uiet Fr jon keys Colors Environ GUI Temporary Help (runation key area. optionally, function keys can be displayed her: (escage Line) Using ISPE/PDF: Advanced Features 60 Session 4: Advanced ISPF Usage 4 Long message in pop-up. ISPF displays two types of messages. Short ‘messages share part of a line with other panel information. Long messages ‘need a line of their own. When the command line is at the bottom, there's a line reserved for long messages. When the command line is at the top, a Jong message overwrites the line just below the command line. For example, "10 CHARS 'DISP" is a short message. Pressing F1 (HELP) displays a long message "CHARS 'DISP’ - found 10 times within columns 1 to72". Flic Edit confimm Mena Utilities Compileze Test Help porr 23426. PROCB.JCL(COBUCG) —- 10.31, command CHARS “DISP' - found 10 times within columns 1 to 72 eo0e1e //copucte PROC stsouT="+* 00020 //* PROC FOR COBOL With both "Long message in pop-up" and "Command line at bottom’ ON; the long message is displayed in a pop-up window. Notice that the line just above the Command line can now be used for data instead of being reserved for long messages. File B4it Confirm Mena utilities ep S*SY pore 143426. PROCS. ICL. (COBUCG) ae Hered 001500 7s + 001600 // | CHARS 'DISP’ - found 5 tines 001700 //8 + 4. "Tab to action bar choices" determines whether the action bar fields are unprotected so that the Tab (and Home) key will move into the action bar. ‘This setting can save you keystrokes especially if you intend to use the action bar alot or if you have your Command line atthe top and do not expect to use the action bar frequently With both Command line at bottom and Tab to action bar choices OFF, the Home key moves the cursor from anywhere in the panel directly to the Command line. ‘Then to get to an action bar choice, you must use the cursor moving keys (and not the tab key) to place your cursor. (Home can never move your cursor toa ‘Command line placed at the bottom of the screen.) By contrast, when "Tab to action bar choices" is ON, Home moves the cursor to the first choice in the action bar. From there, you can use the Tab key to select a specific action bar choice. © Tab to point-and-shoot fields. Point-and-shoot fields allow you to initiate an action by selecting the field. If you have a mouse or mouise emulator you Select the field by double-clicking the mouse. If you have no mouse, set this, ‘option ON'so you can use the Tab key to move the cursor between point- and-shoot fields. When the cursor is positioned in a field, press Enter to select it Restore TEST/TRACE options. TEST and TRACE options are set up when. you use Dialog Test (Option 7 on the Primary Option Menu). This course does not discuss Dialog Test. Using ISPF/PDF: Advanced Features Session 4: Advanced ISPF Usage 6 Session Manager mode. Set this option ON to indicate that the Session ‘Manager is to handle certain output produced by your ISPF session. The Session Manager is a separate licenstd program product and is not discussed in this course. 4 Edit PRINTDS Command. Set this option ON to allow you to receive control before processing of a TSO PRINTDS command, which may be issued in certain situations by the Hardcopy utility. PRINTDS is not discussed in this course. ¢ Jump from leader dots. This allows you to enter ISPF jump commands (like =34) in any field preceded by dots. Recommended setting is ON ‘On the lower part of the main ISPF Settings panel, you can change the display characteristics and type of terminal, but normally your installation will have preset these for you Attthe right side of the ISPF Settings panel, you can set Print Graphics parameters, used in printing items that contain graphics. You use this area to initialize GDDM, (the Graphical Data Display Manager), which won't be discussed further in this, Below the Graphics parameters are two general Settings: Input field pad specifies the character used to fill input fields when the typed value does not fill them completely. N stands for “nulls.” You could also enter B for "blanks," or any other "special" character, such as S. Command delimiter specifies a special character (but not the equal sign or period) used to delimit multiple commands entered on the Command line. ISPF Settings Action Bar Choices ‘The ISPF Settings action bar provides access to additional Settings panels. Some of these could be accessed directly from the ISPF Primary Option Menu in ISPF releases prior to Version 4, but that is no longer possible, ‘The Log /List action bar choice is discussed in the next to Function Keys Action Bar Choice ‘The Function keys action bar choice produces this pulldown menu, which provides access to all function key-related settings, and also allows you to control function key display and to enable or disable keylists Tog/idet Function Environ GUI Temporary Help | 4, Global PF rey settings | command = | 2. Reyliat settings... i | 3. tattor function key display | Select op | 4. show all fonct: | apnice paras: Enter “| 5. Show partial & | printer type 2 ona | + Remove function key display | name « Pane | 7. Disable keylists ratio ° vong | *. Enable keylists tab "Global PF Key settings'" refers to settings in effect when a keylist is not active. Version 4 of ISPF made keylists generally available to ISPF users. Keylists allow you to define distinct function key assignments for different ISPF panels. Using ISPE/PDF: Advanced Features 62 Session : Advanced ISPF Usage ‘The Global PF Key settings menu choice displays this panel. (You can also reach this panel at any time by entering the ZKEYS command at the Command line.) DP Key Definitions and Labela Number of PF Keye . . 24 Terminal type. - 3278 pes... exp PPS... RPIND PRL label. + Pr2 Label Pes babel = It allows you to make assignments and define labels for function keys FI through, FI2. You press Enter to get this panel for the alternate function keys, FI3 through Fad PE Key Definitions and Labels ~ Alternate Keys) Note: the definitions and labels below apply oniy inals with 24 PF eI? || ‘RIND P24. | REPRIEVE Pri) Label ria tabel Keylist settings allows you to display and change the function key assignments within various keylists. Keylists are not discussed in this course. Tailor Function Key Display allows you to specify labels and designate display characteristics for individual keys. Using ISPF/PDF: Advanced Features Session 4: Advanced ISPF Usage 63 ‘The next three choices control whether and how function key assignments will be displayed in the function key area of each ISPF panel. You have three choices: ¢ Show all function keys ~ all function keys will appear. ‘@ Show partial function keys -- only keys designated for "short" appear. isplay will ¢ Remove function key display ~- the function key area will not be displayed. ‘The last two choices enable or disable keylists. With keylists enabled (the default), the meaning of the primary function keys (F1-F12) vary according to the panel on which you're working. We recommend that keylists be disabled so that function, key meanings are consistent, and so that the primary function keys (FI-F12) have the "standard!" ISPF assignments, By default in ISPF Version 4, the primary function keys have CUA-compatible assignments~and these differ from the familiar ISPF assignments in some important ways. For example, the CUA assignment for F12 is CANCEL--not RETRIEVE as would be ‘expected by ISPF users, With keylists disabled, both the primary and alternate function key sets have the expected ISPF assignments. ‘The function keys can thus differ from the standard ones described in this course for these reasons: Your installation can change the normal function key settings. 4 You can change the function keys yourself 4 Keylists can be enabled. Other Action Bar Choices The remaining Settings action bar choices are useful only in special circumstances: Colors allows you to change the colors in which various panel areas are displayed Environ is used mainly by systems programmers gathering data for diagnosis of ISPF software problems. GUIs related to the use of ISPF from a programmable workstation. Temporary allows you to request that klentiying codes be displayed on each ISP panel type and in any error messages. TOPIC 4.5: Log/List Options ISPF keeps two data sets to record your actions during a terminal session: © Log data set. ISPF keeps a record here of major activities, such as saving data sets, submitting jobs, and deleting or copying data sets or members. 4 List data set. ISPF stores the screen "snapshots" here, generated by your PRINT or PRINT-HI commands, as well as other output you may SAVE or send to the List data set during your ISPF session. Using ISPF/PDF: Advanced Features 64 Session 4: Advanced ISPF Usage Let's get directly to the Log /List action bar pulldown on of the ISPF Settings panel, which allows you to manage these data sets. Yog/tist Function kaye Golore Environ GUI fenporary Heli et defaults | tinge | 2 Log bata | 21 List Date set defaults Il | 3. det ata get characteristics | i 4 ct. | Print craphics Parma: + Panity printer type 2 command Line at botton Device names + Log Data Set The "Log data set defaults” choice displays this window. You won't need to change ‘most items and your installation won't want you to change some of them either. But here are a few options fon keys Colors Eaviron GUE ‘eaporary felp and delete yet (without printing) 3. eop data set (append subsequent. information to sane data set) 4, Keep data set and allocate new data Local printer 10. Primary pagor = + = 20 Secondary pages Leg Message ID ready allo ‘The main option you might change for the Log data set isthe Process option to be used when you exit ISPF Prints the output on a high-speed printer, then deletes it. Deletes the data set without printing it, Keeps the data set and doesn't print it. (Seldom needed.) Keeps the data set but uses a different data set for the next ISPF session. Choose option? if you arent intersted i the output. Usually you won't be (But ;portant data sets where you want to keep an audit trai, select option 1. ‘Then see someone at your installation to help you fill out the JCL you will be prompted for) Using ISPF/PDF: Advanced Features Session 4: Advanced ISPF Usage 65 ‘The Log output looks like this: TIME ++ IGEP TRANEACTION LOG ++ USERID: A426. DATE: 95/6/16 PACES 1 19111. START OF TSPF SESSION Los #11 19113 UTILITY - HOVE/COPY- A2426.MEMOS.TEKT(FED12) COPIED rena TO A3426.MEMOS.TEXT(OLDPEB12) 19:14 EDIT. = SAVE ~ A3426.MEMOS.TEXT(APRI6) — MEMBER SAVED 1917 URELYTY - DELETE - A2426.MEMOS.TEXT(PERD:2) DELETED 39120 _END OF T9PF SESSION Los #11 List Data set The LIST output contains just what was on your screen when you enter a PRINT oF PRINT-HI command or other ISPF commands that send output to the List data set. Thatis, the List data set contains output that you have specifically requested. The “List data set defaults” choice from the Log /List pulldown menu displays this window. Again, the process options are most important Usually you want option PD to print the output. If you don't want any output during a terminal session, don't enter any PRINT oF PRINT-HI commands. Function Keys colora Gaviron GUI Temporary telp ~ 1S7F settings i hist Data Set Defaules Process option 1. Print data sot and delete 5 2, Delete data set (without printing) 3. Keep data aot (append subsequent information to sane data set) 4, Koop data sot and altocate new data i set Isvsour clase... A Inocal printer 1D + - [Lines per page... 60 i primary pages [secondary pages You can process your Log or List data set at any time during an ISPF session with one of these self-explanatory primary commands: LIST DELETE LIST KEEP LIST PRINT LOG DELETE LOG KEEP LOG PRINT If you wait until leaving ISPF to process the Log /List data sets, you get a chance to review and accept or override the defaults you've established. Let's look at the ISPF Primary Option Menu again ... Using ISPF/PDF: Advanced Features Session 4: Advanced ISPF Usage Instead of entering an X to exit, you press the END key (F3 or F15). Nenu Utilities Compilers Options Status Help ISPF Primary Option Mem Joption ==> © settings ‘Terminal and user paraneters User 1D . + A426 2 View Display source data or Listings mime. 1 4 16:20 2 Baie create or change source data terminal. + 3278 3 uesiities Perform utility functions Screens. #1 4 Foraground Interactive language processing Language. 1 ENGLISH 5 Batch ‘subsit job for language processing Appl ID. + ISP 6 Conmand Enter 760 or Workstation commands 1780 logon 1 SEFPROCE 7 pialog Tact Perform dialog testing 750 prefix: 3426 @ tw Packiity Library adninistrator functions syste 1D + Sofi 9 TBM Products IBM program development product HVS acot. + senoMEe® 10 scLM ‘88 configuration Library Manager Release | + SPF 4.1 Bntox X to Terminate using log/iist dofaulte The default options are filled in. You can change any of them you wish. Specify Disposition of tog and List Data Sets ‘command —=> _ Log options far this session Process option . +. 2 1, Print data set and deiete 2) pelete data set without printing 3. Keep data set ~ sane (allocate sane data set in next sossion) Keep data sot - Now (allocate now data set in next session) svsour class... A Tocai printer 1D. List options for this session Process option ... 4 1, Print data sot and delete 2. delete data set without printing 3, Keep data set ~ Sane (allocate sano data set in next session) 4, Keep data set ~ New (allocate new data set in next 9¢ on) svsour class... sa Local printer 1D. + Press ENTER kay to complete ISPF termination. Using ISPR/PDF: Advanced Features or SESSION 5: MORE ISPF USAGE TOPIC TITLE ESTIMATED TIME, ‘Advanced Editing Features ‘Advanced FIND and CHANGE Features ‘The SORT Command Use of ISPF in Programming Dialog Manager Using Controlled Libraries ‘TOTAL TIME FOR SESSION: TOPIC 5.1: Advanced Editing Features Recovery Control As an alternative to saving your data set every so often in case of a system failure, you can turn RECOVERY on with: RECOVERY ON —orjust_ REC Then when you edit a data set, the first change you make causes ISPF to write a checkpoint to disk. Thereafter, it records each change you make ina log. Then if the system crashes, it can recover, ‘The default is RECOVERY OFF Ifa system crash occurs, you get th panel when you go back into Edit: Recovery iconnand —=> tthe following date ast was being edited or viewed when a system failure 1 task abend occurred: instructions: ‘Press BNTER key to continue editing or vi ing the data sot, or Enter END command to return to the previous panel, or Enter DEPER conmand to defer recovery of the specified data set, oF Enter CANCEL connand to cancel recovery of the data s! ‘To continue editing or viewing @ password protected data set, specify: pate Set Password. Using ISPF/PDF: Advanced Features 68 Session 5: More ISPF Usage Undoing Your Mistakes RECOVERY protects you from external events like a system failure or a network problem. What about protection from your own boo-boos? Fortunately, Edit has the UNDO command, which lets you back out Edit transactions one-by-one. An Edit transaction occurs you when change the data (either with one or mote Edt commands or by over-yping) and pres Enter ora function key. UNDO reestablishes your data as it was before the last Edit transaction. If your mistake was three transactions back, just issue UNDO three times. So when this command: feorr.---- n3026.va8T.DAD ‘Columns 00003 0007: lcoxeux> —=> C ALL the a ‘Scroll e=> HALF 000100 For a blithe summer in Athens, install the thermal blanket tasers one Botton of Data sreersssecnseceetersteseee Results in this: al blanket. stireters patton of Data thrstsertessstetssesesers You can recover from your mistake without canceling the Edit session or retyping, the damaged data. The results of the incorrect command are “backed out? stetenenseeseeeewesess top of Data seeeevese a Athens, i the thermal blanket. srvevee'sotton of Data titireeree a blithe summer You can now resume editing, perhaps rtrieving and respecifying the faulty CHANGE command. + The UNDO command uses either the recovery file or data kept in storage to back out your Edit transactions. The UNDO source depends'on the value of the profile variable SETUNDO. The standard options are SETUNDO REC. and SETUNDO STG. There isa possible performance penalty associated with using the recovery file. The easiest way to deal with aWARNING message mentioning UNDO and RECOVERY ON is to issue the REC command. You could remove the message with RESET but it will probably reappear when you start c another file. ¢ You may wish to set one of your alternate function keys to UNDO. ¢ UNDO works well with the RETRIEVE function. Use UNDO to back out the results ofa command. Then RETRIEVE that command, modify i and try itagain. Using ISPF/PDF: Advanced Features Session 5: More ISPF Usage 2 Setting Margins ‘To set margins, or "bounds" as ISPF terms them, you do the following: Type BNDS overa line number and press Enter. Any current bounds are displayed. # Onthe BOUNDS line, type a"<" where you want the left bound and a">" ‘where you want the right bound, on the same line, and press Enter. Once set, bounds do the following: Limit the area of scrolling left or right. ‘¢ Limit the area searched by FIND and CHANGE commands. ei the area that can be overlaid. (We discuss overlays in this topic.) ¢ Limit the area affected by right or left shifting. (We discuss shifting in this, topic.) Limit the area for text entry with the TE, TS, and TF commands (described in this topic). When you enter the BNDS command, itis saved in your Edit profile ‘You can also enter BOUNDS on the command line to set the bounds. You enter: Command = BOUNDS column column Shifting Text ISPF also lets you shift text left or right. You enter the following in the line area of a single line oF On the first and last line ofa block of lines: (x Shifta line left n columns. (Shift block of lines left n columns. Cn jn Shifta line right n columns. )) Shift block of lines right n columns. ya ‘The "(" and "Y' characters perform what ISPF terms column shifting. A line is shifted left or right, and data can be lost You can instead use a "<" or ">" to do what ISPF terms data shifting. This shifts left of right too, but the characters on the line never move closer than one space to the left or right margin: « START_FLOW: IF cosr > 2000 <5 ‘TREN COST = 2000; You get: ==ERR> START_FLOW: Couldn't shift left any further. 000200 TF cos? > 2000 000300 THEN COST = 2000; Using ISPF/PDF: Advanced Features 70 Session 5: More ISPF Usage Overlays Now for overlays. Suppose you wanted to move columns from one set of lines to another set of lines, like this: 000100 ABLE 000200 BAKER + want to 000300 Jones 7|\ move these oooaao | tohere. (000500 BOSTON I 000600, LONDON >t 000700, HOUSTON a+ ‘The O (for Overlay) command does this .. ‘To overlay, you mark the line(s) to receive overlays with O, On, or two sets of OOs for a block. 00 100 ABLE 000200 BAKER 00 300 JONES 000400 Then mark the lines containing the data to move or copy. (We're doing a move here.) mM 500 BOSTON 000600, LONDON mm 700 HOUSTON And when you press Enter, you get 000100 ABLE Boston (Note: The data is overlaid 000200 BAKER LONDON —_only in the corresponding 000300 sonES HOUSTON blank columns in the 000400 receiving line.) MOVE/COPY Data Sets or Members ISPF lets you copy or move an entire data set or member of a partitioned data set into the data set you are currently working on. (As always, the MOVE is identical toa COPY, except the original copy is deleted after you move it) ‘This can be extremely handy. You can: # Copy a standard "boilerplate" into your text. # Copy in a form to be filled out. Copy in frequently-repeated lines. ‘To copy or move a member from the same partitioned data set you are working on, you enter: copy member or MOVE member Using ISPF/PDF: Advanced Features Session 5: More ISPF Usage 7 Here is the command to copy a member named MEMO, 7RDE26, MEMOS TERE (DECI) Goluana 00003 00072 000100 chrietmas day is a holiday this yea: ‘Then you move your cursor to a line number and type a Bor A to copy the member before or after the line, (You could also do this before you enter the COPY or MOVE command.) If MEMO contained: 00300 sussEcr 200400 ‘And we typed the following and pressed Enter: porn ———- Aae26,na08. TERE (DECIT) ‘Golumns 00001 60072 B 100 Christa: day. We would get: o00i0 Tor 1s yoar--all day. Incidentally, you can name up to four partitioned data sets on the Edit Entry Panel ISPE "concaténates” the data sets, which means it treats them as if they were placed end to end to form one continuous data set. When you COPY or MOVE a member, ISPF searches each of the data sets, in the order named, to find the member To copy in a sequential data set or a member of a partitioned data set other than the one you are working on, you first mark where to copy to witha B or A and then just enter COPY or MOVE. ‘CREATE/REPLACE Data Sets or Members CREATE and REPLACE are the inverse of MOVE/COPY. They let you copy or ‘move a line or block of lines from your data set and store them in another data set ‘or member of a partitioned data sét. Using ISPF/PDF: Advanced Features R Session 5: More ISPF Usage ‘The commands are: CREATE menber For partitioned data sets only, to store as a member of the data set you are editing. CREATE To store as a new member in a partitioned data set other than the one you are currently editing. ISPF displays a panel for you to name the data set. REPLACE menber _To replace a partitioned data set member. REPLACE To replace a sequential data set or a member of a partitioned data set other than the one you are currently editing. ISPF displays a panel for you to name the data set. ‘These three Edit primary commands are potentially destructive: CANCEL discards changes made since the last SAVE. ¢ MOVE deletes the requested data set or member after copying it into your Edit file ¢ REPLACE overwrites the contents of the named data set or member with the data from your Edit file. If the Edit Confirm option is enabled, Edit will warn you when you enter one of these commands. Edit displays this Confirmation window. [Pile Baie confirm wens vcilitios © confize Hove mmpilers z1 cotuans 00001 00072 © | Command => _ Seroll —=> PAGE ol © | Move has besa requested for menbar MEMO © | of data sots | as426.egMos. Text a | Moved menbers are deleted. “1 1 1 Prese ENTER key to confirm move request. (loved menber witl be deleted.) In this.example, to confirm that you intend to delete MEMO after it is copied into ‘your Edit data set, press Enter. If you don't want MEMO to be deleted, press the End key (F3 or F15) to return to Edit. Then you can change your MOVE command toa COPY. ‘The Edit Confirm feature is optional. You enable or disable it on the Edit Entry panel or, while you are in Edit, through the Edit action bar's Confirm choice. With the cursor positioned as shown, press Enter to get a pulldown menu. File Bait _Gontiem Mens Utilities Compilers fest Help 1A3¢26, menos TEXT (DEC17) Coluans 00001 60072 Using ISPF/PDF: Advanced Features Session 5: More ISPF Usage 2B This is the Confirmation prlldown menu. To enable Confirmation, you choose a 1. ‘Notice that the first word in the label for choice 1 is "Cancel". This refers to the CANCEL command; it does not mean that you are canceling Confirmation. File Edit Conticm wee Utilities Compilers Test Help 1, cancel/Move/Replace Confirmation | Columns 00001 00072 1 No Cancel/Move/Replace confirmation | | Serell —=> PAGE The TE, TF, and TS Line Commands ISPF provides three very useful line commands for entering text, replacing paragraphs, and splitting lines. TE — Stands for Text Entry. Used for free-form typing of text. TF — Stands for Text Flow. Used for reflowing paragraphs. TS Used for splitting lines TE gives you blank lines to type on and automatically does the carriage returns for you (‘power" typing). (Tabs are inoperable when TF is used.) Here's an example Showing what happens when bounds are also set late in the mornings, av TP t') ME, Sherlock Holmes, who was usually ve fe upon those not. infrequent fated at the breakfast tablo. When you press Ei 000002 sally very late in the nor [000003 ave upon thove not infrequent 900005 was seated at To splita line, you overtype TS in the line number area of the line you want to split, move your cursor under the character where you want it split, and press Enter. You can also enter a number after-the TE, TS, or TF commands to do the following: ven = Enter‘n"blanklines. (TE enters blank lines to the bottom of the screen) TSn = _ Insert *n" blank lines after the first half of the split line. (TS enters one blank line after the first part of the split line.) ‘ren - Flow the text within the bounds, but use column "nas the new right bounds for flowing. This lets you widen or shorten your flowed lines. Using ISPF/PDF: Advanced Features 4 Session 5: More ISPF Usage Masks ‘The final item to cover is the MASK. The MASK lets you put fixed data into the new lines you are entering. To set up a MASK, you type MASK over the line number and press Enter. ISPF displays a line containing the current MASK if any. You overtype this line with anything you want for the MASK. MASK> I I Then when you enter any new lines with an I (Insert), TE, oF TS, the new line will contain the MASK. 13 100 ISPF Macros ISPP also provides a macro facility that lets you or your installation write macros to create individualized edit commands. ‘The ISPF edit macros are beyond the scope of this course, They are described in an IBM manual: ISPF Edit and Edit Macros and in the SRA course ISPE/PDI Productivity and Programming. Other Edit Entry Panel Fields We'll finish this topic by describing the remainder of the Edit Entry Panel fields: Menu Refbise fen te Batt Entry Panel SPP Library: Groups ss + Montes . s+ (Blank or pattern for member selection ist other Partitioned or Sequential pata set: Yolune Serial (af not cataloged) rnitial Macros + + Enter */* to select option Profile Name sss + 7) contin cancel /Move/Roplace Format Nano ss es Nixed Mose Data set Password. (TE password protected) IMP Look: 3 ts Never Session 5: More ISPF Usage 75 ‘The bottom lines of the screen are used as follows: pata Set Password .. (If password protected) (ifa data set is protected by a password, you enter the password on this line) Profile Name... .. (Blank defaults to data set type) (You can name the profile you wish to use.) Initial Macro... - (This lets you invoke a macro to be executed when you enter Edit to do such things as Set your editing environment.) Format Name. . (Used for editing specially formatted data sets, such as those containing DBCS characters.) Enter “/* to select option 7 confizm Cancel /Move/Replace Mixed Mode LMF Lock is used to lock members of a library under the control of LMF. LMF is discussed in Topic 5.6. Confirm Cancel /Move /Replace causes ISPF to display a confirmation panel when you use a CANCEL, MOVE, or destructive REPLACE primary command. Select this by placing a slash in front of itas shown. Mixed Mode is used to edit data containing two-byte DBCS characters, for example, those used to represent Japanese Kanji characters. Usually, you will not select this, 50 its entry will be blank as shown, TOPIC 5.2: Advanced FIND and CHANGE Features First, ISPF lets you search for prefixes, suffixes, and complete words. Finding Prefixes: F PRE new © PRE new old Finds the characters only if they begin a word but are not in themselves a complete word. For example, the above finds: newton newborn butnot, new york Agnew Finding Suffixes: F SUF new © SUP new old Finds the characters only if they end a word but are not in themselves a complete word. For example, these commands find: Agnew butnot; new york newton newborn Using ISPF/PDF: Advanced Features 76 Session 5: More ISPF Usage More ways to find characters: Finding complete words: F WORD ‘new’ © WORD ‘new’ ‘old* Finds the (upper or lower case) characters only if they appear as a single word: New York new —butmot’ Newton Agnew ‘The options for finding or replacing characters, prefixes, suffixes, or words are: CHAR SUF ‘CHAR ~ The default if you omit them all. Just find the characters SUF ~ Find the characters asa suffix~at the end ofa word, PRE ~ Find the characters asa prefix~at the beginning of a word, WORD ~ Find the characters as a complete word. As a reminder, you can also specify where to start the search and the direction in which to search: Next ALL CHAR FIRST SUF LAST PRE PREV WORD F characters’ ce == veld" new" EX? ~The default if you omit them all. Start from the cursor position and search forward for the next occurrence ALL — = Start from the top of the data and search forward to find all instances, FIRST - Same as NEXT, but start from the top of the data, LAST - Opposite of FIRST. Start at bottom of data and search backward to find the last occurrence. PREV - Opposite of NEXT. Start at cursor and search backward, Line Labels Since ISPF renumbers lines whenever you insert or delete lines, line numbers are not suitable as a means of remembering different places in your text. For example, you fray want place a"bookmark’ in your txt, continue on, and then ater quickly get back to the place you marked. Using ISPF/PDF: Advanced Features Session 5: More ISPF Usage oe To do this, you can type ina label over the line number. The label must begin with a period and be one to five alphabetic characters. The first character cannot be a Z because ISPF reserves labels beginning with Z for its own use. Other than this, you can choose any label that is easy for you to remember. The following are typical: X ALL HORD F Scroll —=> HALF | (000100 ene, Nancy -F08 14 1936 S92-62-8798, Jo00300 Jones, Hank © -M 11:05 1949. Si1-44-4312 000400 Cain, Prank M02 24 1956 533-96-5521 000500 Baker, Mary —-F08 13 1960 23-14-3225, 000600 smith, Jane F_0S 04 1962 _551-33-2754 ‘The following lines would display. Note that ISPF tells you where there are excluded lines and how many there are. Seroll —=> HALE wenn nner eens 1 LAne(a) not Displayed (00200 Aanes, John M12 21 1938 54-22-1215 | 000400 Cain, Frank M02 24 1928 $33-95-5921, Even though the excluded lines no longer display on your screen, they are still part of your data set. ‘There are several other reasons why you might exclude lines besides being able to manipulate them as a group. © To display only the lines you are interested in. ¢ Todisplay widely separated parts of your data together by excluding all the lines in between. # To blank out lines for security reasons if you don't want someone nearby to see them. ISPF also lets you control the display of the excluded lines with the following line commands. You type one of these on the excluded line message: F First — Display the first excluded line. L Last - Display the last excluded line S Show ~ Display the first excluded line. You can also follow F, L, or $ with a number to display some number of lines: #20 Using ISPF/PDF: Advanced Features 80 Session 5: More ISPF Usage For example, you could write the following to show the last excluded line. Berek, —=> RALP 2 Line(s) net Displayed 000200 Aames, John M12 21 1938 54-22-1215, 900200 gones, Hank © -M11:05 1949 St1-44-4312, 000400 Cain, Prank M02 24 1988 33-96-5321, Displayed Fora highly specialized alternative to the F, Land § line commands, try the FLIP primary command. FLIP changes the display status of each line inthe le, ll Eisplayed lines become non-displayed; all non-displayed lines become displayed. For example .. flip SCROLL —=> HALE INe(S) NOT DISPLAYED 000200 Aamo, John M12 21 1938 554-22-1245 fo0c300 ones, Hank M11 05 1949 51144-4322 1iNE(S) Nor orsPLareD Would yield this result: [pore ---~ A3426.TENSLIST DATA — ‘Counts 061 O72 00200 Zeno, Maney 09:14 1936 91-62-8798 = 3 Limes) Nor orspzarzp 52-14-3225 000500 Maker, Mary =F 000600 smith, vane F Here is the general form of the FIND, CHANGE, and EXCLUDE commands so far: NEXT ALL CHAR FIRST SUF LAST PRE Xx PREV WORD NX F label -label ____ ‘characters’ ¢ ‘label ‘label = ‘old’ ‘new’ X label ‘label = ‘characters For example: COMMAND ===> X ALL WORD ‘SMITH’ (Excludes all lines containing the word SMITH.) Then ‘COMMAND F FIRST WORD NX ‘THOMAS’ (Gearches only the lines not excluded from the top of data to the first instance of the word THOMAS. These two commands find the first person named THOMAS who does not also have the name SMITH.) Using ISPF/PDF: Advanced Features. Session 5: More ISPF Usage 81 ‘The FIND, CHANGE, and EXCLUDE commands only look at data within any bounds you set. Thus you can limit the search to specific columns by setting bounds. Alternatively, you can specify a starting and ending column in the command itself: F ALL 20 30 ‘THE END‘ This searches for the characters "THE END" in columns 20 through 30 of the data only. If you specify only one column, ISPF looks for the characters to begin in that column, Here are the FIND, CHANGE, and EXCLUDE commands in their full glory: Next ALL CHAR FIRST SUF LAST PRE X PREV WORD NX F .label .label __ first-col last-col ‘characters’ slabel .label. __ first-col last-col ‘old’ ‘new X label /label. = first-col last-col ‘characters’ ‘You can write the parameters in combination, and in any sequence, and itall gets quite complicated ... and powerful. F PIRS? PRE NX 10 20 ‘SMITH’ If the characters in a FIND, CHANGE, or EXCLUDE command themselves begin or end with a single quotation mark, you must enclose the string in double quotation marks: Ftmo'* andnot "mo" or mo! If the characters contain double quotation marks, you must enclose them in single {quotation marks F ‘thelp"' — andnot —**help** You may use single or double quotation marks as you prefer: © "The end” ‘No more’ You can search for a hexadecimal string. You precede the string with an X and enclose itin single quotation marks F x'c825" This lets you search for characters, such as the plus/minus sign, that are not on your keyboard. The EBCDIC code for a plus/minus sign is ‘9E’ Using ISPE/PDE: Advanced Features 82 Session 5: More ISPF Usage Picture Strings You can specify rules for searching out individual characters within a string. For example: Pe Any numeric character (0.9) Pe ‘Any alphabetic character (A-Z), upper or lower case. F P'#0@#" Finds a numeric character followed by two alphabetic characters followed by a numeric character. FP "#086" would find such things as: gaps and 2xY1 The complete set of picture strings is: String Searches for: Pt Any character. (The “don't care" character) P'¥" Any non-blank character. P'.* Any nondisplayable character—usually an invalid character. ptf Any numeric (0-9) character. P'-' Any non-numeric character P'@' Any alphabetic character (A-Z, a-z). Upper or lower case. B'<' Any lower case alphabetic character (a-2). P'>! Any upper case alphabetic character (A-2) P'§' — Anyspecial character. (Not A-Z, a-z, oF 0-9) ‘You can include normal characters in a P string: F p'#xy>’ (Finds a numeric character followed by XY followed by A-Z.) ‘You can also use the other options with picture strings. F Pi 16 (Gearches for A-Z in column 16 only.) ©1060 ALL PY.) # (Changes any instance of nondisplayable characters to '#, if they are found ‘within columns 10 through 60.) TOPIC 5.3: The SORT Command ‘The SORT command sorts lines of data. The simplest form of the SORT command Command ===> SORT ‘This sorts all your lines in ascending order. The lines are compared, character by character, from left to right from the left boundary to the right boundary. (You can reset the boundary if you wish to sort only certain columns.) Normally the SORT is in ascending order (A-Z, 0-9), but you can sort in descending order (9-0, Z-A) by writing: SORT D Using ISPF/PDF: Advanced Features n 5: More ISPF Usage 83 The sortis performed on the full line unless bounds are set. For example, if you Command SORT Only the data in columns 10 through 20 would be sorted in ascending order. The other columas in the lines would be left unchanged You can also specify the columns to sort on with the SORT statement. For example: Command SORT 10 20 also sorts the lines in ascending order using the data in colurans 10 through 20. ‘The general form of the SORT command is: SORT A or D first-column last-colum, ‘The SORT command is very powerful and flexible. You can also limit the lines to be sorted in several ways. By including or excluding lines: SORT X A or D start-colum end-columa (Sorts only the lines excluded by the X line command or EXCLUDE command.) SORT NX A or D start-column end-colum, (The opposite. Sorts only the lines not excluded.) You can also specify a range of lines to sort by typing a label over the beginning and ending line numbers. For example: SORT .START .END ‘You can also specify as many as 5 fields to sort. Using ISPF/PDF: Advanced Features 84 Session 5: More ISPF Usage TOPIC 5.4: Use of ISPF in Programming ‘Submitting Jobs You can use the Foreground or Batch options on the ISPF Primary Option Menu to submit jobs: Nenu Uelilties Compilers options Statue Help 18PF Primary Option Menu loption => _ © settings Terminal and user parameters User ID. + 2 View pigplay source data or Listings mime. 2 Rast Create or change source data ‘teeminal 3 veanie: Perform utility functions screen. + 4 Foreground Interactive language processing eg 5 Bath Subelt job for language processing Appl ID 6 conmand Enter 150 or Workstation commands 1350 Logon 7 Dialog Test Perform dialog testing 1150 prefix: @ WM Facility Library adninistrator functions systen 1D + 9 TBM Products TAM program development products vs acct. 10 ScLM 8 configuration library Manager Release | + submita job by entering the SUB command. Connand ==> SUB scroll (000100 //A2426R1 JOR (COST, 20), "ALLOCATE: ,CLASS=A,NOTIFY=13426 000200 // EXEC POM=IBFBRIA 00300 //A DD nst~a3426.COST.DATA,DISP=(NEW,CATEG), 00400 //—UNTT=DISK, VOLSSERSPACKI2, 000500 // DCB=(RECFM=VB,LRECL=255, BLKSIEE 000600 // __SPACE=(TRK, (90,5, 20) /RESE) ‘You can also write JCL and language statements like the following and simply parentheses following your job name. ISPF notifies you that it submitted the job and displays the job number (Job ID) in (00100 /7a2426R2 (COST, 20), “ALLOCATE (000200 // EXEC POM=TEFORIG (000300 //A BD DStI-A3426.COST.DATA,DISP=(NEW,CATLG) , 000800 /7 — UNTP«DISK,VOLSER=PACKI2, 000500 // (-VB ERECL=255,BLNSIE=3120), 000600 // FTRK, (30/5/20) RLSE) "93426, FRNSLIGT.DATA — Jou A34261RL (30R00206) SUBMITTED ~Golwuna 00001 00002 When you submit a job, you must code all the necessary JCL, including the JOB statement, ‘TSO will notify you when the job is completed if you write the NOTIF' parameter on your JOB statement: /1R3426R1 JOB (...), "ALLOCATE" ,CLASS=A, MSGCLASS=, NOTIFY Using ISPF/PDF: Advanced Features wserid 426 Session 5: More ISPF Usage 85 ‘There is usually a MSGCLASS parameter that places the output in a held output queue so that you can examine it from your terminal. Then you can decide whether to print the output or purge it ‘You use the Outlist utility to examine your output. You then get this panel: outaie Utility L List Job names/id(s) via the 750 StATUS command D Delete job output from SYSOUT hold queue P Print Job output and delete from SYSOUT held quove R Requeve job output to a new output clase blank Display job output | For Job to be selected class For Job ta be requevet ror gob to be ps Printer Carriag: (a for aner of chine ) nk for none) With the Outlist Utility panel you can: Display output on your terminal. You then browse the output as you would any data set, 4 Delete the output without printing it Print the output + Change the output class 4 List the names of jobs that have been run. Here's another use for the Outlist Utility Using ISPF/PDF: Advanced Features 8 Session 5: More ISPF Usage Fin fillin the Jobname (rom your JCLjobname statement) and the Job ID (fom the MVS "JOB SUBMITTED” message) for the job. ‘Then enter Option D to purge this job (get rid of it without printing i). went Utilities Walp outline Utility option —=> D E List job nanes/id(s) via the 780 STATUS command b Delate Job output from SYSOUT hold queue P Print job output and delete from SYS0UT hold quese R Raquove job output to a new ovtput class blank Display job output For Job to be selected: ‘son00206 Using SDSF To Review Output Your installation may have installed another IBM licensed program product, SDSF (Gystem Display and Search Facility). If it's installed, you'll probably find it among "Other Installed Products" (or a similar label) on the ISPF Primary Option Menu. You may have to scroll the Primary Option Menu in order to find this. You request a product from this list by entering its identifier in the Option line. Enter SD to select SDSF. option => sa 80 s0sr system Display and Search Faciiity rp 1s Interactive Problem Control F | su supre Me/2 1.8.0 and CBIPO Dialogs |e co sdware Configuration Definition Dialog BRACE Resource Access Control Facility ‘8 DESORT Deta Facility 3% Joe osor opentaition vs Edit files” lop onRONSE fon HVS Browse files los osisi, HVS 18PF sholl Using ISPF/PDF: Advanced Features Session More ISPF Usage 87 Here is the Primary Option Menu for SDSF. SDSF can be used to view and monitor ‘many system resources in addition to job output. Your panel may not show all these options, but it will have Option H, the option you need to look at held output. ‘type an option of comand and press enter. 5 = Display jobs in the JES2 input queue ° = Digplay Jobe in the JES2 cutput queue 8 = Display jobs in the JES2 held cutput queue st Digplay statue of jobs in the JES? queues PR Display JES? printers on this systen TUTOR Short course on S0S# (IPP only) You receive a display like this. Enter an $ to the left ofthe Job Name - Job ID combination identifying the job whose output you want to view. soe? HOLD OUTPUT DISPLAY ALL CLASSES 55 Ebies Line 1-2 @) PREFTX<* DEST=(ALL) OWNERY NP JOBNAME JOBID WER PRTY c ODISP OBST A2426R1 voB00I08 3426-144 HE HOLD. LocAL A3426R2 JOH00292 AI426 «244 HHOLO LocRL «+, Statistics Generation ISPF doesn't keep statistics for sequential data sets. The usual default will generate these statistics for a new member of a partitioned data set. You can turn the statistics feature on and off. Mona Functions Utilities Help Command —=> ‘Scroll —=> Pace iano Wet created changed size alt Mod 1D apr 02-00 95/04/21 85/04/21 17107217126 Spee? 01.01 95/32/17 05/12/17 1452 17-172 ture 01.00 85/07/04 85/07/04 17107 2020.26 1 sepiz 01.02 85/09/12 85/09/12 15:07 21220426 The command to do this is: STATS ON orjust_ STATS STATS OFF If you save a member with STATS OFF, any previous statistics are erased. If you have STATS OFF and edit a member having statistics, ISPF turns STATS ON. Incidentally, when STATS ON is set for a partitioned data set and NUM ON is set, the last two digits of the line number indicate the modification level. 00020003 indicates line 200, modification level 3. ‘This applies only to 8-digit line numbers. ISPF doesn't do this for 6-digit COBOL. line numbers. Using ISPF/PDF: Advanced Features 88 Session 5: More ISPF Usage Automatic Listings ISPF provides a command to automatically generate a source listing when you save a data set. The command is: AUTOLIST ON or AUTOLIST Automatically generates a listing, AUTOLIST OFF Generates no listing. This isthe default ISPF generates the listing only if the data set has been changed when itis saved. (This eliminates saving a member when it is not necessary.) Use AUTOLIST with caution. It can generate listings you don't need and waste alot of paper. The HEX Command An extremely useful command is HEX ON to display data in hexadecimal: You enter: HEX ON or HEX To turn it on, EEX OFF To turn it off When you enter: You get thi Command Seroll —> TALE DODGE 44S AAFFAAALAEALALAEEACSAASAASSASAASSAUOUGACELEEEEEES ESSE 1¢95200000370000079000000000000000090090090000000cBeB0E9eG0eC0N00000 Packing Data ISPF provides a PACK command to save diskspace when a data setis stored (at the ‘expense of the CPU time that it takes to pack and unpack the data). The commands, are: command orjust_ PACK (To pack the data.) Command (So data is not packed.) When PACK is turned on, ISPF eliminates repetitive characters in a line. Thats, if you had a line like this: ISPF would count the blanks and dashes and conceptually store the line as: Here | |(45) <(20)- Bere | Instead of storing 15 blanks and 20 dashes, it stores the character with a count. This can save considerable disk space. Using ISPF/PDF: Advanced Features Session 5: More ISPF Usage 89. ee Packed data sets are automatically unpacked by ISPF when they are processed. But only ISPF can unpack them. Once packed, a data set can be processed only by ISPF. Data Types You should use the data type in the data set name to specify the programming, Janguage, such as: cozon PLT LOAD SCRIP? FORTRAN ASH. cnr ALGOL Since ISPF keeps a separate profile for each data type, all your margins, tabs, CAPS ON, and so forth can be set Once for a data type and ISPF will remember them Line Numbers ISPF lets you store line numbers as part of the data itself. The line numbers are stored in: columns 1-6 for the data type COBOL. columns 73-80 for fixed-length records (except COBOL). columns 1-8 for variable-length records (except COBOL} Storing line numbers in the data was originally done to protect card data. If you dropped a card tray containing a few thousand cards, you could dump them into a card sorter to get them back inthe correct sequence Cards, card sorters, and the danger of dropping card decks have long since disappeared. Line numbers today are mainly used for controlling changes and for obtaining a listing with line numbers. ISPF provides several commands for controlling line numbers: NUM ON ~ Tums line numbering on. Numbers stored in columns 1.8 or 73-80 unless data type is COBOL. Then, numbers stored in columns 1-6. NUM ON COBOL - Turns line numbering on, Numbers stored in columns 1-6 regardless of data type, When you edit an existing data set with NUM ON, ISPF numbers the lines if they aren't already numbered. Ifthe lines are numbered, ISPF checks the sequence and renumbers lines that are ether out of sequence or unnumbered. When you edit an existing data set, ISPF automatically tums the NUM ON if the data contains line numbers. ISPF numbers lines: Starting at 100 and incrementing by 100, # Inserted lines are numbered by 10 or Las necessary. The line numbers displayed by ISPF on the left of an Edit panel are separate from the line numbers in the data, although they are usually the same. You cansee the actual line numbers by scrolling left or right. Using ISPF/PDF: Advanced Features 90 Session 5: More ISPF Usage Other line numbering commands are: REN To renumber the lines starting at 100 by 100. REN COBOL Same, except for COBOL line numbers, une Set line numbers to blank and turn NUM OFF. (For the LOCATE command, ISPF assumes the lines are numbered by 1. Thatis, L 3 locates the third line in the data set.) ‘The final numbering command is AUTONUM: AUTONUM ON orjust_ — AUTONUM The default AUTONUM OFF AUTONUM ON automatically renumbers the lines starting with 100 by 100 when the data is saved. Edit Models ‘The MODEL command copies selected segments of sample ISPF dialog code into a data set. Depending on the type qualifier of the data set being edited, a menu of appropriate code models is displayed. For example, if the type qualifier is CLIST, the menu of CLIST models would appear. Just enter the identifier associated with the code segment you'd like to copy. Unless your data set is empty, MODEL requires a corresponding A or B line command, Language-Sensitive Coloring ISPF Version 4 introduced an Fait facility called language-sensitive coloring that can help you find your way through unfamiliar code written in many programming languages. Language-sensitive coloring is an ISPF installation option, and it works only on some types of terminals. However, if ts available to you, you can control it through the Edit choice on the action bar Pile _pait Gonfim Menu Util es Conpliera fest Help A3426.HOLMES.comoL (HOUND) —o1.01 Corunna 00001 00072 seeerees gop of "Data set+e 000004 HOVE “DATASET|EXCLDATA TD(DSR-LIST) * 00005, MOVE “LIBRARY|EXCELIER TD(DONAME) * TO ISPF-BIG-BUF(2). 00006 Move “uncon 0 TsPP-Br¢-BUF(3) 000007 (CALL “ISPEXEC™ USING ISPP-BIGMBUPLEN ISPP-DIG-BUFLIST. Here's the Edit pulldown menu. If language-sensitive coloring is available to you, the Hilite command (option 3) controls it. Like Reset and Undo, Hilite can also be entered on the Command line. File Edit Confirm Menu Utilities Compilers Gest Help mort | _ 1. Reset | S.cosoL(momD) 01.01 cotuana 00001 00072 2. Undo | ‘Scroll —> HALF 2 WiLite | seesee + LaRDEe Lipiwwe + 90 1seP-aro-B0r(2). + Top of Data sete Using ISPF/PDE: Advanced Features 1n 5: More ISPF Usage mn Edit understands enough about most languages to recognize the following language constructs. Comments ‘Quoted Strings Compiler Directives Special Characters Matching language-specific keywords, such as DO and END or IF and ELSE ooeee In the Edit Color Settings panel, you can specify distinctive colors for each of these language constructs. ‘You can also request that Edit detect and color-highlight unmatched parentheses, Other Programming-Related Action Bar Choices ‘The Edit action bar contains two other choices designed just for programmers: ¢ The Compilers choice displays a pulldown menu that allows you to invoke a foreground or batch compiler to process your Edit file. 4 ‘The Test choice is for testing an ISPF Dialog Manager panel that you are editing, Its pulldown menu allows you to access Dialog Test panels without fending your Edit. TOPIC 5.5: Dialog Manager “The Dialog Manager is an extensive tool. It takes roughly the same effort to learn it as it does to learn ISPF. Hence, we'll only touch briefly on ithere. ‘The Dialog Manager manages a dialog. A "dialog" is an application that runs under ISPF. Itis composed of: 4 Panels to let the users select what they want and also enter data, 4 Calls to application programs written in languages such as COBOL, FORTRAN, or PL/I, and in TSO CLIST or REXX. Dialog Manager functions. Let’ illustrate a dialog with a single example of a dialog we'll assume we have already created. You request a dialog by entering one of the following: ISPSTART CND(cList-or-procedure-name) TSPSTART PANEL(panel-name) ISPSTART PGM(progran-name) Suppose our application begins with a panel named POP. You must request it. (These are TSO commands, so you must enter them outside of ISPF at the Ready prompt) ‘You would have had to previously define this panel to ISPF. (You use the ISPF editor to make up such panels and store them.) Using ISP/PDF: Advanced Features 2 Session 5: More ISPF Usage You can enter data on a panel and then take action based on the data entered. Here, the action you would have specified through Dialog Manager commands would be to invoke another panel. option 1 ADD/CHANGE/DELETE A COUNTRY 3._PRINT COUNFRTES ‘You can write dialogs that invoke the ISPF editor, utilities, and other functions. [RDEE ---- A3426,COUNTRE.DATA ~ = Gelumna 00001 00072 00200 AFGHANISTAN 16250000, (000200 ALBANIA 2800000 (900400 ANDORRA 30000 00s00 ANGOLA 7250000 00600 ARGENTINA 27400000, 000700 14900000 00800 7515000 TOPIC 5.6: Using Controlled Libraries ISPF provides two facilities that can be used to contro libraries that contain code or documents that are part of an application development project. They are the Library Management Facility (Option 8) and the Software Configuration Library Manager (SCLM). One important difference between LMF and SCLM is that SCLM provides its own tools for working with the libraries it controls. If you are part of an SCLM project, you will usually go directly to the SCLM Primary Menu to begin work. To edit data in an SCLM-controlled library, you must use the SCLM Editor, not the "regular” ISPF Editor. If you are part ofan LMF project, on the other hand, you will use the "regular" ISPF facilities-such as Edit and View. You request the LMF facilities only if you have administrative responsibilities for the project. Both LMF and SCLM are designed to bring order to projects that involve: ‘¢ Several different people or groups working with partitioned data sets (libraries) that contain data that is related. 4 Data objects, such as program modules, which can exist in multiple versions. A defined hierarchy of versions so that an object can be promoted from one version level to the next. Using ISPF/PDF: Advanced Features Session 5: More ISPF Usage 93 Here is a project structure familiar to programmers: PROJ999.PROD.COBOL | (production version of source code) | 4} PROJ999.APPLTEST.COBOL ! (application test version of source code) | PROJ999.DEVGR1 .COBOL | \ PROJ999 .DEVGR2 . COBOL 1 | (pevelopment group 1's || (Development group 2's | | “unit test" version) | | “unit test" version) 1 ‘A significant difference between LMF and SCLM is that SCLM is designed Speaifcally for application development projects. SCLM-controlled libraries must Contain application components like source, object, or load modules. LME, on the other hand, can control project libraries no matter what kind of “things the libraries contain. All thatis required is that they are part of a project for which 2 hierarchy of libraries can be defined. LMF ‘The following terms and concepts are important to understanding LMF: ¢ A projectis defined as an LMF-controlled project by placing the Project name in the LMF control file. This means that all libraries in a controlled project have the same project name (high-level data set name qualifier) ¢ An LME-controlled group is also defined in an LMF control file by specifying the Group name and the group's level within the hierarchy. This theans that all libraries in a controlled group have the same Project and. Group names (first- and second-level data set name qualifiers), and are at the same level in the hierarchy. ¢ A library is an LMF-controlled library if itis part of a controlled group. ‘This means that to be controlled, a library's Project and Group names must be registered with LMF. LME controls these three operations ¢ Promotion: Copying a member from one level of the hierarchy to a higher level, or from a private library into the hierarchy. # Access: Accessing a library in a specific way: for example, read-only access is controlled separately from edit access. ¢ Locking: Preventing a member from being accessed by others. ‘The ISPF Move /Copy Utility can be used to perform all of these operations. Using ISPF/PDF: Advanced Features 4 Session 5: More ISPF Usage Note these LMF-related fields on the Move /Copy panel shown below: + Option L (or LP) performs LMF locking 4 Option F (or PP) promotes a member to the next higher level in the hierarchy. 4 ‘The Project and Group name fields allow ISPF to recognize a library as LMF-controlled. The “From* Data Set named here is a controlled library, because Group DEVGRPI has been defined to LMF as a group within the PROJ999 project hierarchy. Move/Copy Utility option —> © copy data sot or manber(s) cP copy and print 1% Move data set oF member(s) MP Move and print 1 copy and IMP lock manter(s) LP Copy, IMP lock, and print P LMP Promote data set or enber(s) PP LMP Promote and print ~ pats Set Below, then pross Enter key + PROI999 (> options ¢, cP, Ly and LP only ---+) (miank of pattern for member 1s! To edit a member in an LME-controlled library, you use the [SPF Editor, but you complete the ISPF Library information in a special way, as shown below: Baie matey Fano | ISP Library: Group... PRIVEIB . . . OEVGRED Member... (Blank or pattern for nenber se! | ‘The Project, initial Group, and Type fields specify a private library (PROJ999.PRIVLIB.COBOL). The concatenated Group names identify LMF- controlled libraries (PROJ999.DEVGRPI.COBOL), where the member to be edited is, located. Here's what happens Edit recognizes that PROJ99 is a controlled project, because the PROJ999 name appears in the LMF control file. Edit looks in the controlled library PROJ999.DEVGRP1.COBOL for the member to be edited. (Assume that the member is found there.) 4 Edit copies the member from the controlled library into the private library PROJ999.PRIVLIB.COBOL. The Edit session can now begin in PROJ999.PRIVLIB.COBOL. When you edit a member from a controlled library, you can edit-lock the member until you are ready to promote your working copy back into the project hierarchy. Set the LMF Lock Option of the Edit Entry Panel fo Yes. Using ISPF/PDF: Advanced Features Session 5: More ISPF Usage 95 scLM SCLM stands for the Software Configuration and Library Manager: Software Configuration refers to the process of constructing a software application by integrating all its component parts. 4 Library Management refers to the process of administering the libraries that contain application components All components of an SCLM-controlled project reside in libraries with the same high-level (Project) name. In SCLM terminology, the set of all the libraries involved ina project makes up the project database. Like LMF, SCLM uses the term group to refer to libraries within a project database that have the same Project name and Group name. When you work with SCLM-controlled libraries, you use Options from the SCLM Main Menu, shown here. Menu Ueilities Help option ==> enter one of the following options: 1 view IPF View or Browse data 2 edit Create or change source data in SciM databases 4 Ueilities Perform SCI database utility/reporting functions 4 Build Construct ScLN-controlled components 5 Promote Move components into ScLM hisrareny x exit ‘erminate Scum ‘The SCLM Editor is essentially the ISPF Editor within an SCLM outer shell. The SCLM Edit Entry Panel is shown below. Mens Rafi veinities scum Library: Project. aye se Menber |) (Bienk or pattern for member selection List) initial Macros. + Profile Wane... s (1f blank, defaults to data eet type) Enter “/* to select option 7) contiem Cancel/ove/Replace Mixed Node Change codes ss AuthorSzation code. (ZE blank, the default auth code is used) Parser volume. ++. + (Ef blank, the degault volume 4s used) Using ISPF/PDF: Advanced Features 9% Session 5: More ISPF Usage ‘The way in which the Project and Group fields are filled in on the SCLM Edit Entry Panel is much like the method used for LMF-controlled librari The initial Project and Group names identify a “development library’. Development Libraries are the only place in which components can be edited. ‘The concatenated Group names identify libraries to be searched for the component (member) to be edited. ‘The SCLM shell automatically takes care of: ‘¢ Searching for the member to be edited in the concatenated groups. Copying the member to be edited into the development library specified by the Project and Group name. (This process is called "automatic draw down.") ¢ Locking the member to be edited. (The lock is taken in the library from. which the member has just been copied.) # Collecting software statistics, such as source statement counts, after the Edit is complete. SCLM provides Utilities, which are used by SCLM administrators to define and manage the Architecture descriptions for each SCLM-managed project. The SCLM. Utilities Menu is shown here. Menu Ueilities Help Joption ===> a Library View, browse, edit, delete, or build sci conto! embers and update sanber authorization code and delete intermediate records and f Jer the contents of a library with Scum 2 sublib Mant. 3 Migration create reports and tailored data sets against information fron tho SCLM datenase 6 Extract SCLM accounting information + Incorporate exported data inte the hierarchy 8 Display Audit and Version nenbore 9 Delete Group Delete monbers, accounting records, build maps, Intermediate code’ and records from a group Anapplication Architecture describes how each component of the application is generated, for example: ¢ The compiler and parameters invoked to compile each souree module. ¢ The Linkage Editor control statements and libraries needed to create each load module. 4 The BIND parameters and libraries needed to create each DB2 plan or package, ‘The detailed Architecture allows SCLM to automatically configure (build) the application, or any specified part of the application. Using ISPF/PDF: Advanced Features Session 5: More ISPF Usage 97 ‘You reach the panel used to build an SCLM application by selecting the Build Option from the SCLM Main Menu. The SCLM Build Entry panel is shown here: ‘SCLM Build ~ Entry Panel Build input Project... + Alternate — Nr Enter “/* to lect option J zrror Listings only Mode 1 1, conditional scope s+. 2 2, Limited 2. unconditional 2) Norma 3, Forced 3. submit, 4, Report, Joutput controls be sub Process». 1 1, Execute Messages». 29 ts Terminal 2. submit Listings | 5 33 3, Dataset Printer . ‘The SCLM Build Entry Panel specifies: ¢ What you want to build (all or part of the application), ¢ What kind of reports you want, and where you want to see them. ¢ Whether you want the process done in the foreground (Execute) or background (Submit) SCLM takes care of the rest. When SCLM builds the application, it recognizes which components have not been changed since the last build, so that they don’t need to be regenerated. Using ISPE/PDF: Advanced Features 98, Session 5: More ISPF Usage Use This Space For Notes Using ISPF/PDF: Advanced Features SESSION 6: CASE STUDY APPLICATION Here is the situation: You are the administrative coordinator of a company tennis team. The work involved in maintaining the membership records is becoming a burden. More effort will be required in the future because you need to provide a monthly list of the 100 members with their standings. You decide to use ISPF to ‘maintain an automated list. After you log on and request ISPF, you must then allocate the data set. Next, you request option 3, Utilities: Wen cilities Compilers options 1S0F Primary Option Moma option —=> 3 © Settings Terminal and weer paranctors user 1D. + A2426 a view Display source data or Listings Time... #16320 2 Bait ceaate or change source data erminal. + 3278 3 Utilities Perform utility functions screen. 11 4 Foreground — Interaztive Language processing tanguages + sNcLzeH 5 Baten Submit job for language processing Appl ID» + ISP 6 command Enter 750 or Workstation canmands 8 logon + SPFPROCE 7 pialog Test Perform dialog testing 80 profix: a3426 © LM Facility Library administrator functions system xD + SOR 9 TBM Products 18M progran development. products wus acct. + tenowees | 20 scum SH Configuration Library Manage: Release . + ISPF 4.1 Enter X to Terminate using log/list defaults You could also have entered 3.2 to go directly to the Data Set Utility panel Now, you select the utility needed to allocate a data set weno Help Library Compress or print data get. Print index Listing. Print rename, delete, browse, edit or view nenders 2 pata Set Allocate, renane, “delete, catalog, uncatalog, or display information of an entice data set 3 Move/copy Mave, copy, promote rombers of data sets 4 delist nt or display (to process) List of data sct names: Print or display VIoC information 5 Reset Reset statistics for nenbers of ISPF library |e wardcopy Initiate hardcopy output 7 TSPF C/S Install ISPF C/S workstation code from HVE to your workstation. 8 outlet display, delete, or print held job output 9 commands Create/chango an application command table + Reserved This option reserved for future expansion 11 Format Format definition for formatted data Edit /arowse 12 Super Compare data sets (Gtandaré Diates) 12 Superce Compare data sets and Search-for strings (Extended Dialog) 1M Search-For Search data sot data __ (Standard Dialog) Using ISPR/PDP: Advanced Foatnras 100 Session 6: Case Study Application You get this panel: Menu Rofhist Utilities Help Data set Ueility loption —> _ A Allocate new data sot © catalog data set R Renae entire data set U Uncatalog data sot D Delete entire data sot bata ect information (short) blank pata set information M Enhanced data ot allocation V VSAM UELLitie SPP Lipeary: Project - croup. 5 Type ee other Partitioned, Sequential or VSAM Data sets Volume Serial. + (Tf not cataloged, required for option "e") beta Set Password (Zt password protected) But suppose you couldn't remember how to fill out this screen. You can press F1 to obtain an explanation. 1 urrLitres 1 1 DATA se? UTILITY 1 You may select the data set utitity by either: “roleoting option 3.2 fron the primary option menu, or = felecting option 2 from the utility selection ment. The following topics are presented in sequence, oF aay be selected by nmunbe: 1 = Miscating a new partitioned or sequential data set 2-- Renaming an entire data sot = Deleting an entire data set = Displaying data set information (such as SIZE, RECEM, BIKSIEE, eto.) = cataloging a data set Uneataioging a data set 7 = Multiple volume data sete Using ISPF/PDF: Advanced Features Session 6: Case Study Application 101 ‘You press F3 to get back to the preceding screen, where you enter Option A to allocate a data set, and fill in the data set name as shown here: Mena Refldet Utliities Help option mer A A Allocate now data set © catalog data sot R Rename entize data sot U uneataleg data set belete entire data set 5 Data set information (short) blank Oats set information M Enhanced data set allocation VSAM UesLities SPF Library: Project. « A426 Group. . + MEMBERS type ss + DATA. lother Partitioned, Sequential or VSAM Dat Volune Serial ss (2 not cataloged, required for option “cy Data Set Password (IE password protected) You press Enter and you get this next screen. (The data set name that you assigned on the Data Set Utility panel is displayed near the top of this screen.) wens RafLint Utilities Help pata Sat Name + 183426 MEMBERS. ORT volune serial sss + (Blank for authorized defavlt voluse) + Generic unit. ss + (Generic group name oF unit addross) * space unite sss vraxs (BIKS, TRKS, CYLS, KB, MB or BYTES) Primary quantity. «+ 10 (in above units) Secondary quantity. . 5 (an above units) Directory blocks. «+ 0 (Zero for sequential data set) Record format. Record length. «+ + 255 Block eize ss «+ 6233 Uxpleation date s+ ~ erenmayop, ery pae/op YY.000, YYYY:DDD én Julian form Enter “/* to select option Dobp for retention period in days Allocate Multiple volunes or blank) You'd fill in all the values as the course shows here. ISPF tells you that the data set is allocated Menu Refist Utilities Welp option a Using ISPF/PDF: Advanced Features 102 Session 6: Case Study Application To edit the A3426.MEMBERS.DATA data set, select option 2 at the ISPF Primary Option Menu to get to the Edit Entry Panel, then enter the data set name as shown below. Mens RefList RefMode Utilities Welp Bait Entry Panel SPF Library: Project . « « A3426 Group. | +s MEMBERS... eee yp oose Monber (Blank or pattern for menber selection ist) lother Partitioned or sequential pata set bata Sot Bane. Volune Serial s+ (1£ not cataloged) initial Macro... Eater "/" to select option Profile wane +++ J confirm cancel /Move/Replace Format Mane ss Mixed Mode Data Set Password. « (If password protected) MP tock 3 2, Never 3. Yes When you press Enter, the next sereen is set for the beginning of data entry. EDIT ———~ AD426.MEMBERS.DATA ~ Columns 00001 00072 Tis is where you enter your data. When using the ISPF Edit mode, you can: Enter data by typing in lines on the edit display screen, # Change any of the previously entered data with line or primary commands. # Save the data at the end of the Edit session. Using ISPF/PDF: Advanced Features 103 COURSE PROBLEMS Problem 1 Please work this problem at the end of Topic 1.2 i: 2. Problem 2 Allocate a partitioned data set, choosing a name thatis valid at your installation. Allocate space for the data set as follows (unless your installation has different standards): Space units: tracks Primary amount 5 Secondary amount: 2 Directory blocks: 5 Record format: FB Record length: 80 Block size: 9040 Create a new member called VEE! P. Type in the following data: Roosevelt, Theodore Rep Fairbanks, Charles § Rep IN Sherman, James S. Rep NY Marshall, Thomas R. Dem IN Coolidge, Calvin Rep MA Dawes, Charles G. Rep IL curtis, Charles Rep KS Garner, John N. Den =X Wallace, Henry A. Den IA ‘Truman, Harry S Den NO Barkley, Alben W. Den KY Please work this problem at the end of Topic 44. 1 Display your function key definitions. (Hint-ZKEYS command or Option 0 and the Function Keys action bar choice) If F12 or F24 is not already.set to RETRIEVE, set one of them now. Move the Command Line to the bottom of the screen, (Hint-Option 0) Edit the member you created in Problem 1. Issue some FIND and CHANGE commands. Retrieve the last command you issued. Retrieve the command before that. If you wish, reset your funetion key definitions and replace the Command Line. Using ISPF/PDF: Advanced Features 104 Course Problems Problem 3 Please work this problem at the end of Topic 5.3. 1. Create an identical backup copy of member VEEP. Call the new member \VEEPBKUP. (Hint-Use CREATE primary command with a C99 line command.) 2. Create a new member containing only Republicans. Call the new member \VEEPREP. (Hint--One approach uses EXCLUDE REP ALL primary command, then DELETE ALL NX primary command, then CREATE primary command with a C line command, then CANCEL.) 3. Create anew member containing only Democrats. Call the new member VEEPDEM. (Hint--Another approach is to select an empty VEEPDEM for editing, then COPY VEEP, then EXCLUDE DEM ALL, then DELETE ALL. NX) 4. Sort the original data by state abbreviation, 5. Sort again, in descending sequence, by last name. 6. Practice any other edit commands and techniques you wish before returning to the course. Problem 4 Please work this problem at the end of Session 6. 1. Display alist of names and space information forall data sets with your userid as high-level qualifier. (Hint-Option 34) is 2. The lists initially sorted by data set name. Sort the list by size. 3. From the list panel, browse one of your data sets. 4, From the list panel, change the name of one of your data sets. Also from the list panel, clean up after yourself. Thats, delete any data sets you no longer need. Using ISPF/PDF: Advanced Features INDEX Batch Option, 48, 84 Blocking, 22, 23, 24 Bounds, 69 Browse, 18, 37 CANCEL, 18 Command Option, 48 Controlled Library, 92 Data Set Deleting, 30 Expiration Date, 32, Information, 27, 28, 38, Moving, 32 Name, 89 Partitioned, 10, 12, 14, 28, 36, 45, 71, 87 ‘Allocating Space, 7, 8, 9, 10, 24 Compressing, 17, 18, Concatenating, 71 ‘Member, 7, 12 Browsing, 18 Deleting, 15, 19, 20 Editing, 11 ‘Name Patterns, 13, 19 Pattern Option, 20 Printing, 15, 19, 20 Renaming, 16, 19, 20 Space, 17 Purging, 32 Renaming, 29 Sequential, 7 Data Set List Utility, 37, 38, 39, 40, 41, 42 LEFT, 42 Name Patterns, 39 RIGHT, 42, 43 Data Set Utility, 8, 29 Dialog Manager, 91, 92 Dialog Test Option, 49 Directory Blocks, 9, 25, DOWN, 13, 20 Edit Copy-Move External Operations, 70, 71 Edit Display Panel, 11 Edit Entry Panel, 11, 12, 74 Edit Member List, 12, 13 Excluded Line Commands, 78, 79 Hexadecimal Strings, 81 Labels, 76,77 Line Numbers, 89 Macros, 74 Masks, 74 105 Picture Strings, 82 Primary Commands AUTOLIST, 88 BOUNDS, 83 CHANGE, 75, 76,77, 79, 80, 81 DELETE, 78 EXCLUDE, 78, 79, 80, 81 FIND, 75, 76, 77, 79, 80, 81 HEX, 88 LOCATE, 77 PACK, 88 SORT, 82, 83 SUB, 84 Statistics, 12, 87 ‘Text Line Commands, 73 Equals (=), 53 Foreground Option, 47, $4 TBM Products Option, 50 JOB Statement, 48, 84, 86 Library Management Facility (LMF), 92, 93, Library Management Utilities Option, 49 Library Utility, 15, 16, 17, 18, 19, 37 Library Uuility Member List, 19, 20 Library, Controlled, 92 Log/List (Parms) Option, 65 LogiList option, 64, 66 MoveiCopy Utility, 33, 34, 35, 36 Rename, 36 Outlst Utility, 85, 86 Overlays, 70 Primary Option Menu, 7, 47, 84 PRINT, 65 Records, 21, 22, 23 Fixed-Length, 22, 23, 24 Variable-Length, 22, 23, 24 RECOVERY, 67 Reset Utility, 45 RETRIEVE, 55 RETURN, 33, ‘Search-For Utility, 46 Settings Main Panel, 59 Shifting Text, 69 Software Configuration Library Manager (CLM). 92, 95 Using ISPF/PDF: Advanced Features 106 Index SPLIT, 18, 56, 57 ‘SWAP, 57 Stacking Commands, 55 Super, 45 UNDO, 68 SuperC Utility, 45 UP, 13, 20 SuperCE, 45 Utility Selection Menu, 8, 32, 44, 45, SuperCE Utility, 45 Using ISPF/PDF: Advanced Features, EIGIZY’’ Technology Training QUICK SUMMARY of ISPF/PDF COMMANDS AND FUNCTIONS Copyright © 1988, 1995 Il rights reserved SRA Technology Training Crwth Mainframe Courseware QUICK SUMMARY OF ISPF COMMANDS AND FUNCTIONS ISPF (Interactive System Productivity Facility is a Licensed Program of International Business Machines Corporation. This summary presents the most common forms of the major commands of the most ‘common options of ISPF for MVS Version 4, Release 1. It does not include all ‘commands, command abbreviations, and command options. For full ‘documentation of ISPF options and commands, see the series of ISPF manuals produced by IBM. GENERAL COMMANDS << Enter at the Command or Option field of any panel. >> ‘To obtain help-a long message or a BELP tutorial panel FlorF13 To terminate a function and returnto. END a higher-level panel F3orF1S To terminate a function and return to RETURN the primary menu pane! Fa or P16 To terminate a function and jump to opt Gumps to Outlist another option Utility) N =38 ‘To display the previous entry in the RETRIEVE (Usually also F12 or command /option field ¥24) RETRIEV (lf cursor isin command or option field) To move the cursor to the command/ CURSOR, (Gometimes also F12 option field . or F24) cremRIEV HOME Key To split the sereen into two logical screens SPLIT F2or Fld SPLITV (Vertical split, available only on 3250 terminal) ‘To transfer from one logical screen to SWAP the other F9orF21 To issue a TSO command, CLIST, or EXEC from the command option field 750 cmd_—-Ex: TSO. ST To display the ISPF Settings panel SETTINGS Using ISPF/PDF 2 (Quick Summary of ISPF/PDF Commands and Functions, To add a panel image to the list data set. PRINT (Physical screen image) for printing later PRINT-HI (Physical screeny bold characters appear bold) PRINTL (Logical sereen image) PRINTLAT (Logical screen image with bolding) PRINTG (Used with GDDM graphics printer) ‘To process the ist or log data set during LIST an ISPF session LIST DELETE LIST KEEP LIST PRINT L0G LOG DELETE L0G KEEP L0G PRINT To view or change settings of Program KEYS. Function keys ‘To control display of PF key labels PFSHOW PFSHOW OFF PESHON TATLOR To control display of the panel identifier PANELID PANELIO OFF General ISPF users will probably not need the following commands. To collect data for problem solving ENVIRON (Mainly for technicians) To create preprocessed panels ISPPREP (Mainly for performance specialists) To view or change lists of Program KEYLIST Function keys for an application SCROLL COMMANDS AND AMOUNTS To scroll (move your window on the data) you must supply two bits of information: Which direction? How far? Enter the direction at the Command vpor—F7/19 or Option field of any panel with a Dow or F8/20 Scroll field--or press the LEFT or F10/22 corresponding function key. RIGHT or F11/23 EEE Using ISPF/PDF Quick Summary of ISPF/PDF Commands and Functions The distance displayed in the Seroll field will be used unless you change it or override it by typing one of these values at the Command field Primary commands To scroll to the first line of a dataset To scroll to the last line of a dataset MEMBER LIST COMMANDS csRor DATA or HALF or MAX or PAGE or ‘Top BOTTOM To the cursor position PAGE minus one line or column, Half of the data display To the limit of the data Allof the data display 1-9999 lines or columns << Enter at the Command field of a member list panel. >> To select one or more members 5 name 5 pattern To locate a value in the list 1 value To sort the list sor? field To clear the display RESET or RES To save thelist in a data set SAVE name Ex: § TSR@PRIM Ex: $ ISR* Ex: L ISR Ex: SORT SIZE Ex: SAVE AL << Enter to the left of a name on a member list panel. To select a member s To view a member v To browse a member 5 To delete a member > To edit a member E To print a member P To rename a member R (Not avail at option 3.1) (Only at 3.1, 33, and 3.4.M) (Only at 3.1, 3.3, and 3.4.M) (Only at 3.1 and 3.4.M) (Only at 3.1 and 3.4.M) (Only at3.1 and 3.4.M) (Only at3.1 and 34M) ‘Using ISPF/PDF 4 (Quick Summary of ISPE/PDF Commands and Functions EDIT/VIEW - COMMAND TYPES ‘There are two basic types of Edit commands: PRIMARY Enter at the Command field of any edit data panel, LINE, Enter by overtyping the line numbers. ‘Some line commands have three formats. A single character > deletes 1 line A character and a 1- to S-digit number B15 deletes 15 lines Apairofcharacters on one line;an DD... DD deletes a range of identical pair on another lines EDIT/VIEW - MANIPULATING DATA LINES Line commands To delete one or more lines > Da DD... DD To insert one or more lines I ‘To repeat one or more lines R ne rs To repeat lines more than one time Rn Rn +s. RR ‘To shift data right n positions, preserving) relative columns yn To shift data left n positions, preserving ( relative columns ‘To shift data right n positions > ‘To shift data left n positions < ‘To convertaall alphabetic characters to uc upper-case uch vce ... occ ueuc’ 1. ucuc Using ISPF/PDF Quick Summary of ISPF/PDF Commands and Functions 5 To convert all alphabetic characters to Le lower-case Len ec... Lec Lele .). LeLe EDIT/VIEW - TRANSPORTING AND REARRANGING DATA LINES Une commands To specify one or more lines to be copied ‘To specify one or more lines to be moved To receive a move or copy--after To receive a move or copy--before To receive a move or copy--over Primary commands To create a new member To replace an existing member To import data from another member or data set c (Requires corresponding cn A, B, O, CREATE, or ec... cc REPLACE) * (Requires corresponding, Mn A, B, O, CREATE, or Ma... mM REPLACE) A (Requires corresponding An M, C, COPY, or MOVE) B (Requires corresponding Bn M,C, COPY, or MOVE) ° (Requires corresponding, on Mor) : 00 ... 00 CREATE (Requires corresponding, MorC) CREATE member-name REPL, (Requires corresponding MorC) REPL member-name copy (Requires corresponding Aor B) COPY member-name ‘To import data froma library of models To include notes when a model is imported To sort a member or data set To sort excluded or non. excluded lines, Move MOVE member-name MODEL (Requires corresponding, AorB) Nores NOTES OFF SORT SORT x SORT NX Using ISPF/PDF 6 Quick Summary of ISPF/PDF Commands and Functions To sort in descending sequence SORT D To sort ona set of columns SORT nn Ex: SORT 23 30 Tosorton more thanoneset. © SORT nn nA Ex: SORT 9.14 45 48 of columns EDIT/VIEW - FINDING AND CHANGING STRINGS Primary commands FIND has one required parameter, two other parms with defaults, and several other optional parms. ‘The parms may be supplied in any order. Required: Character string to be found. See “EDIT/ VIEW /BROWSE -- VALID FIND STRINGS" Defaulted: Occurrence NEXT default ALL FIRST LAST PREV Context cHaRS default WORD PREFIX SUEFIX Optional: Lines x To search only excluded lines Nx To search only non-excluded lines Columns. Supply one number to specify the column in which the string must begin. Supply two numbers to specify the columns between which the entire string must fll Range; Supply ons label to specify the first line to be searched. An optional second label specifies the last line to be searched. Change: Has one additional required parameter--the replacement character string which, ‘must follow the string to be found. To repeat the previous ‘FIND FIND command (F5/F17) ‘To repeat the previous CHANGE CHANGE command (¥6/¥18) Using ISPF/PDF Quick Summary of ISPF/PDF Commands and Functions 7 Locate: To find a line number L or label EDIT/VIEW - FIND AND CHANGE--EXAMPLES To find the next occurrence of the characters "abe" F apc To find the characters "abc" between F ABC 20 29 columns 20 and 29 F 20 29 aac To find all occurrences of the characters. F ABC ALL "abc" F ALL ABC To find the next occurrence of the F NEW WORD word "new" F WORD NEW To change the next occurrence of abe" to "xyz" © asc xyz To change all occurrences of "abc" in C ABC xvZ ALL x excluded lines to"xyz" (BECAREFUL) —¢ ALL x ABC XYZ To "find" line 75 L 75 EDIT/ VIEW - EXCLUDING AND REDISPLAYING DATA LINES Primary commands To exclude lines from view x (Same formats as FIND cmd) To exclude all not-excluded lines and FLIP redisplay all excluded lines To redisplay excluded lines containing a F (Gee FIND/CHANGE specified string section for full format information) To redisplay all excluded lines RES RESET To delete all excluded or DELETE ALL x non-excluded lines (BECAREFUL!) DELETE. ALT. NX Line commands To exclude lines from view x xn il et eax To redisplay excluded lines-first F Fn Using ISPF/PDF 8 (Quick Summary of ISPF/PDF Commands and Functions ‘To redisplay excluded lines-ast To redisplay excluded lines--show EDIT/VIEW - SESSION MANAGEMENT Primary commands ‘To save a file without ending the session To end a session without saving a file To “back out" the previous action ‘To control auto-backup of all actions To edit another file without ending an Edit or View session To view another file without ending the current Edit or View session To Browse another file without ending the current Edit or View session To submita file for background processing EDIT - MANIPULATING THE DISPLAY Line commands To display a non-data columns ruler To display the insert mask To convert certain non-data lines into data lines Primary commands To control the display of hexadecimal (base-16) characters (Similar to F line comumand but may not redisplay indented lines.) SAVE (Not available for View) can uno SETUNDO STORAGE SETONDO RECOVERY RECOVERY REC RECOVERY OFF REC OFF EDIT EDIT member viEW VIEW member BROWSE BROWSE member sup cou cons: MASK MD Mon MOMD ... MDMD HEX BEX DATA HEX OFF Using ISPF/PDF Quick Summary of ISPF/PDF Commands and Functions 9 ———————————————————O————|!—_ To remove all messages and non-display lines RESET To control language-sensitive coloring HILITE EDIT/VIEW - CONTROLLING DATA LINE NUMBERS Primary commands ‘To remove line numbers and turn off onwum number mode To create line numbers Num NU conoL To turn off number mode NUM OFF NONUN, To create new line numbers in increments RENUM of 100 ‘To renumber automatically when data is AUTONUM, saved AUTONUM OFF EDIT/ VIEW - CONTROLLING STATISTICS AND MISC. PROFILE SETTINGS Primary commands To display the profile setti To control hardware and logical tabs, mans TABS char ‘TABS OFF To control automatic conversion of input CAPS text to upper-case CAPS OFF To set margins for data shifting, FIND wos. targets, ete. BNDS nn To control the saving of information stars about members STATS OFF To specify a new member version number VER n To specify anew member modification level number PROF Lock To control profile modification To control automatic printing of the list data set PROF UNLOCK AUTOLIST AUTOLIST OFF Using ISPF/PDF 10 (Quick Summary of ISPF/PDF Commands and Functions ne eee Une commands To display a line for setting bounds ENDS: To display a line for setting, tabs ‘TABS General ISPF users will probably not need the following commands. To controt the meaning of END AUTOSAVE, AUTOSAVE OFF EDIT/VIEW - TEXT PROCESSING Une commands To set up for "power typing” 7. En To splita line forease of text insertion 7S. sn, To "reflow" a paragraph specifying the TF right-most text column Ten EDIT - CONTROL USE OF EDIT MACROS General ISPF users will probably not need the following commands. BUILTIN cmd DEFINE name IMACRO name MACRO NONE RMACRO name RMACRO NONE EDIT/VIEW/BROWSE - VALID FIND STRINGS . use previous string abed a simple character string ‘abed' —_astring with problem characters (space, comma, single quotation “abed" mark, double quotation mark) or identical toa FIND command parameter (such as ALL) C'abed" a characterstring with upper/lower case match X'hhhh* a hexadecimal (base-16) string any character any alphabetic character PBI> any upper-case alphabetic character Using ISPF/PDF Quick Summary of ISPF/PDF Commands and Functions u any lower-case alphabetic character any numeric character any non-numeric character any special (non-numeric, non-alphabeti, and non-blank) character any non-blank character any non-display or “invalid” character EDIT/VIEW - VALID CHANGE STRINGS abed sabed* *abed* c'abed* X*hhhh* BROWSE COMMANDS use previous string a simple character string a string with problem characters (space, comma, single quotation mark, double quotation mark) or identical toa CHANGE command parameter (such as ALL) a character string with upper/lower case match a hexadecimal (base-16) string any character any upper-case alphabetic character any lower-case alphabetic character << Enter at the Command field of any browse data panel. >> To display the columns rulerat_ COL the top of the data display cons To remove the columns ruler RES RESET To locate a line or label L line-number Ex: L 150 LE -label, Ex: L .cPynsT To find a string F (See EDIT for formats; X/NX and line ranges are not available) FIND Repeats previous FIND (F5/F17) To browse another member BROWSE member-name or data set Ex: BROWSE EVAL? BROWSE (Displays entry panel) ISPF/PDF 2 Quick Summary of ISPF/PDF Commands and Funetions To label a line for use with the LOCATE command To control the display of hexadecimal (base-16) characters ‘To submit file for background processing -label Bx: .cpynst BEX HEX DATA HEX OFF suaMr? General ISPF users will probably not need the following command. To control display of "non-display” and "carriage control” characters DATA SET LIST UTILITY COMMANDS: DISPLAY cc DISPLAY Nocc DISPLAY character << Enter to the left of a name on the data set list panel. >> To view adata set To browse adata set To edit a data set To display data set information To display a member list ‘To delete a data set ‘To rename a data set To print adata set To print a data set index To catalog a data set “To uncatalog a data set To compress a data set To free unused space in a data set To repeat the previous command To issue a command, CLIST, or exec which includes a data set name v (opt) 2 (BROWSE command) e (opt2) rors (opt3.2) ¥ (opt3.1) D (opt3.2) R (opt 3.2) P (opt3.1) x (opt3.1) c (opt 3.2) v (opt 3.2) 2 (opt3.1) F command Bx: LEstD command / parameters Ex: REN / Al.BKUP command parameter (/) Ex: FREE DA(/) Using ISPF/PDF Quick Summary of ISPF/PDF Commands and Functions B << Enter at the Command field of the data set list panel. >> To change the display view (Volume, Space, Attrib, or Total) To sort the list To locate a value in the list To find a string within a data set name To save the list in a data set F10/22 11/23 SORT field. Ex: SORT SIZE L value Ex: L ISR F string SAVE name Ex: SAVE Al General ISPF users will probably not need the following commands. To control display of the Confirm Delete panel To control display of a line command before execution TUTORIAL COMMANDS con CONFIRM CON OFF CONFIRM OFF SHOW SHOW OFF << Enter at the Command or option field of any tutorial panel. >> To go to the previous panel To go to the previous list of topics To skip a topic in a sequence of topics To go to the tutorial table of contents To go to the tutorial index To request the tutorial B BACK Using ISPF/PDF BR Technology Training PRE-TEST and POST-TEST for USING ISPF/PDF: ADVANCED FEATURES (45102) Copyright © 1988, 1995 All rights reserved ‘SRA Technology Training Crwth Mainframe Courseware PRE-TEST AND POST-TEST FOR USING ISPF/PDF: ADVANCED FEATURES ‘The following test can be administered both as a pre-test, to determine if the student needs to take the course, and as a post-test to evaluate student proficiency with the course materials, Use This Space for Notes PRE-TEST AND POST-TEST FOR USING ISPF/PDF: ADVANCED FEATURES When you allocate a partitioned data set, what should you use to determine the number of directory blocks to allocate? a) The total size of the data set. b) The number of members you expect in the data set. ©) The number of secondary extents in the data set. d) The number of levels in the data set name. All of the following will display the first line of your data set except one, Which command will not display the first line? a) L1 b) F Top of Data’ e) UP MAX d) LZFIRST What record format normally stores textual information, such as letters, memos, and drafts, most efficiently? aE b) FB QV @) VB To first select option 3 on the ISPF Primary Option Menu and then option 2.on the next menu, you could enter: a) 3+2 b) 32 ) >32 d) \3\2 Which utility would you use to delete a member of a partitioned data set? a) Library Utility b) Data Set Utility c) Reset Utility d) Commands Utility When you enter a FIND or CHANGE command, with which two profile settings do you have to be concerned? a) NULLS, TABS b) NULLS, BOUNDS ©) CAPS, TABS 4) CAPS, BOUNDS 10, 0. 12. Which one of the following line commands will always move all characters on a line exactly one position to the right? a) > b) >I ) ) @) jt What does the TS line command do? a) Allows "power typing" or "speed entry" of text. b)_Reformats a paragraph by justifying or “smoothing the right margin. ©) Shifts the upper-case characters to lower-case and vice versa dd). Splits the line at the cursor position and inserts a blank data entry line between the split halves. Which of the following cannot be modified using ISPF Settings? a) Command delimiter b) Command field location ©) Cursor shape and blink d) function key assignments, Which of the following FIND commands will count the number of three-digit numbers in a data set? a) FP'999' WORD ALL, b) PP'###' WORD ALL ©) EP### NUM ALL d) FP‘ COUNT Which function key splits the screen? a) 2 b) Fa o) FS d) FIZ ‘The Data Set List Utility supports a number of data set management functions using line commands. Which of the following functions is not supported ? a) BROWSE b) COMPRESS <) DELETE 4) EDIT e) PRINT f) RENAME g) UNCATALOG fh) Allare supported functions. 13. ua 16, V7, 18, 19, ‘What primary option might you use to process a DCF document using SCRIPT/VS? a) 3 Utilities b) 4 Foreground ©) 5 Bate d) 7 Dialog Test ‘The UNDO primary command backs out modifications made by previous Edit transactions, What type of modification cannot be undone? a) Direct changes by overtyping b)_ Line commands like D and R ©) Primary commands like CHANGE and DELETE ALL d) External primary commands like CREATE, REPLACE, and MOVE Which utility option allows you to compare two files? a) 32, Dataset b) 3.11 Format ©) 3.12 Superc d) 314 Search-For When you EXCLUDE lines in an Edit session, which of the following does not happen? a) The excluded lines are available for selective redisplay with a FIND command. b) The excluded lines are deleted. ©) The excluded lines are removed from view. 4d) The excluded lines are replaced by a "LINES NOT DISPLAYED" message, In Edit, which command do you use to see data in base-16 format? a) HD ine command b) HEX primary command ©) STATS primary command d) 16line command In Edit, which line commands are used with a CREATE or REPLACE primary command? a) AorB b) CorM ©) Fork d) RorM Which Edit primary command removes standard line numbers froma data set? a) NONUM b) NUMOFF ©) RESET d) UNNUM au 23. 24. 25. You want to inspect and possibly change your funk you issue? a) KEYS or ZKEYS d) PESHOW ‘The Edit Confirmation facility displays a confirmation panel when you execute which of these Edit commands? a) CANCEL and END b) MOVE or COPY primary commands ©) CHANGE with ALL keyword d) CANCEL, MOVE, and REPLACE What method can always be used to move the cursor to the action bar? a) Press the Home Key b) Press FI2 ©) The ACTIONS command dd) The CURSOR command Which of these commands cannot be executed under View? a) CHANGE, MOVE, and REPLACE b) SAVE ©) EDIT and BROWSE d)_ None of these can be executed under Which of these statements describes libraries controlled by Library Management Facility (LMF)? a) Could contain chapters of a book under development. b) Can be updated only by using the LMF Editor. ©) Must contain components of an application program, 4) Both statements b and care correct. Which of these statements describes libraries controlled by. the Software Configuration, Manager? a) Could contain chapters of a book under development. b) Can be updated only by using the SCLM Editor. ©) Must contain components of an application program. d) Both statements b and care correct. ANSWERS TO USING ISPF/PDF: ADVANCED FEATURES PRE-TEST AND POST-TEST uw 12. B. 14. 15. 16. 1. 18. 19, 20. sagccoagrs a 22, 23 24 25.

You might also like