You are on page 1of 134
CA-UFO° Support Package User Guide Release 3.0 *a) Computer Associates» ROosUFS0SUP —PROPRIETARY AND CONFIDENTIAL INFORMATION — ‘THIS MATERIAL CONTAINS, AND IS PART OF A COMPUTER SOFTWARE PROGRAM WHICH IS, PROPRIETARY AND CONFIDENTIAL INFORMATION OWNED BY COMPUTER ASSOCIATES: INTERNATIONAL, INC. THE PROGRAM, INCLUDING THIS MATERIAL, MAY NOT BE DUPLICATED, DISCLOSED OR REPRODUCED IN WHOLE OR IN PART FOR ANY PURPOSE WITHOUT THE EXPRESS WRITTEN AUTHORIZATION OF COMPUTER ASSOCIATES. ALL AUTHORIZED REPRODUCTIONS MUST BE MARKED WITH THIS LEGEND. RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure by the United States Government ("the Government’) is subject to restrictions as set forth in A) subparagraph (€)2) of the Commercial Computer Software ~ Restricted Rights clause at FAR 52.227-19, and/or B) subparagraph (OCG ofthe Rights in Technical Data and Computer Software clause of DEAR 25227-7013. This software is distributed to the Government by: ‘Computer Associates Intemational, Ine. ‘One Computer Associates Plaza Islandia, NY 11788-7000 ‘Unpublished copyrighted work — all rights reserved under the copyright laws ofthe United States. “This material may be reproduced by or forthe United States Government pursuant tothe copyright license under the clause at DFAR 252.227-7013 (OCTOBER 1988), Copyright ©1999 Computer Associates International, Inc., ‘One Computer Associates Plaza, Islandia, NY 11788-7000 All rights reserved. All product names and service names referenced herein are trademarks of their respective companies. Call Computer Associates technical services for any information not covered in this manual or the related publications. In North America, see your Computer Associates Product Support Directory for the appropriate telephone number to call for direct support, or you may call 1-800-645-3042 or 1-516-342-4683 and your call will be returned as soon as possible. Outside North America, contact your local Computer Associates technical support center for assistance. osPuGi287 Release 3.0 December, 1987 MEMO TO: UFO Productivity System Users SUBJECT: On-Line Software International Product Documentation & Structure This is the Operational Support Package User Guide, file OSPUG1287 for UFO Productivity System Release 3.0. Product Structure ‘The UFO Productivity System and COBOL/XE are two application development systems available from On-Line Software International. The UFO Productivity System allows you to choose between an interactive forms-based development facility and a 4GL procedural facility. The UFO Productivity System and COBOL/XE are supported by many common utilities, including a sereen painting facility (PAINT) and a common data catalog (CAT). Underlying the development software are the IOX access method and the system interface code (LLOSSP). UFO Productivity System COBOL/XE Development Systems PAINT caT Development Tools 10x TOX Access Method LLOSSP ‘System Interface Code MVS VSE CMS TSO CICS Operating System/TP Monitor Application programs written with the developrient systems shown at the top of the chart operate at the highest logical level, and depend on all the software shown running below them. Similarly, products shown at each lower level depend on the products below them, and provide support for the products above. Everything ultimately depends on the operating system or teleprocessing ‘monitor running in the host. iii Release 3.0 December, 1987 OsPUG1287 Education & Consulting Services Your regional On-Line Software International sales office will be happy to provide educational and consulting services for your system. Technical Support For technical support, contact your local representative or the central customer support offices located in Princeton Junction, New Jersey or London, England. The addresses are: On-Line Software International, Inc. 34-40 Washington Road Princeton Junction, New Jersey 08550 800-257-9426 - OR On-Line Software International, Inc. Tenterden House 3 Tenterden Street Hanover Square London W1R 9AH England 44-163 1-3696 Supported oper: IBM. environments are limited to system software releases currently supported by We encourage your comments on both the product and its documentation. Send your suggestions for future enhancements to the UFO Productivity System product line or documentation to: ‘On-Line Software International, Inc. 455 The Embarcadero San Francisco, CA 94111 iv Operational Support Package User Guide Release 3.0 December, 1987 OsPUG1287 CONTENTS 1.1 The LLOSSP 5 1.1.1 Altering LLOSSP Performance. 1.2 System Data Spaces ..... 1.2.1 Internal Files 1.3 Manual Organization . SECTION 2: The CICS Simulation Utility ........ 2-1 Invoking The CICS Simulation Utity 2.1.1 From CMS . 2.1.2 From TSO 2.2 Simulated CICS Session For Online Users. 2.3 Running Online Programs In BATCH-TEST .4 SCL Considerations 2.4.1 DOS Batch . 2.4.1.1 Sample Jobstream » 2.4.2 0S Batch ...... 2.4.2.1 Sample Jobstream . 2.4.3 CMS .. paReS 2.4.3.1 Running Batch Util 2.4.4 TSO 2.4.4.1 Running Batch Utilities Interactively ..... Sea oobae owen SECTION 3: The Data Capture Utility . . 3.1 Invoking The Online Data Capture Utility . 3.1.1 From CICS . 3.1.2 From CMS - 3.1.3 From TSO coer none 3.2 Using The Online Data Capture Utility... SECTION 4: The Component Format Utility ............ 4.1 Control Card Syntax... peeereer eat eeeeeee Taal} vi Operational Support Package User Guide OSPUG1287 Release 3.0 December, 1987 4.1.1 Global Cards... 4.1.2 Action Cards - 4.1.3 Control Card Examples 4.2 Passing Parameters To OXFORMAT . 4.3 JCL Considerations . . . . eee 4.3.1 Running OXFORMAT In A'CMS Environment - 4.3.1.1 Passing Parameters To OXFORMAT . 4.3.2 Running OXFORMAT In A DOS Environment . 4.3.2.1 Passing Parameters To OXFORMAT. 4.3.3 Running OXFORMAT In An OS Environment. 4.3.3.1 Passing Parameters To OXFORMAT . 4.3.4 Running OXFORMAT In A TSO Environment . 4.3.4.1 Passing Parameters To OXPORMAT . 4.10 4.10 41 aan SECTION 5: The Export/Import Utilities .. BA 5.1 Control Card Syntax . 8. 8.1.1 Global Cards 5. 5.1.2 Action Cards . . . 5: 5.1.3 Control Card Examples 5: 5.2 Passing Parameters .. 5.2.1 Passing Parameters To OXEXPORT 5.2.2 Passing Parameters To OXIMPORT . 5.3 JCL Considerations............... 5.3.1 Running OXEXPORT In A CMS Environment 5.3.1.1 Passing Parameters To OXEXPORT .. .. 5.3.2 Running OXIMPORT In A CMS Environment 5.3.2.1 Passing Parameters To OXIMPORT . 8.3.3 Running OXEXPORT In A DOS Environment 5.3.3.1 Passing Parameters To OXEXPORT ....... 5.3.3.2 OXEXPORT: DOS To CMS For VM Users. 5.3.4 Running OXIMPORT In A DOS Environment ... |. 5.3.4.1 Passing Parameters To OXIMPORT ....... 5.3.5 Running OXEXPORT In An OS Environment»... - 5.3.5.1 Passing Parameters To OXEXPORT . 8.3.6 Running OXIMPORT In An OS Environment 5.3.6.1 Passing Parameters To OXIMPORT . 5.3.7 Running OXEXPORT In A TSO Environment 5.3.7.1 Passing Parameters To OXEXPORT . 5.3.8 Running OXIMPORT In A TSO Environment 5.3.8.1 Passing Parameters To OXIMPORT . BSESROUESSRASESGESEESSOARS SECTION 6: The Source Library Utility . . . 3 6.1 Control Card Syntax . Contents vil Release 3.0 December, 1987 OSPUG1287 6.1.1 Global Cards . 6.2 6.1.2 Action Cards - 64 6.1.3 Control Card Examples. 67 6.2 Passing Parameters To OXBOOK 69 6.3 JCL Considerations . 6.10 6.3.1 Running OXBOOK In A CMS Environment. 6.10 6.3.1.1 Passing Parameters To OXBOOK . .. 6.11 6.3.2 Running OXBOOK In A DOS Environment. 6.12 6.3.2.1 Passing Parameters To OXBOOK . 6.12 6.3.3 Running OXBOOK In An OS Environment - 6.13 6.3.3.1 Passing Parameters To OXBOOK 6.13 6.3.4 Running OXBOOK In A TSO Environment 6.13 6.3.4.1 Passing Parameters To OXBOOK . 6.14 SECTION 7: UFO-CAT conversion program . 7.1 Conversion Strategies . 7.2 Control Cards And JCL 7.2.1 Space Cards 7.2.2 View Cards . 7.2.3 Sample JCL 7.2.8.1 Sample VSE JCL 7.2.3.2 Sample OS JCL . 7.2.4 Sample CMS Command Statements .- 7.3 UFO/Forms-CAT Compatibility . 7.8.1 Groups ..... : 7.3.2 Access Method Type 7.3.3 Field Type .. 7.3.4 Field Length - 7.3.5 UFO/Forms ISC Option 7.3.6UOSIZE........ 7.3.1 UFO/Forms Security Codes 7.3.8 Automatic Field Initialization - 7.3.9 Field Start Positions ....... 7.3.10 Field Level Validation... 7.3.11 User Dictionary Exit . 7.4 Conversion Examples .... meee -1 UFO/Forms View: Example 1 .2 Input Cards... -3 Conversion Output. .4 Converted View... .5 Interpreting the Output .6 Updating the View 7.10 7.10 TAL TAL 7:12 7:12 713 7:13 Ta 718 7 UFO/Forms View: Example 2 AT 8 Input Card . ; 7aT 9 Conversion Output - 7.18 viii Operational Support Package User Guide OSPUG1287 Release 3.0 December, 1987 7.4.10 Converted View . 18 7.4.11 Interpreting the Output . 7:19 7.4.12 Updating the View .. 20 SECTION 8: CICS Operation BL 8.1 XA Support ...... 8.2 Remote File Access . 8.3 Temp Storage SECTION 9: CMS Operation 9.1 SYSIPT Input .... 9.2 SYSLST Output... , 91 9.3 CMS Terminal Considerations 9.2 9.4 CMS Temp Storage File Simulation 9.2 9.4.1 TSLEVEL1........ 9.2 9.4.2 TSLEVEL 2 , 9.3 9.5 CMS Transient Data File Simulation . ; 9.3 9.5.1 Standard Sequential Transient Data File 9.3 9.5.2 IOX Transient Data Files . 9.3 9.6 Passing Parameters To CMS Programs 9.7 Return Codes . SECTION 10: Batch Operation . 10.1 10.1 SYSIPT Input 10.1 10.1 + 101 sees 10.2 10.2 10.2 10.2 10.2 10.2 10.3 10.3 10.3 10.3 10.3 10.4 10.4 10.4 Batch Transient Data File Simulation 4.1 Standard Sequential Transient Data File . 10.4.2 IOX Transient Data File .... 10.5 Passing Parameters To Batch Programs Contents ix Release 3.0 December, 1987 OSPUG1287 SECTION 11: TSO Operation .. . econ SeeeeeremLenT| 11.1 SYSIPT Input ALL 11.2 SYSLST Output La 11.3 Terminal Considerations . ut 11.3.1 TSO/TCAM vs TSO/VTAM 12 11.4 TSO Temp Storage File Simulation . 12 11.5 TSO Transient Data File Simulation 12 11.5.1 Standard Sequential Transient Data File 1.2 11.5.2 IOX Transient Data File ........... 113 11.6 Passing Parameters cote 113 11.7 Return Codes . . 13 SECTION 12: LLOSSP Control Cards... 6... 0.0.0... e eee eee ee eee eee ceeee WR 12.1 System Option Cards ...... 12.2 12.2 Test Control Cards . . 12.9 12.3 SYSIPT Input Stream Examples . 12.10 SECTION 13: Reserved File Names ........ eee 13.1 x Operational Support Package User Guide OSPUG1287 Release 3.0 December, 1987 Contents xi osPuG: FIGURES 2.1 CICS Simulation Utility Menu Screen . . 2.2 CICS Simulation Utility Abbreviated Screen . . 2.3 Sample DOS Jobstream 2.4 Sample OS Jobstream . 2.5 Sample CMS LLXXCICS EXEC . 2.6 Sample TSO LLXXCICS CLIST ... 3.1 Data Capture Utility Screen 3.1 OXFORMAT Control Card Example 1 4.1 OXFORMAT Control Card Example 2 4.2 OXFORMAT Control Card Example 3. 4.3 OXFORMAT Control Card Example 4. 5.1 OXEXPORT and OXIMPORT Control Card Example 1 . . 5.2 OXEXPORT and OXIMPORT Control Card Example 2 .. 5.3 OXEXPORT Control Card Example 3 . . 6.1 Control Card Example: OS . . 6.2 Control Card Example: CMS .. 6.3 Control Card Example: DOS ... 7.1 Sample VSE JCL Beene) 7.2 Sample OS JCL . . pene 7.3 UFO/Forms Access Method Type Conversion ... 7.4 UFO/Forms Field Type Conversion... .. Contents 1287 Release 3.0 December, 1987 = 22 2.3 25 - 26 - 27 2.9 34 45 - 46 46 - 46 - 5.9 - 59 5.9 67 - 67 - 68 14 14 11 78 xiii Release 3.0 December, 1987 OSPUG1287 18 7.6 1 78 19 7.10 112 UFOMPorms View #10... oe ee eee eee eee Seno eee eee eee 712 Conversion Output for View #1 6.2... e eee eee ee eee ee ee eee sence 713 Converted CAT View #1. See eee eee eee 714 Updated CAT View #1........... eee See eee ees wee a Seeeeeeeeee Bo TAT Conversion Output for View #1 oe... eee cece eee eeeeeee sees vee TAB Converted CAT View #2 Updated CAT View #2. . Operational Support Package User Guide osPUuGi287 Release 3.0 December, 1987 SECTION 1. INTRODUCTION ‘The Operational Support Package is a collection of software products that support and enhance the OSI application development languages. Within the Support Package are two major develop- ment tools: PAINT, a screen painting facility, and CAT, a data catalog. ‘The IOX Access Method and its utilities support file creation and maintenance. PAINT, CAT, and IOX have individual manuals that document and describe the products and their functions. This document describes the collection of utilities and products that make up the remainder of the Support Package. 1.1 The LLOSSP The fundamental component of the Support Package is the system interface software, the Low- Level Operating System Support Package (LLOSSP). Every product and utility depends on the LLOSSP. In general, users can remain blissfully unaware of the LLOSSP’s existence, but it has an effect on the operation of products within each environment. This effect may be subtle, but it is nonetheless important. By specifying different LLOSSP options, you can alter operational char- acteristics of a product or series of products. Its also true that the effect of the LLOSSP may be to slightly alter the operation of the same product across differing environments. This would be of interest and importance in shops where ‘migration and portability are required, e.g., where production and test are different environments. 1.1.1 Altering LLOSSP Performance Certain operating characteristics of the LLOSSP are governed by parameters specified in the LLMAGBL macro during DTR installation. You can override some of these options by using LLOSSP system option control cards. References will be made to these cards throughout the rest of this manual. For a complete discussion of all the LLOSSP system option control cards and how they operate, consult "Section 12". For a discussion of the LLMAGBL macro, consult the Opera~ tional Support Package Customization Manual. Introduction Ll Release 3.0 December, 1987 OSPUG1287 1.2 System Data Spaces In order for the Operational Support Package to operate correctly, it requires certain system data spaces to contain necessary files. The primary system data space is the OSPACE. ‘The OSPACE can also function as a CATSPCE (repository of CAT views) and PNTSPCE (repository of PAINT panels). However, both the CATSPCE and PNTSPCE can exist independently of the OSPACE. ‘The OSPACE, CATSPCE, and PNTSPCE are designated at DTR installation in the LLMAGBL macro. However, individual users in batch, CMS, or TSO can use LLOSSP control cards to over- ride the designations for a particular job or user. See "Section 12" for a complete discussion of LLOSSP control cards. For a more complete discussion of system data soaces, consult the Operational Support Package Customization Manual. 1.2.1 Internal Files Whether you specify an individual PNTSPCE or CATSPCE, or find the OSPACE sufficient for your needs, each time you use PAINT to create panels, they are stored in a file called PNTPNL. Likewise, when you use CAT to create views, they are stored in a file called CATVIEW. Both panels and views, as products of the Support Package, can be called components. Whenever you access a component, the Support Package assumes that the data space (library) you are searching contains the appropriate file, and that the component resides therein. If you are using PAINT or CAT to create a component, and the appropriate file does not exist, the Sup- Port Package creates the file before it creates the component. When any of the Support Package utilities mentions the files in which components reside, the ref- erence is to PNTPNL or CATVIEW. The Support Package is responsible for all aspects of the c ation of these files, with no user intervention necessary. See “Section 13" for a complete list of reserved file names. Lez Operational Support Package User Guide osPuGi287 Release 3.0 December, 1987 1.3 Manual Organization ‘The Operational Support Package User Guide discusses the following topics: ‘The CICS Simulation Utility: discussed in "Se:tion 2", provides a simulated CICS session for CMS, TSO, and batch users, In addition, for online users in CMS and TSO, the CICS Simulation Utility is the only way to invoke PAINT and CAT. ‘The Data Capture Utility: discussed in "Section 3", allows users to capture data in an online ses- sion for use with batch programs run online through the CICS Simulation Utility. ‘The Component Format Utility: discussed in “Section 4", is a batch program that allows users to print formatted listings of PAINT panels and CAT views, among others. ‘The Export/Import Utilities: discussed in "Section 5", are batch programs that allow users to move components (PAINT panels and CAT views) from one file to another. ‘The Source Library Utility: discussed in "Section 6", converts CAT views into COBOL copybooks, ‘The UFO-CAT conversion program: discussed in "Section 7”, is a batch program that converts UFO/Forms views from UFO/Forms Data Dictionary format to CAT format, Operational Considerations: “Section 8” through “Section 11" discuss the differences in product operation by environment (OS, DOS, CMS, and TSO). ‘The LLOSSP: "Section 12" discusses LLOSSP control cards, which allow you to tailor the opera- tion of the LLOSSP in your environment. Reserved File Names: are discussed in “Section 13", Introduction 13 Release 3.0 December, 1987 La OSPUG1287 Operational Support Package User Guide OsPUG1287 Release 3.0 December, 1987 SECTION 2. THE CICS SIMULATION UTILITY The CICS Simulation Utility provides a simulated CICS session for online users in TSO and CMS, and batch users in OS or DOS. Under CMS and TSO, the Operational Support Package online utilities (PAINT, CAT, IOXUTIL, and the Data Capture Utility) are always invoked via the CICS Simulation Utility. In addition, OXFORMAT, IOXMAINT, UFO/Forms, and UFO/4GL can be invoked from this utility. And you can tailor the CICS Simulation Utility with ->TRANSACTION= control cards so that the COBOL/XE Maintenance Transaction, as well as any COBOL/XE applications that you have developed, can be run under the utility. Under OS or DOS batch, the CICS Simulation Utility provides a means of debugging online appli- cations using facilities available in batch-test mode. See "Section 2.3” for additional information about batch-test mode. 2.1 Invoking The CICS Simulation Utility You invoke the CICS Simulation Utility differently in CMS and TSO. 2.1.1 From CMS To invoke the CICS Simulation Utility from CMS, simply issue the command: LLXXCICS 2.1.2 From TSO To invoke the CICS Simulation Utility from TSO, simply issue the command: CALL 'loadlibname(LLXXCICs}' where loadlibname is the name of the loadlib determined during DTR installation. The CICS Simulation Utility 24 Release 3.0 December, 1987 OSPUG1287 2.2 Simulated CICS Session For Online Users When you invoke the CICS Simulation Utility from either TSO or CMS, the system will display the CICS Simulation Utility Menu Screen, pictured in Figure 2.1. LLxxcrcs Simulated CICS Session 3.0.0 From this screen you can invoke any on-line program exactly as you would under CICS. Use the blank window below to enter all initial input, beginning with a transaction code (1 to 8 characters), When the transaction ends, you will return to this screen. Hit to end the session. The following transaction codes have been defined for this session: PAINT «= CAT. TOXMAINT IOXUTIL UFO UPO/4CL OXFORMAT CAPTURE COPYRIGHT On-Line Software International, Inc. 1987, ALL RIGHTS RESERVED. Figure2.1 CICS Simulation Utility Menu Screen This menu screen allows you to choose from among a set of transactions whose transaction IDs appear on the screen. Shown here are the predefined transactions that are always available under the CICS Simulation Utility. If you code any -> TRANSACTION cards, the transaction IDs ‘you assign them will also appear on the CICS Simulation Utility Menu screen. Follow the instructions on the screen to invoke the transaction you wish to use. When you exit the transaction, you will still be in the CICS Simulation Utility. The screen will look like the one pictured in Figure 2.2. To re-display the menu screen, type MENU and press . To terminate the utility, press . 22 Operational Support Package User Guide OSPUG1287 Release 3.0 December, 1987 Lixxcres Simulated CICS Se: 3.0.0 Enter transaction code, "MENU", or COPYRIGHT On-Line Software International, Inc. 1987, ALL RIGHTS RESERVED. Figure 22 CICS Simulation Utility Abbreviated Screen ‘The advantages to using the CICS Simulation Utility are reduced response time and improved per- formance. Once you have loaded a particular program by issuing its transaction ID, it becomes available to you much more quickly than if it had to be loaded each time you wanted to use it. In addition, the CICS Simulation Utility reduces system overhead incurred through initialization and termination of programs. ‘Thus, you can use the CICS Simulation Utility to develop applications more quickly, passing from UFO/Forms to PAINT to CAT with greater speed than if you had to invoke each separately from the console. 2.3 Running Online Programs In BATCH-TEST Mode Users can take advantage of the CICS Simulation Utility and the Data Capture Utility (discussed in “Section 3") to run online applications in a batch environment. This batch-test mode may prove useful in producing hardcopy documentation of problems you encounter while running the applica- tions at a terminal. The CICS Simulation Utility 2.3 Release 3.0 December, 1987 OSPUG1287 When you run a program in batch-test mode, the LLOSSP internally maintains a simulated termi- nal buffer. For each terminal write request issued by the transaction program, a representation of this screen (a screen image) is written to the SYSLST file. Terminal input is provided by using the online Data Capture utility to capture actual operator-entered data. The LLOSSP writes out the screen image with all input data in response to each terminal input request issued by the transaction. By including test control cards in the SYSIPT input stream, you can produce formatted dumps at certain strategic points in the run of a transaction in batch-test mode. To run a program in batch-test mode, you must: L Run the application online in CICS, CMS, or TSO, using the Data Capture Utility to save all operator-entered data to an IOX file. See "Section 3” for details on using the Data Capture Utility. 2. Code a ->TERMINPUT= system option card specifying the name of the IOX file and data space in which your operator-entered input was saved. 3. Code a -> TRANSACTION control card, specifying the transaction code and the name of the program to be run in bateh-test mode. ->TRANSACTION=TRN1 , PROGRAML NOTE ‘You need code a -> TRANSACTION = card only if the transaction you used to trap data with the Data Capture Utility is not one of the predefined transactions dis- played on the Menu screen shown in Figure 2.1. Execute the CICS Simulation Utility. 2.4 JCL Considerations ‘You must code appropriate JCL statements for the CICS Simulation Utility, according to the envi- ronment in which you operate. 24 Operational Support Package User Guide OSPUG1287 Release 3.0 December, 1987 2.4.1 DOS Batch You need the following statements to successfully execute the CICS Simulation utility in a DOS batch environment: » An ASSGN statement for SYSIPT. The SYSIPT file must contain all control cards as described above. » An ASSGN statement for SYSLST. » LBL statements for both the index and repository components of the IOX data space desig- nated as the OSPACE, or the IOX data space named in the ->OSPACE card, and for any other IOX data spaces that may be accessed by the application program. » An EXEC PGM=LLXXCICS statement. 2.4.1.1 Sample Jobstream Figure 2.3 illustrates a sample DOS jobstream that runs a transaction in bateh-test mode under the CICS Simulation Utility. The data for this transaction was previously captured using the Data Capture Utility. 7/ JOB JOBNAME // DLBL USRIOXI, 'IOX.USRIOXI', 99/365, VSAM 7/7 DLBL USRIOXR, 'IOX.USRIOXR', 99/365, VSAM // EXEC PGM=LLXXCICS ~>TERMINPUT=TESTDATA, USRIOX => TRANSACTION=TRN1 , PGM1 7* le Figure 2.3 Sample DOS Jobetream, The CICS Simulation Utility 2.5 Release 3.0 December, 1987 OSPUG1287 2.4.2 OS Batch ‘You need the following statements to successfully execute the CICS Simulation utility in an OS batch environment: = ADD statement for SYSIPT. The SYSIPT file must contain all control cards as described above. ~ ADD statement for SYSLST. + DD statements for both the index and repository components of the IOX data space desig- nated as the OSPACE, or the IOX data space named in the ->OSPACE card, and for any other IOX data spaces that may be accessed by the application program. » An EXEC PGM=LLXXCICS statement. 2.4.2.1 Sample Jobstream Figure 2.3 illustrates a sample OS jobstream that runs a transaction in batch-test mode under the CICS Simulation Utility. The data for this transaction was previously captured using the Data Capture Utility. //JOBNAMEJOB . . . 7/JOBLIB_ —_DD_DSN=OSP.LOADLIB, DISP=SER 7/JOBSTEP EXEC PGM=LLXXCICS 7/SYSPRINT DD SYSOUT=A 7/SYSLST_ DD -S¥SOUT=A 7/OSRIOXI DD OSP.USRIOXI, DISP=OLD 7/USRIOXR DD OSP.USRIOXR, DISP=OLD 7/SXSIN Dp * * As 7/SXSIPT DD * ~>TERMINPUT=TESTDATA, USRIOX >> TRANSACTION=TRN1 , PGM1 7* Figure 2.4 Sample 08 Jobstream 2.6 Operational Support Package User Guide OSPUG1287 Release 3.0 December, 1987 2.4.3 CMS ‘You need the following commands to successfully execute the CICS Simulation utility under CMS: * AFILEDEF command for SYSIPT. The SYSIPT file must contain all control cards as described above. You need not code a FILEDEF if you have placed your cards in a file called FILE SYSIPT A * A FILEDEF command for SYSLST. You need not code a FILEDEF if you wish all print output routed to a file called FILE SYSLST A. + FILEDEF commands for SYSIN and SYSPRINT. (These files will probably be assigned to TERMINAL.) » You need no FILEDEFS for IOX data spaces in a CMS environment, but the IOX data space designated as the OSPACE, or the IOX data space named in the ->OSPACE card, and any other IOX data spaces that may be accessed by the application program must be available on a currently accessed disk. » Issue the command LLXXCICS from the CMS console. 2.4.3.1 Running Batch Utilities Interactively ‘You can run batch utilities like OXFORMAT and IOXMAINT interactively online with the CICS ‘Simulation Utility under CMS. To do this, assign SYSIN and SYSPRINT to your terminal. Fig- ure 2.5 illustrates a sample EXEC that does this. FILEDEF SYSIPT DISK FILE S¥SIPT A FILEDEF SYSLST PRINTER FILEDEF SYSIN TERMINAL PILEDEF SYSPRINT TERMINAL LLXXCICS (€1 Figure 2.5 Sample CMS LLXXCICS EXEC The CICS Simulation Utility 2.7 Release 3.0 December. 1987 OSPUG1287 NOTE By coding the EXEC exactly as shown, you will be able to pass parameter data to the CICS Simulation Utility, which will allow you to bypass the CICS Simulation Utility Menu Screen, You can invoke the batch utility from the command line by coding: EXEC LLXXCICS utlname where utlname —_is the name of the batch utility you wish to run interactively under the CICS Simu- lation Utility. 24.4 TSO ‘You need the following commands to successfully execute the CICS Simulation Utility under TSO: + An ALLOCATE command for SYSIPT. The SYSIPT file must contain all control cards as described above. = An ALLOCATE command for SYSLST. = ALLOCATE commands for SYSIN and SYSPRINT. (These files will probably be assigned toa terminal dataset DATASET (*).) = An ALLOCATE command for both the index and repository components of the IOX data space designated as the OSPACE, or the [OX data space named in the ->OSPACE card, and for any other [OX data spaces that may be accessed by the application program. Issue the command CALL "loadlibname(LLXXCICS)' from the TSO terminal. For loadlibname, code the name of the load library into which the Support Package was installed. 28 Operational Support Package User Guide OSPUG1287 Release 3.0 December, 1987 2.4.4.1 Running Batch Utilities Interactively You can run batch utilities like OXFORMAT and IOXMAINT interactively online with the CICS. Simulation Utility under TSO. To do this, assign SYSIN and SYSPRINT to your terminal. Fig- uure 2.6 illustrates a sample CLIST that does this. Note that the PROC statement in the sample LLXXCICS.CLIST allows you to invoke the batch utility you wish to run directly from the termi- nal. You can do this by substituting the utility name for MENU. If you do not specify a different keyword variable, the CICS Simulation Utility will display the menu screen. PROC 0 TRAN(MENU) ALLOCATE FILE (S¥SIPT) DATASET (SYSIPT.DATA) ALLOCATE FILE (SYSLST) DATASET (SYSLST.DATA) NEW BLOCK (121) + LRECL (121) RECFM (F) SPACE (1000,500) ALLOCATE FILE (SYSIN) DATASET (*) REUSE ALLOCATE FILE (SYSPRINT) DATASET (*) REUSE ALLOCATE FILE (USRIOXR) DATASET (USRIOXR.DATA) SHR ALLOCATE FILE (USRIOXI) DATASET (USRIOXI.DATA) SHR CALL 'loadlibname(LLXXCICs)' Figure 2.6 Sample TSO LLXXCICS CLIST You can invoke the batch utility explicitly from the command line by coding: EXEC LLXXCICS 'TRAN(utlname)' where uutlname —_is the name of the batch utility you wish to run interactively under the CICS Simu- lation Utility. The CICS Simulation Utility 2.9 Release 3.0 December, 1987 2.10 OsPUG1287 Operational Support Package User Guide OSPUG1287 Release 3.0 December, 1987 SECTION 3. THE DATA CAPTURE UTILITY The online Data Capture Utility allows you to trap all terminal input data entered by an operator, and write it to an IOX file. You can use this file to provide terminal input to your application when you run it in batch-test mode, causing the online scenario to be duplicated exactly. Once you have invoked the Data Capture Utility (as discussed below), the next transaction you Tun at that terminal will execute in data capture mode, which continues until the entire application conversation is ended. At this point, the [OX file is ready to be used as input to the same applica. tion in batch-test mode. 3.1 Invoking The Online Data Capture Utility The Data Capture Utility is invoked differently from CICS than from CMS or TSO. 3.1.1 From CICS To invoke the Data Capture Utility from CICS: 1 Press . Type CAPTURE ‘Your systems programmer may have altered the transaction ID for your installa- tion. a. Press . ‘The Data Capture Utility 3a Release 3.0 December, 1987 OsPUG1287 3.1.2. From CMS In CMS, the Data Capture Utility is invoked through the CICS Simulation Utility. You invoke the CICS simulation utility by issuing the command: LLXXCICS The CICS Simulation Utility Menu screen will be displayed. You then invoke the Data Capture Utility by typing the Data Capture Utility transaction ID, which is predefined as CAPTURE. Alternatively, you can bypass the menu screen by issuing the command: LLXXCICS (CAPTURE Consult “Section 2" for additional information about the CICS Simulation Utility. 3.1.3 From TSO In TSO, the Data Capture Utility is invoked through the CICS Simulation Utility. You invoke the CICS Simulation Utility by issuing the command: CALL 'loadlibname(LLXXCICS) ' where loadlibname is the name of the loadlib determined during DTR installation. The CICS Simulation Utility Menu screen will be displayed. You then invoke the Data Capture Utility by typing the Data Capture Utility transaction ID, which is predefined as CAPTURE. Alternatively, you can bypass the menu screen by issuing the command: CALL 'loadlibname(LLXXCICS)' 'CAPTURI 3.2 Operational Support Package User Guide OsPuG1287 Release 3.0 December, 1987 3.2 Using The Online Data Capture Utility ‘Once you invoke the Data Capture Utility, the system will display the Data Capture screen, pic- tured in Figure 3.1. The screen displays the default data space USRIOX, and prompts you for the names of the file to which you wish your terminal input to be written. You must supply the file name, and you can change the data space designation if you wish. Ifthe file you specify already exists, you will be offered the opportunity to do one of the following: ~ extend the existing file, by pressing + delete the existing file, by pressing » create a new file, by changing the file name and pressing If the file you specify does not exist, it will be allocated. (The data space you specify must already exist.) When your IOX file has been successfully allocated, a message to this effect will be dis- played. You must then press and proceed to invoke the transaction that you intend to run in data capture mode. If you press at any time before the IOX file has been successfully allocated, data cap- ‘ture mode will not be in effect for the next transaction. The Data Capture Utility 3.3 Release 3.0 December, 1987 OsPUGi287 CAPTURE Terminal Input Data Capture Utility 3.0.0 TOX File Name: TOX Data Space Name: USRIOX Enter the 10K file name an¢ data space name to which you wish the terminal input data to be written. COPYRIGHT On-Line Software International, Inc. 1987, ALL RIGHTS RESERVED. Figure 3.1 Data Capture Utility Screen 34 Operational Support Package User Guide OSPUG1287 Release 3.0 December, 1987 SECTION 4. THE COMPONENT FORMAT UTILITY ‘The Component Format Utility (OXFORMAT) is a batch program that allows users to print for- ‘matted listings of components such as CAT views, PAINT panels, and UFO/Forms DDs. Input to OXFORMAT consists of two types of control cards: Global Cards: are used to set processing options. These options remain in effect until changed by another global card, or until end of job. ‘Action Cards: are used to specify the specific component(s) to be formatted. Each action card is Processed in order, and has no effect on subsequent processing. 4.1 Control Card Syntax Each OXFORMAT control card consists of a keyword identifying the control card type and at least ‘one parameter. Control card syntax rules are: + The keyword must be coded beginning in column 1 on the input card. » The keyword is always followed immediately by an equal sign. Parameter values must be coded beginning in the position immediately following the equal sign. * Parameters are delimited by commas. > Parameters containing embedded blanks must be delimited by apostrophes. > Parameter data may continue to column 71 on the input card. The Component Format Utility 4a Release 3.0 December, 1987 OsPUGi287 4.1.1 Global Cards ‘The following global cards are recognized by OXFORMAT: LIBRARY =data-space-nameffilename, VSAM ‘This card specifies the source of the components to be for- matted. LIBRARY =data-space-name specifies the [OX data space in which the components to be formatted reside. You can code LIBRARY cards at any point in the job stream, but OXFORMAT considers only the most recent LIBRARY as current. If you do not code a valid LIBRARY card before attempting to format a component, an error message will be issued and the current action will be terminated. LIBRARY = filename, VSAM is an option for compiled com- ponents that reside in a VSAM file. This option is valid only for the STAGE= action. PASSWORD=control-password This card enables you to specify a control password. This parameter is meaningful only when formatting UFO/Forms ‘components. If you code this parameter, it must agree with the value specified for CNTRLPW in the UFOINIT macro. SUFFIX=UFOINIT-suffix This card specifies the suffix by which a customized version of the UFOINIT table is to be accessed. ‘The UFOINIT-suffix is a 2-character value that replaces the release number as the last 2 characters of the UFO/Forms table identifier. This allows you to differentiate between multiple versions of customized UFO/Forms tables. If you do not supply the correct suffix, the default copy of the UFOINIT table will be loaded instead of the customized version. See the UFO/Forms Customization and Operation Guide for additional details. 42 Operational Support Package User Guide osPUuG1287 Release 3.0 December, 1987 4.1.2 Action Cards ‘The first (or only) parameter on all action cards is name-range. A name-range may be specific or generic. ‘You can request generic processing by coding a slash (/ ) in place of one or more characters in the name-range parameter. The slash means that any character can occupy this position in the name. = For example, the name-range ABCIiii/ represents all names that begin with ABC. » The name-range //DEFI represents all names that contain DEF in the third, fourth and fifth positions. » The entire range of names for a component can be requested by coding the name-range mint. NOTE The number of positions coded in the name-range parameter is significant: the name-range // will result in the formatting of only those components whose name is two letters or fewer. In most cases, you will wish to specify all positions in the name when when you code the name-range. ‘When the value specified for the name-range is shorter than the length of the name, the name-range is padded with spaces at the end. ‘When the value specified for the name-range is longer than the length of the name, it is considered an error. You can request specific processing by coding a name-range with no slashes. This will format only that component, if any, whose name exactly matches the name-range value. For example, if you code the value ABCDEF for name-range, only a component called ABCDEF would be formatted; a component with with the name ABCDEFGH would not be formatted. The following action cards are recognized by OXFORMAT. The value of the name-range must be from 1 to 8 characters in length, except where noted. PANEL=name-range This card causes the specified PAINT Panel(s) to be format- ted. VIEW=name-range ‘This card causes the specified CAT View(s) to be formatted. The Component Format Utility: 43 Release 3.0 December, 1987 ACB=name-range DDS=name-range,

You might also like