Describing a Unique Product That Shows the Mainframe in a Completely Different Way
Total Page:16
File Type:pdf, Size:1020Kb
2010/04/19 11:38 Describing a unique product that shows the mainframe in a completely different way. 1 2010/04/19 11:38 These are some of the features of SELCOPY/i I will be speaking about today, to give you a flavour of the SELCOPY Interactive Experience. 2 2010/04/19 11:38 SDE is a whole subject in its own right, so although it is a major feature of the product I will only speak briefly on this feature of the product. I will not be discussing SELCOPY Debug, this is a development environment for the SELCOPY batch side of the product. It allows SELCOPY batch jobs to be stepped through, line by line, tracking storage and pointers from multiple windows within in the SELCOPY/i windows environment. SELCOPY batch is a well established utility, programming tool, used world wide by high profile customers since 1971. 3 2010/04/19 11:38 A typical ISPF screen, displayed using a larger 3270 screen of 62x160 to provide a larger desktop as will become more apparent in the next slide. ISPF has been around for one or two years!! Maybe its time to provide some of the younger mainframe users (and older ones) something a little different as an alternative. The idea of this presentation is to show you a unique, more modern interface to the mainframe, running on the mainframe. No PC client software is required other than a normal tn3270 client, preferably one which supports large screen sizes. They do vary! The SELCOPY/i application is started by typing in ‘tso selcopyi’ or if so configured starting from the menu. Selcopy/i will run under TSO or iSPF and also VTAM. Under VTAM it can provide access to files, when ISPF/TSO is unavailable, so some disaster recovery capability. 4 2010/04/19 11:41 After starting SELCOPY/i the 3270 screen is transformed into a windows style desktop, based on the Microsoft MDI (Multiple Document Interface). On first use SELCOPY/i creates a sample file to be used as a tutorial and can be used as a basis for the users own ‘command centre’ file. Here the user will store common files they edit, operator commands, list commands, RACF, VTAM, ISV software etc.. Each command be executed immediately ‘<‘ chevron, or passed to the command line for change ‘.>’ chevron, at set positions using ‘_’ underscore. Using setpts, commands can be grouped by system, application, operator tasks etc… Simply enter the setpt name at the command prompt to skip to that part of the file. You can even open the same file in two different windows at two different points in the file. 5 2010/04/19 11:38 As each edit session is opened they cascade down similarly to a PC windows system. Each window can be moved, re-sized, minimized and maximized very much like you would expect on a windowed system. 6 2010/04/19 11:38 Click on a windows title, it becomes hi-lighted, simply click anywhere on the desktop to move the window to that new location. 7 2010/04/19 11:38 Clicking on the window edges or corners, this hi-lights the window for re-sizing. The re-sizing can be done by clicking in the direction you wish to re-size or use PF keys to re-size in various directions. PF7/PF8 for up/down, PF10/PF11 for left/right. 8 2010/04/19 11:38 Here the windows have been re-arranged (of sorts). It now starts to become apparent why a larger 3270 screen is helpful when lots of windows are open. A larger 3270 window size does improve the experience and the size can go as high as 86 x 190. 9 2010/04/19 11:38 As you run commands and edit sessions they all open their own windows and here is a typical example of some open windows: The command Centre List Cataloged Datasets Library List window Edit session. There are also drop down menus available to perform various tasks, all tasks have a command line interface for those who prefer them. Please note List windows are simply lists of Datasets, Volumes, Libraries and Library Members. These can also be sorted by clicking the mouse on headings. Move the cursor to a heading and press enter to perform the same action. More on this a little later. 10 2010/04/19 11:38 SELCOPY/i includes its own editor, which has the capabilities of both ISPF and Xedit (for VM’ers). I’ve seen many requests on the IBM MAIN forum requesting Xedit features in z/OS. Well here it is as standard. Standard edit allows you to open as many edit sessions as you wish, within the constraints of the users region size. Structured edit allows opening of very large files, regardless of size, or region. I’ll talk a little more on that later. The editor supports the use of cut/past, block copy, with multiple undo/redo per edit session. (64 undo’s per edit session). It is very easy to hot key between windows using PF keys or menu options or just simply click on the required window on the desktop. This will become more apparent with later slides. 11 2010/04/19 11:38 For a quick compare of files, move the windows side by side. There is a macro available to do a simple compare of two files in this way. 12 2010/04/19 11:38 Windows can be tiled Vertically. 13 2010/04/19 11:38 Or Horizontally, or Cascade as we have already seen. Select Tiling from the drop down menu option ‘Window’. You can also select a file in the ring, directly by selecting from this list of open files in ring. 14 2010/04/19 11:38 The SELCOPY/i editor supports context sensitive editing. If there is a DSN in the JCL deck you are looking at, you can press CTRL-X and it will evaluate the DSN name, complete with translating symbolic names and edit the file. Edited files are colour coded according to the type of file, this colour coding is customizable for local standards. 15 2010/04/19 11:38 In this section I will talk a little more about List Windows, as mentioned briefly in earlier slides. List windows as I have said previously are simply lists of volumes, datasets, libraries or library members. 16 2010/04/19 11:38 List windows can be selected from the ‘Utilities’ drop down menu, then choosing ‘List’. They can also be run from the command centre or command line. Characteristics of all list windows are: Overtype 1st entry to skip to line. Find and locate also supported. Prefix commands to perform additional processing. Sort on headings SQL select and where commands to filter list. List can be saved as a library member. List commands can be quite complex. Press enter on an entry will open a dataset, library members, dataset list. 17 2010/04/19 11:38 The ‘/’ prefix will display available options for the type of list entry. Options unavailable will be greyed out. For example, a library list entry above. Note the highlighted library is the entry referred to. 18 2010/04/19 11:38 SQL style SELECT and WHERE commands can be used to filter the list very precisely. Full and/or logic is available. SELECT also allows you to change the order of the columns and hold columns for left/right scrolling. 19 2010/04/19 11:38 All Select statements used for the window session are stored and can be browsed using Back/Forward List window menu option. A full list of all select (views) can be displayed and again individually selected via the View window menu option. 20 2010/04/19 11:38 As I stated before, list windows can be selected from the Utilities menu option and this is probably the easiest way to do so for new users. 21 2010/04/19 11:38 List windows provide an intuitive drill down capability through entries, to find information easily and very quickly. Pressing enter or clicking with the mouse on a library name opens a Library member list window. 22 2010/04/19 11:38 Likewise, press enter or click with mouse on member in library list edits the file. 23 2010/04/19 11:38 Any list window contents can be changed to an edit session and saved as a library member for future reference by using the ‘Text’ window menu option. 24 2010/04/19 11:38 Dynamic SQL for DB2 is like SPUFI but is quicker and looks prettier. This does require a bind of the DB2 plan. 25 2010/04/19 11:38 As with List windows the columns can be sorted by clicking on the column headings in ascending and descending order. Each click switches sort direction. SQL commands can be stored in your command center file for easy execution later. The SQL select can be further altered to refine the display information using where and sort sub commands. 26 2010/04/19 11:38 Interactive IDCAMS makes it very easy to create VSAM files. In fact if editing a flat file, change the file name, set the DSORG to ESDS and when you save it, you will be prompted with an IDCAMS define panel. 27 2010/04/19 11:38 To create a KSDS file use the File menu drop down, and select define KSDS. 28 2010/04/19 11:38 This opens a KSDS define panel, provide the file name, set the keys, offset, free space etc.