Professional Documents
Culture Documents
SCLM Education Manual
SCLM Education Manual
Northern Trust Chicago, IL SCLMBNK, SCLMFIN, SCLMHRM, SCLMTEC, and SCLMTFS Applications
October 27, 2004
Rene Ford IBM Global Services Modified by Karen Leisten Northern Trust
(c) Copyright IBM Global Services 1997, 2003. All rights reserved. Permission to use, copy, modify, and/or distribute this documentation for any purpose without express written consent of the IBM Global Services Software Configuration Management Services support team is expressly prohibited.
SUMMARY OF CHANGES.......................................................................................................... 5 INTRODUCTION........................................................................................................................... 6 Part 1. SCLM OVERVIEW........................................................................................................ 8 Topic 1. SCLM - What It Means ................................................................................................... 9 SC: Software Configuration................................................................................................ 9 LM: Library Manager......................................................................................................... 9 SCLM Puts the Two Together ............................................................................................. 9 Topic 2. SCLM - What Is It? ....................................................................................................... 10 SCLM Terminology................................................................................................................. 10 Software Configuration........................................................................................................... 11 Architecture Definitions.................................................................................................... 11 Library Manager..................................................................................................................... 11 Project Definition.............................................................................................................. 11 Language Definitions........................................................................................................ 11 Part 2. SCLM Customization for SCLMBNK, SCLMFIN, SCLMHRM, SCLMTEC, and SCLMTFS Applications ............................................................................................................. 12 Topic 3. SCLM Library Structure ................................................................................................ 13 Project Definitions .................................................................................................................. 13 Project Hierarchy ................................................................................................................... 13 SCLM Alternates..................................................................................................................... 15 SCLM Groups ......................................................................................................................... 16 Authorization Codes ............................................................................................................... 16 SCLM Types ............................................................................................................................ 17 Versioning ............................................................................................................................... 18 Language Definitions.............................................................................................................. 19 Topic 4. SCLM Processes............................................................................................................ 20 SCLM Main Menu................................................................................................................... 20 SCLM Edit............................................................................................................................... 21 SCLM Edit with SCLMINFO .................................................................................................. 22 SPROF Command................................................................................................................... 23 EDIT/COMPARE Tool............................................................................................................ 24 Adding/Updating a Member in SCLM ......................................................................................... 25 Steps to Add a New Member in SCLM.................................................................................... 26 Steps to Edit an Existing Member in SCLM............................................................................ 26 SCLM Member Edit ................................................................................................................ 27 SCLM ARCHDEF Edit ........................................................................................................... 28 Steps to Add a New LECDEF Member in SCLM.................................................................... 28 Steps to Add a New ARCHDEF Member in SCLM................................................................. 29 SCLM Build.................................................................................................................................. 32 BLDLIST ................................................................................................................................. 35 BLDREPT ............................................................................................................................... 36 SCLM Promote Conditional Mode............................................................................................ 37 Promote User Exits ................................................................................................................. 41 SCLM Package Processing ........................................................................................................... 42 2
Table of Contents
SCLM Education for Northern Trust Applications October 27, 2004 SCLM Package Naming Conventions..................................................................................... 42 Steps to Create a New Package .............................................................................................. 43 Steps to Edit an Existing Package in SCLM ........................................................................... 43 Creating Delete Packages.............................................................................................................. 45 Steps to Create a New Delete Package................................................................................... 45 Steps to Edit an Existing Delete Package in SCLM................................................................ 45 Package Build Process ........................................................................................................... 48 Package Promote Approval Process....................................................................................... 49 Package Promote Process ...................................................................................................... 52 Steps to Edit an Existing Member in a Promoted Package .................................................... 55 Topic 5. Architecture Definitions ................................................................................................ 57 What Archdefs Do ................................................................................................................... 57 Four Kinds of Archdefs........................................................................................................... 57 HL - High Level ................................................................................................................ 57 LEC - Link Edit Control.................................................................................................... 57 CC - Compilation Control ................................................................................................ 57 Generic.............................................................................................................................. 57 How Archdefs Work.. an Example .......................................................................................... 58 Understanding Archdef Language.......................................................................................... 59 Rules for Coding Archdefs ...................................................................................................... 59 Some Archdef Keywords ......................................................................................................... 60 Archdefs for Northern Trust ................................................................................................... 62 SCLM Sample Archdefs Table ................................................................................................ 63 SCLM ARCHDEFS Samples According to New Endevor Types............................................ 66 ASMB ...................................................................................................................................... 66 CO3B....................................................................................................................................... 67 CO3B2..................................................................................................................................... 67 CO3BI ..................................................................................................................................... 68 CO3BM ................................................................................................................................... 69 CO3X....................................................................................................................................... 69 CO3X2..................................................................................................................................... 70 BMS......................................................................................................................................... 71 MLOD ..................................................................................................................................... 71 EZTB ....................................................................................................................................... 72 PL1B ....................................................................................................................................... 72 CO3U2#06 .............................................................................................................................. 73 CCDEF Example for CO3B.................................................................................................... 76 CCDEF Example for CO3B2.................................................................................................. 77 CCDEF Example for PL1B..................................................................................................... 78 CCDEF Example for PL1B2................................................................................................... 79 Example for SOURCE2 Program ........................................................................................... 80 Topic 6. SCLM and DB2 ............................................................................................................. 81 What SCLM Types Are Used for DB2?................................................................................... 81 DB2 Types Examples by Type.............................................................................................. 82 CO3B2..................................................................................................................................... 82
SCLM Education for Northern Trust Applications October 27, 2004 PL1B2 ..................................................................................................................................... 83 EZTB2 ..................................................................................................................................... 83 Steps to Create a New DB2 Program ..................................................................................... 84 Steps to Edit an Existing DB2 Member................................................................................... 87 Topic 7. SCLM Utilities .............................................................................................................. 90 SCLM Utilities Menu .............................................................................................................. 90 Library Utility (SCLM option 3.1) .......................................................................................... 91 Migration Utility (SCLM option 3.3) ...................................................................................... 93 Database Utility (SCLM option 3.4)....................................................................................... 94 Audit and Version Utility (SCLM option 3.8) ......................................................................... 97 Delete Group Utility (SCLM option 3.9) .............................................................................. 100 Topic 8. SCLM Customized Tools for Northern Trust.............................................................. 102 SCLM Productivity Tools (SCLM option 3.T) ...................................................................... 102 Copybook Search Utility (SCLM option 3.T.1)..................................................................... 103 Subroutine Search Utility (SCLM option 3.T.2) ................................................................... 104 Breeze Approval Functions (SCLM option 3.B) ................................................................... 105 Approver Maintenance (SCLM option 3.B.1) ................................................................. 106 Approver Group Maintenance (SCLM option 3.B.2)...................................................... 107 Approver Group Approver Maintenance (SCLM option 3.B.3)...................................... 108 Inventory Junction Record Maintenance (SCLM option 3.B.4)...................................... 109 Inventory Watch Record Maintenance (SCLM option 3.B.5) ......................................... 110 Package Report (SCLM option 3.B.6) ............................................................................ 111 Cross Reference Report (SCLM option 3.B.7)................................................................ 112 Package Status (SCLM option 3.B.8).............................................................................. 113 Package Approval (SCLM option 3.B.9) ........................................................................ 114 Package Voting Utility (SCLM option 3.B.10) ............................................................... 115 Topic 9. Viewing and Voting on Packages Using the Breeze Web Interface............................ 116 Breeze Main Panel ................................................................................................................ 117 Selecting a Package for Viewing or Voting .......................................................................... 118 Filtering Packages from the List..................................................................................... 119 Voting on a Package ............................................................................................................. 119 How Voting Results in Approved or Vetoed Status......................................................... 121 Viewing Package Information......................................................................................... 123 Summary ......................................................................................................................... 123 Contents .......................................................................................................................... 125 Log .................................................................................................................................. 126 Collisions ........................................................................................................................ 127 Ballot Box........................................................................................................................ 128 Notes ............................................................................................................................... 129
SUMMARY OF CHANGES
October 6, 2004: Updated SCLM Source to Language Mapping Chart with correct LECDEF samples Added SCLM Type to Language Mapping Chart Updated DELETPKG section with better details Under SPROF Command changed Change code description to optional.
INTRODUCTION
This education package is intended as a high-level introduction to SCLM. For further details about SCLM, refer to the following documents:
SCLM Resources
ISPF SCLM Project Managers and Developers Guide z/OS V1R2.0 (SC34-4817-01) This is a step-by-step guide for the SCLM Users and Administrators to reference while setting up projdefs and langdefs. It provides detailed information concerning all SCLM functions and architecture definitions. This manual can be found at:
http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/books/ispzsc10/contents
SCLM ISPF Reference z/OS V1R2.0 (SC34-4818-01) This reference invokes SCLM services through APIs and detailed information on SCLM macros, parsers, translators, and SCLM variables. It is intended for the SCLM Administrator. This manual can be found at: http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/ISPZSR10/CCONTENTS ISPF Messages and Codes z/OS V1R2.0 (SC34-4815-01) This reference lists all SCLM error messages (FLM*). It is intended for SCLM Users and Administrators. This manual can be found at: http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/ISPZMC10/CCONTENTS
Breeze Resources
Breeze for SCLM Functional Overview z/OS (SC31-8818-01) Step by step guide to completing the installation. Intended audience is system Administrators who are familiar with installing products under z/OS or OS/390. Breeze for SCLM Planning and Administration Guide z/OS (SC31-8817-02) Step by step guide to completing the installation. Intended audience is system Administrators who are familiar with installing products under z/OS or OS/390. Breeze for SCLM Users Guide z/OS (SC31-8820-02) Guide to promoting packages, and using the Web interface to view packages, and approve or veto package promotion. Intended audience is Developers, Approvers, and general Users. See the following web page: http://www.software.ibm.com/ad/sclmsuite/breeze/library/ Breeze for SCLM Installation Guide z/OS (SC31-8819-02) Step by step guide to completing the installation. Intended audience is system Administrators who are familiar with installing products under z/OS or OS/390. Select Installation Guide from the following web page: http://www.software.ibm.com/ad/sclmsuite/breeze/library/
Other Resources
Visit the ISPF/SCLM homepage for more information about SCLM at: http://www.software.ibm.com/ad/ispf. Standard IBM Service is available for issues concerning the SCLM product through 1-800-IBM-SERV. Visit the SCLM forums and news discussion groups for more information about SCLM at: http://www.software.ibm.com/ad/sclmsuite/support. The forums are reviewed by the SCLM Developers. You can ask questions and get answers through: - SCLM e-Group Discussion - IBM SCLM newsgroups
For detailed information refer to publication ISPF Software Configuration and Library Manager (SCLM) Developer's Guide.
10
Software Configuration
Find the proper source objects Apply the proper language translators Generate the proper output objects
Architecture Definitions
Library Manager
Store the source and output objects Associate languages with members
Project Definition
Identify the groups and types used in a project Identify control information Identify language definitions
Language Definitions
Identify what actions to take Identify inputs and outputs Identify parser to use
11
Part 2. SCLM Customization for SCLMBNK, SCLMFIN, SCLMHRM, SCLMTEC, and SCLMTFS Applications
12
Project Hierarchy
SCLMTFS, and Debug Alternate
BACKUP
P P
PRD
FIRECALL
P
FREEZE
P
PREP
P, D
HOLDA
P, D
HOLDB
P, D
HOLDC
P, D
DEVA
P, D
DEVB
P, D
DEVC
P, D
BACKUP
P P
PRD
FIRECALL
P
FREEZE
P
PREP
P, D
HOLDA
P P
HOLDB
P
HOLDC
BACKUP
P
PRD
FIRECALL
P
Note:
BACKUP group is not available to programmers. BACKUP group is for SCLM Administrator use only. 13
BACKUP
P P
PRD
FIRECALL
P
FREEZE
P
PREP
P, D
HOLDA
P, D
DEVA
P, D
BACKUP
P P
PRD
FIRECALL
P
FREEZE
P
PREP
P, D
HOLDA
P
BACKUP
P
PRD
FIRECALL
P
14
SCLM Alternates
SCLM alternate project definitions allow the SCLM main project to be redefined so that only specific groups will be included in the alternate project. With the implementation of SCLM at Northern Trust several alternate projects were defined for each SCLM main project. To make the process of selecting an alternate easier for the users, switches have been added to the bottom of the SCLM main menu. Debug The Debug alternate allows the user to set the compile options in the DEV groups so that Xpediter will be used during the compile process. Leave the Xpediter switch set to Y. Package The Package alternate allows the HOLD SCLM groups to become the lowest groups within the hierarchy. This will enable the user to create/build packages in the HOLD groups. Set the package switch to Y. Pkgdebug The Pkgdebug alternate is used to promote packages from the HOLD group to the FREEZE group using the Xpediter compile process. In order to invoke the build process during the promote to Freeze the package member name must have a 2 in the 4th position. Set the package and Xpediter switch to Y. Firecall The Firecall alternate allows the user to include only the PROD and FIRECALL groups within the hierarchy. This will remove the requirement for the users to provide authorization codes in the DEV and HOLD groups. Set the Firecall switch to Y. Firebug The Firebug alternate will allow the user to use the firecall alternate with the Xpediter compile process. Set the Xpediter and firecall switch to Y.
15
SCLM Groups
PRD BACKUP FREEZE PREP HOLDA HOLDB HOLDC DEVA DEVB DEVC FIRECALL
GROUP NAME
PRODUCTION BACKUP USER ACCEPTANCE TESTING STAGING FOR FREEZE HOLD A HOLD B HOLD C DEVELOPMENT A DEVELOPMENT B DEVELOPMENT C FIRECALL PRODUCTION
DESCRIPTION
Authorization Codes
SCLM uses authorization codes to control promotion of members in the project hierarchy. Each group has at least one authorization code. In order to promote from one group to the next higher group, each must have one common authorization code. Groups at the same level (for example, DEVA and DEVB groups) with the same authorization code will lock members from each other. If you want to edit a member already in one of the other DEV groups you will need to use a D authorization code.
16
SCLM Types
ARCHDEF BACKUP BIND BMSLIB CBKLIB CCDEF CPTLIB DBRMLIB DB2OUT DELETPKG EGLLIB FEXLIB FMALIB FQLLIB LECDEF LECDEFA LECDEFC LECDEFI LECDEFO LECDEFR LECDEFSP LOAD LOADA LOADC LOADI LOADO LOADR LOADSP MACLIB OBJ OBJ2 PACKAGE SOURCE SOURCE2
TYPE
YES YES YES NO YES YES YES NO NO NO YES YES YES YES YES YES YES YES YES YES YES NO NO NO NO NO NO NO YES NO NO YES YES YES
VERSIONED
ARCHDEF N/A BIND N/A CO3B, PL1B ARCHDEF TEXT N/A N/A ARCHDEF TEXT TEXT TEXT TEXT ARCHDEF ARCHDEF ARCHDEF ARCHDEF ARCHDEF ARCHDEF N/A N/A N/A N/A N/A N/A N/A N/A TEXT N/A N/A ARCHDEF CO3B, ASMB, ASMC, BMS, CO3B2, CO3B2R, CO3B2RT, CO3C, CO3C2, EZTB, EZTB2, PL1B, PL1B2 See Administrator.
LANGUAGE
17
Versioning
SCLM saves 20 versions in DEVA, DEVB, DEVC, HOLDA, HOLDB, HOLDC, FREEZE, FIRECALL, and PRD groups for each of the following types in SCLM:
TYPE ARCHDEF BIND CBKLIB CCDEF CPTLIB DELETPKG EGLLIB FEXLIB FMALIB FQLLIB LECDEF LECDEFA LECDEFC LECDEFI LECDEFO LECDEFR LECDEFSP MACLIB PACKAGE SOURCE SOURCE2 Description Architecture Definition Bind Control Member Cobol Copybooks Compile Definitions CULPRIT Package for Deleting Members EAGL88 Focus Execs Focus Master Focus SQL Link Edit Definitions for LOAD Link Edit Definitions for LAODA Link Edit Definitions for LOADC Link Edit Definitions for LOADI Link Edit Definitions for LOADO Link Edit Definitions for LOADR Link Edit Definitions for LOADSP Macro SCLM Promote Package Program Source Code Extra Cobol Source Code
Note: Versions are only maintained at the level of all non-PRD groups, until a promotion. Then they are deleted. PRD versions are maintained at all times.
18
Language Definitions
LANGUAGE DESCRIPTION PROJECT
CO3C CO3C2 DB2OUT EZTB EZTB2 LECMN LECMNRNT LEEZT LELET PL1B PL1B2 LOD TEXT
ARCHITECTURE DEFINITION ASSEMBLER BATCH ASSEMBLER CICS DB2 BIND FOR BUILD CICS MAPS LE COBOL BATCH LE COBOL BATCH DB2 LE COBOL BATCH DB2 WITH SMART RESTART LE COBOL BATCH DB2 WITH SMART RESTART WITH TSO ATTACHMENT LE COBOL CICS LE COBOL CICS DB2 DB2 BIND FOR PROMOTE EZTRIEVE BATCH EZTRIEVE BATCH DB2 LINKAGE EDITOR FOR LE LINKAGE EDITOR FOR LE RENT LINKAGE EDITOR FOR EZTRIEVE LINKAGE EDITOR FOR LE LET PL1 BATCH PL1 BATCH DB2 LOAD TEXT LANGUAGE
BNK, FIN, HRM, TEC, TFS BNK, FIN, HRM, TEC, TFS BNK, FIN, HRM, TEC, TFS BNK, TFS FIN, TEC, TFS FIN, HRM, TEC, TFS TEC, TFS TEC, TFS TEC, TFS BNK, FIN, HRM, TEC, TFS TEC, TFS BNK, TEC, TFS BNK, FIN, TEC, TFS BNK, TEC, TFS BNK, FIN, HRM, TEC, TFS BNK, TEC, TFS BNK, TEC, TFS BNK, TEC, TFS BNK, FIN, HRM, TEC, TFS BNK, FIN, TEC, TFS FIN, TEC, TFS BNK, FIN, HRM, TEC, TFS
19
Control Information: . . . SCLMBNK (Project high-level qualifier) . . . (Project definition: defaults to project) . . . DEVA (Defaults to TSO prefix) Y (Y/N) Package => N (Y/N) Firecall => N (Y/N)
SCLM Main Menu can be accessed using option 10 from the ISPF Main menu. The group specified here determines which leg of the hierarchy is used for Edit, Build, and Promote. For SCLMTFS use DEVA, DEVB, and DEVC. For all other projects use DEVA. Set Xpediter switch to Y (yes) if the Xpediter version of the compiler should be used. Set Package switch to Y (yes) to create a package or promote to the Freeze or Production groups. Set Firecall Switch to Y (yes) if editing in group Firecall or promoting from group Firecall. A combination of switches can be set to utilize multiple functions. For example to use Xpediter and Package processing set both switches to Y, to use both Firecall and Xpediter set both switches to Y.
20
SCLM Edit
Menu RefList RefMode SCLM Utilities Workstation Help ---------------------------------------------------------------------------SCLM Edit - Entry Panel Command ===> SCLM Library: Project . . :SCLMBNK Group . . . :DEVA Type . . . .SOURCE Member. . . .IBM01
. . . HOLDA
. . . FREEZE . . . PRD
(Blank or pattern for member selection list) (If blank, defaults to data set type)
Initial Macro . . SCLMINFO Profile Name . . . Options /Confirm/Cancel/Move/Replace Mixed Mode Edit on Workstation Preserve VB record length Change code . . . . . .12345 Authorization code . .P Parser Volume . . . . .
(If blank, the default auth code is used) (If blank, the default volume is used)
Always use SCLM Edit instead of ISPF Edit. Always use SCLMINFO edit macro. Draw Down copies member from higher group to the edit group. Parse gathers statistics and dependencies. Save updates SCLM accounting data. The Authorization code will be hard coded on the screen. SCLM controlled members cannot be edited under ISPF. If SCLM members are copied using ISPF 3.3 Copy, then the SCLM Setting option on the COPY Panel must have Option 2, (Non-SCLM), selected, or the member will still not be eligible for edit, even under a users private dataset.
21
SCLMINFO provides helpful info about the member: Who last edited the member. When the member was last edited. Where else in the hierarchy the member exists. Sends TSO message to others that are also working with member. Detects potential predecessor verification errors with members in higher groups. Lists any previous change codes related to this member. Where related copybooks are being changed (activated by typing SCLMINFO COPY on the command line inside the edit session).
22
SPROF Command
Menu SCLM Utilities Help ------------------------------------------------------------------SCLM Edit Profile Command ===> SCLM Library: SCLMBNK.DEVA.SOURCE Member: IBM01 Press the Enter key with the language field blank to view a list of valid languages or enter the desired values and press Enter. Enter the Cancel command to exit with no change. Language . . . . CO3B Change code . . 12345 (Use "=" to retrieve last entry)
The SPROF (SCLM Profile) command allows users to update the language or change code of a member. Type SPROF on the command line inside the edit session to access. To see a list of valid languages for the project, leave it blank and press Enter. Then select the desired language from the displayed list. Change code is optional.
23
EDIT/COMPARE Tool
Use the EDIT/COMPARE function to compare 2 members in the SCLM hierarchy, highlight the differences in one member, and retrofit any changes or fix work as needed. To use the tool: 1. Edit the member under SCLM (through option 3.1). 2. Type HILITE ON RESET on the command line, press Enter. This highlights the member in different colors according to the syntax of its language. This command is only needed if HILITE is off. 3. Enter a valid COMPARE command on the command line: Type COMPARE to set options for the COMPARE command. Type COMPARE NEXT to compare this member to one with the same name in a higher group in the hierarchy. Type COMPARE pdsname to compare against a member that exists in another PDS. Replace pdsname with the actual dataset name. This can also be an SCLM dataset from a separate leg of the hierarchy. Type COMPARE pdsname X to show only lines that are different between the 2 members. 4. EDIT/COMPARE will color all lines in white that exist in the member specified in step 3, but do not exist in the member being edited. These lines can be merged into the member being edited with the MD (Make Data) line command. Just type MD next to lines you want. Use MDD to block several lines to merge. Use MD9999 on the first line to merge all lines in the member. All lines colored in blue represent lines in the member being edited that do not exist in the member specified in step 3. 5. Type L SPECIAL NEXT to locate the next line for merge consideration. 6. Type L LABEL to locate the next line in blue not found in the member specified in step 3.
24
HOLDA
. . .
FREEZE
. . .
PRD
(Blank or pattern for member selection list) (If blank, defaults to data set type)
25
26
27
29
Menu RefList RefMode SCLM Utilities Workstation Help ---------------------------------------------------------------------------SCLM Edit - Entry Panel Command ===> SCLM Library: Project . . :SCLMBNK Group . . . :DEVA . . . Type . . . .LECDEF Member. . . .IBM01 Initial Macro . . SCLMINFO Profile Name . . . Options / Confirm Cancel/Move/Replace Mixed Mode Edit on Workstation Preserve VB record length Change code . . . . . . 123456 Authorization code . . P Parser Volume . . . . . (If blank, the default auth code is used) (If blank, the default volume is used)
HOLDA
. . .
FREEZE . . .
PRD
(Blank or pattern for member selection list) (If blank, defaults to data set type)
EDIT SCLMBNK.DEVA.LECDEF(IBM01) - 01.00 Columns 00001 00072 Command ===> copy IBM00 Scroll ===> CSR ****** ***************************** Top of Data ****************************** ==MSG> -Warning- The UNDO command is not available until you change ==MSG> your edit profile using the command RECOVERY ON. '''''' '''''' '''''' '''''' ''''''
30
After you create the lecdef for the source member, you can use the same steps above to create the archdef. After the lecdef and archdef are created you can build the archdef, which will compile and link the member in SCLM, so that the source member can be tested.
31
SCLM Build
Menu SCLM Utilities Jobcard Workstation Build Help ---------------------------------------------------------------------------SCLM Build - Entry Panel Command ===> Build input: Project . : SCLMBNK Group . . . DEVA Type . . . . ARCHDEF Enter "/" to select option Member . . IBM01 Error Listings only Workstation Build 1. 2. 3. 4. Output control: Ex Messages . . 1 Report . . . 1 Listings . . 3 Mode . . 1 Conditional Unconditional Forced Report Sub 2 2 2 1. 2. 3. 4. Terminal Printer Data set None Scope . . . 2 1. 2. 3. 4. Limited Normal Subunit Extended
1. Execute 2. Submit
BUILD is option 4 from the SCLM Main Menu. It can also be accessed with the SCLM menu item on the action bar. A valid Jobcard must be set up under the Jobcard menu item on the action bar. Set up the Jobcard in SCLM, using the Jobcard toolbar option at the top of the SCLM Build entry panel.
32
Build . . . From an ARCHDEF Compiles, links, processes by language of member Generates outputs and stores in SCLM Can be done for one load module, several load modules, or an entire application Only builds what is impacted by change Creates BUILD Report Generates Build Map Must be successful before doing PROMOTE Check SDSF for job output correctness if process = 2 (or check your job spooler) Build Functions 1. Verification Determines which members will be involved Verifies that all accounting information is correct 2. Build Map generation - used for SCLM internal processing 3. Translator Calls - compilers, link editors, binds, etc. 4. Report generation Build Scopes 1. 2. 3. 4. Limited - process only components named in archdef Normal - process named and all referenced components Subunit - process ADA parts Extended - process as Normal plus downward dependencies
Build Modes 1. 2. 3. 4. Conditional - Stop if any unacceptable return codes Unconditional - Continue processing despite translation errors Forced - Force all components to be reprocessed Report - Generate Build Report only, without performing the Build
33
Both Conditional and Unconditional modes will only select the parts that have changed to rebuild. If only a copybook changes and a Build is done with an archdef that points to 50 modules, then only those modules that reference the changed copybook will be selected for compiling and linking. Forced mode ignores any checking for changed parts. All referenced modules in the archdef are recompiled and re-linked. Report mode only produces a report of the outputs that Build would create under Conditional or Unconditional mode. This is a dry run tool. Build Outputs Three files are generated from the Build process:
BLDMSGS BLDLIST BLDREPT
In spooled output, select the Build job with a ? to list it by files. Check the BLDMSGS, BLDLIST, and BLDREPT files for correctness. BLDMSGS
********************************* Top of Data ********************************** FLM42000 - BUILD PROCESSOR INITIATED - 02:04:34 ON 2002/12/31 FLM44500 - >> INVOKING BUILD TRANSLATOR(S) FOR TYPE: SOURCE FLM06501 - TRANSLATOR RETURN CODE FROM ===> COBOL/MVS FLM06501 - TRANSLATOR RETURN CODE FROM ===> COMPILER LISTING MEMBER: IBM01 ===> 0 ===> 0
FLM44500 - >> INVOKING BUILD TRANSLATOR(S) FOR TYPE: LECDEF MEMBER: IBM01 FLM06501 - TRANSLATOR RETURN CODE FROM ===> LINK EDIT ===> 0 FLM06501 - TRANSLATOR RETURN CODE FROM ===> LINKAGE LISTINGS ===> 0 FLM46000 - BUILD PROCESSOR COMPLETED - 02:04:50 ON 2002/12/31 ******************************** Bottom of Data ********************************
The build messages list all of the translators and resulting return codes that the Build processed. Any compile or link errors are indicated by return codes here. Any SCLM accounting errors or verification problems are also listed here.
34
BLDLIST
This report contains the listings from the compiles and links. Use this report to troubleshoot any errors. Specify Error Listings Only on the Build panel to suppress these listings.
PP 5648-A25 IBM COBOL for OS/390 & VM 2.1.1 Date 02/13/2001 Time 10:57:58 Invocation parameters: XREF,LIB,APOST,NODYNAM,LIST,NONUMBER,NOSEQ PROCESS(CBL) statements: CBL RENT,RES,NODYNAM,LIB Options in effect: NOADATA ADV NOANALYZE APOST NOAWO BUFSIZE(4096) NOCMPR2 NOCOMPILE(S) NOCURRENCY DATA(31) NODATEPROC NODBCS NODECK NODLL NODUMP NODYNAM NOEXIT
35
BLDREPT
The following report lists all outputs created or deleted by SCLM during the BUILD. Build Maps, which SCLM creates during BUILD to associate related members, are also created or deleted.
********************************* Top of Data ********************************** ******************************************************************************* ******************************************************************************* ** ** ** ** ** SOFTWARE CONFIGURATION AND LIBRARY MANAGER (SCLM) ** ** ** ** B U I L D R E P O R T ** ** ** ** 2002/12/31 02:04:34 ** ** ** ** PROJECT: SCLMTFS ** ** GROUP: DEVA ** ** TYPE: ARCHDEF ** ** MEMBER: IBM01 ** ** ALTERNATE: SCLMTFS ** ** SCOPE: NORMAL ** ** MODE: CONDITIONAL ** ** ** ** ** ******************************************************************************* ******************************************************************************* ******* B U I L D O U T P U T S G E N E R A T E D ******* Page 1 MEMBER -----IBM01 IBM01 TYPE VERSION KEYWORD ---------------OBJ 2 OBJ LOAD 2 LOAD ******* B U I L D M A P S G E N E R A T E D ******* REBUILD) TYPE ---LECDEF SOURCE SOURCE L E T E D
Page 2
(REASON FOR MEMBER TYPE VERSION MEMBER --------------------IBM01 ARCHDEF 3 IBM01 IBM01 LECDEF 2 IBM01 IBM01 SOURCE 2 IBM01 ******* B U I L D O U T P U T S D E MEMBER TYPE VERSION KEYWORD --------------------******* NO MODULES DELETED ******* ******* B U I L D M A P S D E MEMBER ------
*******
Page 3
L E T E D
*******
Page 4
(REASON FOR DELETE) TYPE VERSION MEMBER TYPE ------------------***** NO BUILD MAPS DELETED ***** ******************************** Bottom of Data ********************************
36
Breeze control: Override: N (Y/N) Window (yy/mm/dd - hh:mm) 02 / 08 / 07 13 : 30 Thru 02 / 08 / 20 13 : 00 Description: Type: ST (ST/EM)
accessed using the SCLM Library utility panel (SCLM option 3.1). The conditional promote will initiate the Breeze approval process for promotes to the FREEZE and PRD groups. The package switch on the SCLM main menu must be set to Y and the type must be PACKAGE to promote to the FREEZE and PRD groups. 1. Fill in the promote input fields (Type and Member) with names that are applicable to your project. Project and From group fields will default to the project and group that was entered on the SCLM Main Menu panel. 2. Ensure that Process = 1 (Execute) to exectute SCLM promotes in the FOREGROUND. Process = 2 (Submit) will execute SCLM promotes in BATCH. 3. Enter Breeze control dates (a start date and an end date) that define a valid range of time during which the package can be promoted. This will only be used for promotes to the FREEZE and PRD groups.
37
Promote . . . Using an ARCHDEF from the DEV groups, Using a Package from the HOLD and FREEZE groups Verifies completeness and data integrity with the build map Scope of the archdef determines what gets promoted Copies members to the next highest group of the hierarchy Foreground or background Creates promote report Purges members from the current group Check spooled output for job output correctness if process = 2 Promote Functions 1. Verification Verifies that all accounting information is correct Determines if all eligible members have been successfully built 2. Copy copies all associated members to the next higher level group 3. Purge Deletes all associated members from current group 4. Report generation Promote Scopes 1. Normal process named components and all referenced components 2. Subunit process ADA parts 3. Extended process as Normal plus downward dependencies
.
38
Promote Modes 1. Conditional Bypass COPY and PURGE phases if verification error 2. Unconditional Continue processing despite verification errors Process members with correct accounting information only Not recommended for use 3. Report Perform verification phase only Report contains members eligible for promotion PROMOTE OUTPUTS Two files are generated from the Promote process: PROMMSGS PROMREPT If submitted as a background job, select the Promote job from SDSF. Check PROMMSGS and PROMREPT files for correctness. PROMMSGS This report is a summary of the Promote process. Any errors in the Promote
******************************* Top of Data ******************************** FLM51000 - PROMOTE PROCESSOR INITIATED - 02:09:08 ON 2002/12/31 FLM52000 - INITIATING VERIFICATION PHASE - 02:09:08 ON 2002/12/31 FLM55000 - INITIATING COPY PHASE - 02:09:09 ON 2002/12/31 FLM57000 - INITIATING PURGE PHASE - 02:09:24 ON 2002/12/31 FLM57001 - INITIATING PURGE FROM GROUP: DEVA FLM58000 - PROMOTE PROCESSOR COMPLETED - 02:09:26 ON 2002/12/31 ******************************* Bottom of Data *****************************
will be listed in this report. PROMREPT The following report indicates all members that were promoted. An X beneath the columns COPIED TO and PURGED FROM indicate actions performed by the Promote.
39
********************************* Top of Data ********************************* ** SOFTWARE CONFIGURATION AND LIBRARY MANAGER (SCLM) ** ** ** ** P R O M O T E R E P O R T ** ** 2002/12/31 02:09:08 ** ** PROJECT: SCLMTFS ** ** TO GROUP: HOLDA ** ** FROM GROUP: DEVA ** ** TYPE: ARCHDEF ** ** ARCH. MEM.: IBM01 ** ** ALTERNATE: SCLMTFS ** ** SCOPE: NORMAL ** ** MODE: CONDITIONAL ** ** NOTE: "*" INDICATES "OUT OF SCOPE" ITEMS. ** ******************************************************************************* PAGE 2 TYPE: ARCHDEF COPIED TO PURGED FROM MEMBER DATE TIME MESSAGE HOLDA DEVA ________ __________ ________ ________ _________ ___________ IBM01 2002/12/31 01:46:17 X X PAGE 3 TYPE: LECDEF COPIED TO PURGED FROM MEMBER DATE TIME MESSAGE HOLDA DEVA ________ __________ ________ ________ _________ ___________ IBM01 2002/12/31 01:46:46 X X PAGE 4 TYPE: LOAD COPIED TO PURGED FROM MEMBER DATE TIME MESSAGE HOLDA DEVA ________ __________ ________ ________ _________ ___________ IBM01 2002/12/31 02:04:00 X X PAGE 5 TYPE: OBJ COPIED TO PURGED FROM MEMBER DATE TIME MESSAGE HOLDA DEVA ________ __________ ________ ________ _________ ___________ IBM01 2002/12/31 02:04:42 X X PAGE 6 TYPE: SOURCE COPIED TO PURGED FROM MEMBER DATE TIME MESSAGE HOLDA DEVA ________ __________ ________ ________ _________ ___________ IBM01 2002/12/31 02:04:17 X X PAGE 7 ******************************************************************************* ** B U I L D M A P S ** ******************************************************************************* PAGE 8 TYPE: ARCHDEF COPIED TO PURGED FROM MEMBER DATE TIME MESSAGE HOLDA DEVA ________ __________ ________ ________ _________ ___________ IBM01 2002/12/31 02:04:34 X X PAGE TYPE: LECDEF MEMBER ________ IBM01 DATE __________ 2002/12/31 TIME ________ 02:04:34 MESSAGE ________ COPIED TO HOLDA _________ X PURGED FROM DEVA ___________ X PAGE TYPE: SOURCE COPIED TO PURGED FROM MEMBER DATE TIME MESSAGE HOLDA DEVA ________ __________ ________ ________ _________ ___________ IBM01 2002/12/31 02:04:34 X X ******************************** Bottom of Data ******************************** 10 9
40
41
42
43
Menu Functions Utilities Help -----------------------------------------------------------------------------MEMBER LIST SCLM.PROJDEFS.PKGTYPES Row 00001 of 00006 Command ===> Scroll ===> CSR Name Prompt Size Created Changed ID S ARCHDEF . CPTLIB . EGLLIB . FEXLIB . FMALIB . FQLLIB **End** |-----------------------------------------------------------| | Select all types that you wish to include in this package | |-----------------------------------------------------------|
Place an S next to each member from this type that will be included in the package for promotion.
Menu Functions Utilities Help -----------------------------------------------------------------------------MEMBER LIST SCLMBNK.DEVA.ARCHDEF Row 00001 of 0005 Command ===> Scroll ===>PAGE Name Prompt Lib Size Created Changed ID . BR14 2 8 2001/08/29 2001/08/29 09:36:19 QAG097 S IBM01 1 3 2001/08/29 2001/08/29 18:54:27 QAG096 . LODONLY 1 8 2001/08/29 2001/08/29 09:33:50 QAG097 . RRBBOBY 1 1 2001/08/29 2001/08/29 11:33:45 QAG097 . TEST1 4 2 2001/08/24 2001/08/24 13:20:24 QAG098 **End**
44
1. Select Option 3.1 from the SCLM main menu for the Library Utility panel. 2. Specify Type (DELETPKG). Press Enter. A member list appears. 3. Enter an E next to the delete package member you would like to edit. 4. Press Enter to invoke delete package processing. 5. Select the types for the delete package and press Enter. 6. Select the members for the delete package press Enter. 7. The delete package member will be displayed with the additional members added to the delete package. 8. Press End to return to SCLM Main Edit panel.
45
Menu Functions Utilities Help -----------------------------------------------------------------------------MEMBER LIST SCLM.PROJDEFS.DELTYPES Row 00001 of 00006 Command ===> Scroll ===> CSR Name Prompt Size Created Changed ID S ARCHDEF . BINDCTL . CCDEF . CPYLIB . LECDEF . LOADB . LOADO . MACLIB S SOURCE **End** |-----------------------------------------------------------| | Select all types that you wish to include in this package | |-----------------------------------------------------------|
This panel allows selection by Type of what will be in the package archdefs.
Menu Functions Utilities Help ----------------------------------------------------------------------------MEMBER LIST SCLM.HOLDA.ARCHDEF Row 00001 of 0005 Command ===> Scroll ===>PAGE Name Prompt Lib Size Created Changed ID . BR14 2 8 2001/08/29 2001/08/29 09:36:19 QAG097 S IBM01 1 3 2001/08/29 2001/08/29 18:54:27 QAG096 . LODONLY 1 8 2001/08/29 2001/08/29 09:33:50 QAG097 . RRBBOBY 1 1 2001/08/29 2001/08/29 11:33:45 QAG097 . TEST1 4 2 2001/08/24 2001/08/24 13:20:24 QAG098 **End**
Place an S next to each member from this type that will be included in the package for promotion.
46
-----------------------------------------------------------------------------EDIT SCLM.UT2.DELETPKG(DELIBM01) - 01.00 Columns 00001 00072 Command ===> Scroll ===> CSR ****** ***************************** Top of Data ***************************** * NAME: DELIBM01 * DESC: DELETPKG FOR DELIBM01 * * * SOURCE MEMBERS * PROM IBM01 SOURCE * Promote member * * ARCHDEF MEMBERS * PROM IBM01 ARCHDEF * Promote member ****** **************************** Bottom of Data ****************************
This is an example of what the package member will look like. The member can then be edited to add a description of the deletion as comments after line 2.
47
Page 2
(REASON FOR MEMBER TYPE VERSION MEMBER --------------------IBMTEST PACKAGE 1 IBMTEST ******* B U I L D O U T P U T S D E MEMBER TYPE VERSION KEYWORD --------------------******* NO MODULES DELETED ******* ******* B U I L D M A P S D E MEMBER ------
*******
Page 3
L E T E D
*******
Page 4
(REASON FOR DELETE) TYPE VERSION MEMBER TYPE ------------------***** NO BUILD MAPS DELETED ***** ******************************** Bottom of Data ********************************
48
49
The following is a sample of the promote messages (PROMMSGS) issued during the first promote process. When the Breeze approval process is invoked.
********************************* Top of Data ********************************** FLM51000 - PROMOTE PROCESSOR INITIATED - 18:28:14 ON 2003/01/01 FLM52000 - INITIATING VERIFICATION PHASE - 18:28:14 ON 2003/01/01 FLM06512 - VERIFICATION ERROR FROM USER EXIT ROUTINE: PROMEXT1, CODE: 4 FLM58000 - PROMOTE PROCESSOR COMPLETED - 18:28:19 ON 2003/01/01 ******************************** Bottom of Data ********************************
The following is a sample of the promote report (PROMREPT) issued during the first promote process when the Breeze approval process is invoked.
********************************* Top of Data ********************************* ** SOFTWARE CONFIGURATION AND LIBRARY MANAGER (SCLM) ** ** ** ** P R O M O T E R E P O R T ** ** ** ** 2002/12/31 02:09:08 ** ** ** ** ** ** PROJECT: SCLMTFS ** ** TO GROUP: FREEZE ** ** FROM GROUP: HOLDA ** ** TYPE: PACKAGE ** ** ARCH. MEM.: IBMTEST ** ** ALTERNATE: PACKAGE ** ** SCOPE: NORMAL ** ** MODE: CONDITIONAL ** ** ** ** ** ** NOTE: "*" INDICATES "OUT OF SCOPE" ITEMS. ** ******************************************************************************* PAGE 2 TYPE: ARCHDEF COPIED TO PURGED FROM MEMBER DATE TIME MESSAGE FREEZE HOLDA ________ __________ ________ ________ _________ ___________ IBM01 2002/12/31 02:46:17 PAGE TYPE: LOAD MEMBER ________ IBM01 TYPE: OBJ MEMBER ________ DATE __________ TIME ________ MESSAGE ________ COPIED TO FREEZE _________ PURGED FROM HOLDA ___________ DATE __________ 2002/12/31 TIME ________ 02:46:46 PAGE 4 MESSAGE ________ COPIED TO FREEZE _________ PURGED FROM HOLDA ___________ 3
50
PAGE 7 ******************************************************************************* ** ** ** B U I L D M A P S ** ** ** ******************************************************************************* PAGE 8 TYPE: ARCHDEF COPIED TO PURGED FROM MEMBER DATE TIME MESSAGE FREEZE HOLDA ________ __________ ________ ________ _________ ___________ IBM01 2002/12/31 03:04:34 PAGE TYPE: LECDEF MEMBER ________ IBM01 DATE __________ 2002/12/31 TIME ________ 03:04:34 PAGE TYPE: PACKAGE MEMBER ________ IBMTEST DATE __________ 2002/12/31 TIME ________ 03:04:34 PAGE TYPE: SOURCE MEMBER ________ DATE __________ TIME ________ MESSAGE ________ COPIED TO FREEZE _________ PURGED FROM HOLDA ___________ 11 MESSAGE ________ COPIED TO FREEZE _________ PURGED FROM HOLDA ___________ 10 MESSAGE ________ COPIED TO FREEZE _________ PURGED FROM HOLDA ___________ 9
51
******************************************************* * Now verifying package with Promote Report request. * ******************************************************* ******************************************************* * Promote Report (verify function) succeeded. * * Note SCLM message FLM87107 means that the Promote * * Report for this package was successful. * ******************************************************* ******************************************************* * Package RENETRST is approved and can be promoted. * * From Group = HOLDA * * To Group = FREEZE * ******************************************************* RETURN CODE FROM PROMOTE VERIFY = 0 ******************************************************* * PACKAGE IBMTEST has been promoted and the * * Breeze database has been updated. * *******************************************************
The following is a sample of the SCLM promote messages (PROMMSGS) issued during the promote process.
FLM51000 FLM52000 FLM55000 FLM57000 FLM57001 FLM58000 PROMOTE PROCESSOR INITIATED - 19:55:36 ON 2003/01/01 INITIATING VERIFICATION PHASE - 19:55:36 ON 2003/01/01 INITIATING COPY PHASE - 19:55:42 ON 2003/01/01 INITIATING PURGE PHASE - 19:55:48 ON 2003/01/01 INITIATING PURGE FROM GROUP: TEST PROMOTE PROCESSOR COMPLETED - 19:55:49 ON 2003/01/01
52
The following is a sample of the SCLM promote report (PROMREPT) issued during the promote process.
********************************* Top of Data ********************************* ** SOFTWARE CONFIGURATION AND LIBRARY MANAGER (SCLM) ** Error! ** ** ** P R O M O T E R E P O R T ** ** ** ** 2002/12/31 02:09:08 ** ** ** ** ** ** PROJECT: SCLMTFS ** ** TO GROUP: FREEZE ** ** FROM GROUP: HOLDA ** ** TYPE: PACKAGE ** ** ARCH. MEM.: IBMTEST ** ** ALTERNATE: PACKAGE ** ** SCOPE: NORMAL ** ** MODE: CONDITIONAL ** ** ** ** ** ** NOTE: "*" INDICATES "OUT OF SCOPE" ITEMS. ** ******************************************************************************* PAGE 2 TYPE: ARCHDEF COPIED TO PURGED FROM MEMBER DATE TIME MESSAGE FREEZE HOLDA ________ __________ ________ ________ _________ ___________ IBM01 2002/12/31 02:46:17 X COPIED TO FREEZE _________ X COPIED TO FREEZE _________ X COPIED TO FREEZE _________ X COPIED TO FREEZE _________ X X PAGE TYPE: LOAD MEMBER ________ IBM01 TYPE: OBJ MEMBER ________ IBM01 DATE __________ 2002/12/31 TIME ________ 03:04:00 MESSAGE ________ PURGED FROM HOLDA ___________ X PAGE TYPE: PACKAGE MEMBER ________ IBMTEST DATE __________ 2002/12/31 TIME ________ 03:04:42 MESSAGE ________ PURGED FROM HOLDA ___________ X PAGE TYPE: SOURCE MEMBER ________ IBM01 DATE __________ 2002/12/31 TIME ________ 03:04:17 MESSAGE ________ PURGED FROM HOLDA ___________ X 6 5 DATE __________ 2002/12/31 TIME ________ 02:46:46 MESSAGE ________ PURGED FROM HOLDA ___________ X PAGE 4 3
53
54
6. 7. 8.
9. 10.
11. 12.
13.
55
14.
After testing in the Freeze group the programmer can request the package be promoted to the PRD group. Start the SCLM package production promotion process by using SCLM option 5. This will send the production approvals for this package to the users. (For complete instructions see Package Promote Approval Process.) Once the package has been approved to promote to production. The SCLM package sweep job will run. The sweep job will look for all packages in approved status. For each approved package the SCLM promote process will in invoked and SCLM will promote the members of the package to the PRD group. (For complete instructions see Package Promote Process.)
15.
56
Group other archdefs. Controls process of functions at application or sub-application level. Used to package various members together for processing.
LEC - Link Edit Control
Used to link edit modules. LEC archdefs reference input source with a CC archdef or an INCLD statement. All LEC ARCHDEFS have a LOAD statement.
CC - Compilation Control
Create object module from source. Primarily used to override a compiler option. CC archdefs are referenced by LEC archdefs.
Generic
57
SCLM
ARCHDEF
PGM1
PGM2
JCL
JCL
JCL
PROC
PROC
PROC
SRC C
CCDEF
SRC A
SRC C
SRC E
SOURCE
SRC B SRC D
PACKAGE(IBMP001) * *Package Archdef * INCL PGM1 INCL PGM2 PROM JCL1 PROM PROC1
ARCHDEF(PGM1) * *LE(Link Edit) Archdef for PGM1 * INCLD SRCA SOURCE INCLD SRCB SOURCE INCL SRCC CCDEF INCLD SRCD SOURCE INCLD SRCE SOURCE LOAD LOAD PGM1
58
<comment> is user information appended to the statement. No special character is needed to indicate a comment at the end of a line.
59
LOAD
Identifies load module name and type LOAD <member> <type> <comment>
OBJ
Identifies object member and type for output OBJ <member> <type> <comment>
OUTx
PARM
PARMx
Parameters(options) passed to specific translators; PARMx must be coded on one translator in the language definition PARMx <parameters>
PROM
SINC
Identifies source member and type input. Used primarily in a CC archdef. SINC <member> <type> <comment>
61
62
63
i.e. SCLMTFS.DEVA.LOADC
LOADO LECDEFO
ASMB ASMC ASMX BMS CO3B CO3BI CO3BJ CO3BM CO3BN CO3B2 CO3B2#R CO3B2#RT CO3C CO3C##C CO3C2 CO3F2 CO3II CO3IJ CO3IM CO3IN CO3M CO3M2 CO3P CO3P2 CO3Q CO3Q2 CO3S CO3S##CS CO3S##S CO3S2 CO3S2#CS CO3U##01 CO3U##02 CO3U2#01 CO3U2#02 CO3U2#03 CO3U2#06 SPCU##01 SPCU##02 SPCU##03 CO3X CO3X2 CO3XM PL1B PL1BI PL1B2 PL1II PL1IM EZTB EZTB2 MLOAD MRCB
ENDEVOR TYPE
LOAD LECDEF
LOADA LECDEFA
LOADI LECDEFI
LOADR LECDEFR
LOADSP LECDEFSP
BIND
ASMB ASMC ASMB BMS CO3B CO3B CO3B CO3B2 CO3B2 CO3B2 CO3B2#R CO3B2RT CO3C CO3C CO3C2 CO3B2 CO3B CO3B CO3B2 CO3B2 CO3C CO3C2 CO3B CO3B2 CO3B CO3B2 CO3C CO3C CO3C CO3C2 CO3C2 CO3B CO3B CO3B2 CO3B2 CO3B2 CO3B2 CO3B CO3C CO3C CO3B CO3B2 CO3B2 PL1B PL1B PL1B2 PL1B PL1B2 EZTB EZTB2 N/A MRCB
LEC LEC LEC BMS LEC LECI LECIS LECI LECIS LEC2 LECSR LEC2 LECC LECC LECC2 LECI2 LECI LECIS LECI LECIS LECCM LECCM2 LECSP LECSP2 LECR LECQ2 LECCS LECCCS LECCS LECCS2 LECCCS2 LECR LECR LEC2SP LEC2SP LEC2SP LEC2SP LECSP LECCSP LECCSP LECR LEC2R LEC2R LECP1 LECP2 LECP LECP EZTB EZTB2 LOD MRCB LECC LECC2 LECA2 LECC2 LECCSP LECCCSP LECCCSP LECR LEC2 LEC2 LECIS LECIR LECO LECR2 LECSP LECSP LECSP2 LECSP2 LECSP2 LECSPSP LECSPCSP LECIR LECPI BIND BIND BIND BIND BIND BIND BIND BIND BIND BIND BIND BIND BIND BIND BIND BIND BIND
64
65
Samples of each type of LECDEF, ARCHDEF and BIND can be found in the following datasets (where XXX is BNK, FIN, HRM, TEC, or TFS): SCLMXXX.PRD.ARCHDEF SCLMXXX.PRD.LECDEF SCLMXXX.PRD.LECDEFA SCLMXXX.PRD.LECDEFC SCLMXXX.PRD.LECDEFI SCLMXXX.PRD.LECDEFO SCLMXXX.PRD.LECDEFR SCLMXXX.PRD.LECDEFSP SCLMXXX.PRD.BIND
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCLD XXXXXXXX SOURCE * CREATE OBJECT LOAD XXXXXXXX LOAD * CREATE LOAD MODULE LKED LECMN * LINKAGE EDITOR
Assembler Batch
ASMB
(ARCHDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX LECDEF * LINK-EDIT DEFINITION
66
CO3B
COBOL Batch CO3B (LECDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCLD XXXXXXXX SOURCE * CREATE OBJECT LOAD XXXXXXXX LOAD * CREATE LOAD MODULE LKED LECMN * LINKAGE EDITOR
COBOL Batch
CO3B
(ARCHDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX LECDEF * LINK-EDIT DEFINITION
CO3B2
COBOL Batch/DB2 CO3B2 (LECDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCLD XXXXXXXX SOURCE * CREATE OBJECT LOAD XXXXXXXX LOAD * CREATE LOAD MODULE LKED LECMN * LINKAGE EDITOR COPY DSNELI ARCHDEF * COPY IN DB2 LINK STMTS
COBOL Batch/DB2
CO3B2
(ARCHDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX LECDEF * LINK-EDIT DEFINITION INCLD XXXXXXXX BIND * DB2 BIND STATEMENTS
67
CO3BI
COBOL Batch/IMS CO3BI (LECDEFI)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCLD XXXXXXXX SOURCE * CREATE OBJECT LOAD XXXXXXXX LOADI * CREATE LOAD MODULE LKED LECMN * LINKAGE EDITOR COPY DFSLI000 ARCHDEF * COPY IN IMS LINK STMTS COPY DLITCBL ARCHDEF * COPY IN IMS LINK STMTS
COBOL Batch/IMS
CO3BI
(ARCHDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX LECDEFI * LINK-EDIT DEFINITION
68
CO3BM
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCLD XXXXXXXX SOURCE * CREATE OBJECT LOAD XXXXXXXX LOADI * CREATE LOAD MODULE LKED LECMN * LINKAGE EDITOR COPY DFSLI000 ARCHDEF * COPY IN IMS/DB2 LINK STMTS COPY DLITCBL ARCHDEF * COPY IN IMS/DB2 LINK STMTS
(LECDEFI)
(ARCHDEF)
CO3X
COBOL Batch/CICS CO3X (LECDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCLD XXXXXXXX SOURCE * CREATE OBJECT LOAD XXXXXXXX LOAD * CREATE LOAD MODULE LKED LECMNRNT * LINKAGE EDITOR
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCLD XXXXXXXX SOURCE * CREATE OBJECT LOAD XXXXXXXX LOADC * CREATE LOAD MODULE LKED LECMNRNT * LINKAGE EDITOR
COBOL Batch/CICS
CO3X
(LECDEFC)
COBOL Batch/CICS
CO3X
(ARCHDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX LECDEF * LINK-EDIT DEFINITION INCL XXXXXXXX LECDEFC * LINK-EDIT DEFINITION
69
CO3X2
COBOL Batch/CICS/DB2 CO3X2 (LECDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCLD XXXXXXXX SOURCE * CREATE OBJECT LOAD XXXXXXXX LOAD * CREATE LOAD MODULE LKED LECMNRNT * LINKAGE EDITOR COPY DSNELI ARCHDEF * COPY IN DB2 LINK STMTS
COBOL Batch/CICS/DB2
CO3X2
(LECDEFC)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCLD XXXXXXXX SOURCE * CREATE OBJECT LOAD XXXXXXXX LOADC * CREATE LOAD MODULE LKED LECMNRNT * LINKAGE EDITOR COPY DSNELI ARCHDEF * COPY IN DB2 LINK STMTS
COBOL Batch/CICS/DB2
* NAME: XXXXXXXX * DESC: LINK-EDIT * INCL XXXXXXXX INCL XXXXXXXX INCLD XXXXXXXX CONTROL ARCHDEF FOR XXXXXXXX LECDEF LECDEFC BIND
CO3X2
(ARCHDEF)
70
BMS
CICS MAP BMS (LECDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCLD XXXXXXXX SOURCE * CREATE OBJECT LOAD XXXXXXXX BMSLIB * CREATE LOAD MODULE LKED LEBMS * LINKAGE EDITOR
CICS MAP
BMS
(ARCHDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX LECDEF * LINK-EDIT DEFINITION
MLOD
LOAD ONLY/NON-SCLM LOAD MLOD (LECDEF)
* * LINK EDIT CONTROL ARCHDEF FOR LOAD ONLY MEMBER XXXXXXXX LOAD XXXXXXXX LOAD * LINK EDIT LOAD MODULE LKED LOD * LINK WITH LOAD ONLY LANGUAGE SINC DUMMY SOURCE * INCLUDE DUMMY SOURCE INPUT CMD DSNAME INPUT.DATASET.NAME * INPUT DATASET NAME CMD NAME XXXXXXXX * INPUT MEMBER NAME
MLOD
(ARCHDEF)
* NAME: XXXXXXXX * DESC: INCLUDE LOAD ONLY CONTROL MEMBER FOR XXXXXXXX * INCL XXXXXXXX LECDEF * LINK-EDIT DEFINITION
71
EZTB
Eztrieve Batch EZTB (LECDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCLD XXXXXXXX SOURCE * CREATE OBJECT LOAD XXXXXXXX LOAD * CREATE LOAD MODULE LKED LECMN * LINKAGE EDITOR
Eztrieve Batch
EZTB
(ARCHDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX LECDEF * LINK-EDIT DEFINITION
PL1B
PL1 Batch PL1B (LECDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCLD XXXXXXXX SOURCE * CREATE OBJECT LOAD XXXXXXXX LOAD * CREATE LOAD MODULE LKED LELET * LINKAGE EDITOR
PL1 Batch
PL1B
(ARCHDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX LECDEF * LINK-EDIT DEFINITION
72
CO3U2#06
Common DB2 Batch/CICS/IMSB/IMSO/SP/DSNRLI/DSNALI CO3U2#06 (LECDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCLD XXXXXXXX SOURCE * CREATE OBJECT LOAD XXXXXXXX LOAD * CREATE LOAD MODULE LKED LECMNRNT * LINKAGE EDITOR COPY DSNRLI ARCHDEF
73
74
75
* COMPILATION CONTROL ARCHDEF COBOL II MODULE * MEMBER NAME: XXXXXXXX (LEC) OBJ XXXXXXXX OBJ * CREATE OBJECT SINC XXXXXXXX SOURCE * INCLUDE SOURCE PARM1 DATA(24)
COBOL Batch
CO3B
(LECDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX CCDEF * CREATE OBJECT LOAD XXXXXXXX LOAD * CREATE LOAD MODULE LKED LECMN * LINKAGE EDITOR
COBOL Batch
CO3B
(ARCHDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX LECDEF * LINK-EDIT DEFINITION
Go in CCDEF PARM1 is for Cobol or PL1 parm overrides PARM2 is for DB2 pre-compiler parm overrides PARM3 is for CICS translator parm overrrides PARM4 is for BMS, BMSC, BMSD map csect overrides PARM5 is for BMS, BMSC, BMSD map dsect overrides Go in LECDEFs PARM6 is for linkage editer overrides
76
CO3B2
II MODULE * CREATE OBJECT * CREATE DBRM * INCLUDE SOURCE
(CCDEF)
COBOL Batch
CO3B2
(LECDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX CCDEF * CREATE OBJECT LOAD XXXXXXXX LOAD * CREATE LOAD MODULE LKED LECMN * LINKAGE EDITOR COPY DSNELI ARCHDEF * COPY IN IMS/DB2 LINK STMTS
COBOL Batch
CO3B2
(ARCHDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX LECDEF * LINK-EDIT DEFINITION INCL XXXXXXXX BIND * DB2 BIND PARMS
77
* COMPILATION CONTROL ARCHDEF COBOL II MODULE * MEMBER NAME: XXXXXXXX (LEC) OBJ XXXXXXXX OBJ * CREATE OBJECT SINC XXXXXXXX SOURCE * INCLUDE SOURCE PARM1 DATA(24)
PL1 Batch
PL1B
(LECDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX CCDEF * CREATE OBJECT LOAD XXXXXXXX LOAD * CREATE LOAD MODULE LKED LELET * LINKAGE EDITOR
PL1 Batch
PL1B
(ARCHDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX LECDEF * LINK-EDIT DEFINITION
78
PL1B2
II MODULE * CREATE OBJECT * CREATE DBRM * INCLUDE SOURCE
(CCDEF)
PL1 Batch
PL1B2
(LECDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX CCDEF * CREATE OBJECT LOAD XXXXXXXX LOAD * CREATE LOAD MODULE LKED LELET * LINKAGE EDITOR COPY DSNELI ARCHDEF * COPY IN IMS/DB2 LINK STMTS
PL1 Batch
PL1B2
(ARCHDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX LECDEF * LINK-EDIT DEFINITION INCL XXXXXXXX BIND * DB2 BIND PARMS
79
* COMPILATION CONTROL ARCHDEF COBOL II MODULE * MEMBER NAME: XXXXXXXX (LEC) OBJ XXXXXXXX OBJ2 * CREATE OBJECT SINC XXXXXXXX SOURCE2 * INCLUDE SOURCE
COBOL Batch
CO3B
(LECDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCLD XXXXXXXX SOURCE * CREATE OBJECT LOAD XXXXXXXX LOAD * CREATE LOAD MODULE LKED LECMN * LINKAGE EDITOR
COBOL Batch
CO3C
(LECDEFC)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX CCDEF * CREATE OBJECT LOAD XXXXXXXX LOADC * CREATE LOAD MODULE LKED LECMNRNT * LINKAGE EDITOR COPY DFHECI ARCHDEF
COBOL Batch
CO3B
(ARCHDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX LECDEF * LINK-EDIT DEFINITION INCL XXXXXXXX LECDEFC * LINK-EDIT DEFINITION
80
81
CO3B2
COBOL Batch/DB2 CO3B2 (LECDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCLD XXXXXXXX SOURCE * CREATE OBJECT LOAD XXXXXXXX LOAD * CREATE LOAD MODULE LKED LECMN * LINKAGE EDITOR COPY DB2LINK LECDEF * COPY IN DB2 LINK STMTS
COBOL Batch/DB2
CO3B2
(ARCHDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX LECDEF * LINK-EDIT DEFINITION INCLD XXXXXXXX BIND * DB2 BIND STATEMENTS
82
PL1B2
PL1 Batch/DB2 PL1B2 (LECDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCLD XXXXXXXX SOURCE * CREATE OBJECT LOAD XXXXXXXX LOAD * CREATE LOAD MODULE LKED LELET * LINKAGE EDITOR COPY PLISTART LECDEF * COPY IN DB2 LINK STMTS
PL1 Batch/DB2
PL1B2
(ARCHDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX LECDEF * LINK-EDIT DEFINITION INCLD XXXXXXXX BIND * DB2 BIND STATEMENTS
EZTB2
EZTRIEVE Batch/DB2 EZTB2 (LECDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL (LEC) ARCHDEF FOR XXXXXXXX * INCLD XXXXXXXX SOURCE * CREATE OBJECT LOAD XXXXXXXX LOAD * CREATE LOAD MODULE LKED LEEZT * LINKAGE EDITOR
EZTRIEVE Batch/DB2
EZTB2
(ARCHDEF)
* NAME: XXXXXXXX * DESC: LINK-EDIT CONTROL ARCHDEF FOR XXXXXXXX * INCL XXXXXXXX LECDEF * LINK-EDIT DEFINITION INCLD XXXXXXXX BIND * DB2 BIND STATEMENTS
83
10. Copy member (BIND) this will provide a sample of the bind member to edit. Change the XXXXXXXX to IBM01. Change CCC to collection id. Change PPP to the Endevor systems. Change SSS to the Endevor Subsystem. 11. Press End to return to the SCLM Language Selection panel. 12. Do one of the following: a. Enter a Language (BIND) on the SCLM Edit Profile panel and press Enter. b. Leave Language blank and press Enter. A selection panel will appear. Select BIND as the language and press Enter. 13. Create the LECDEF member. Select Option 2 from the SCLM main menu for the SCLM Edit panel. 14. Specify Type (example: LECDEF) and Member (IBM01) being added. 15. Press Enter on the SCLM Edit panel. 16. Copy in the appropriate sample LECDEF from the SCLM Sample Archdef Table. Change the XXXXXXXX to IBM01.
84
17. Press End to return to the SCLM Language Selection panel. 18. Do one of the following: a. Enter a Language (ARCHDEF) on the SCLM Edit Profile panel and press Enter. b. Leave Language blank and press Enter. A selection panel will appear. Select ARCHDEF as the language and press Enter. Note: Steps 13 18 might need to be executed several times depending on how many Lecdef types you have. Refer to the SCLM Sample Archdefs Table.
19. Create the ARCHDEF member. Select Option 2 from the SCLM main menu for the SCLM Edit panel. 20. Specify Type (ARCHDEF) and Member (IBM01) being added. 21. Press Enter on the SCLM Edit panel. 22. Copy in the appropriate sample ARCHDEF from the SCLM Sample Archdef table. Change the XXXXXXXX to IBM01. 23. Press End to return to the SCLM Language Selection panel. 24. Do one of the following: a. Enter a Language (ARCHDEF) on the SCLM Edit Profile panel and press Enter. b. Leave Language blank and press Enter. A selection panel will appear. Select ARCHDEF as the language and press Enter. 25. Build the DB2 Archdef member (IBM01) using SCLM. (For complete instructions see SCLM Build.) 26. Promote the DB2 Archdef member (IBM01) from the DEVA group to HOLDA. (For complete instructions see SCLM Promote Conditional Mode.) 27. Create a Package (Set the package switch to Y on the SCLM main menu) add the DB2 archdef member to the package. (For instructions see Steps to Creating a New Package.)
85
28. Build the package in the HOLDA group (Set the package switch to Y on the SCLM main menu) using SCLM. (For complete instructions see Package Build Process.) 29. To promote the package from the HOLDA group to the Freeze group. (Set the package switch to Y on the SCLM main menu.) To start the SCLM Breeze approval promotion process use SCLM option 5. This will send out the approval to the user groups. (For complete instructions see Package Promote Approval Process.) 30. Once the package has been approved the programmer can: Use SCLM option 5 to promote the package to the SCLM Freeze group. Or wait for the SCLM Batch Promote Job to run to promote the package to the next group. (For complete instructions see Package Promote Process.) 31. When ready to promote the package to the PRD group, the programmer should set the package switch on the SCLM main menu to Y. To start the SCLM Breeze approval promotion process use SCLM option 5. This will send out the approval to the user groups. (For complete instructions see Package Promote Approval Process.) 32. Once the package has been approved the programmer can use SCLM option 5 to promote the package to the SCLM PRD group or the programmer can wait for the SCLM Batch Promote Job to run to promote the package to the next group.) (For complete instructions see Package Promote Process.) Notes: 1. If the only member within SCLM that needs to be changed is the source DB2 program, the programmer does not need to edit the BIND member, the LECDEF member, or the ARCHDEF member. SCLM automatically pulls the correct member from the SCLM hierarchy. If the BIND member is in production, SCLM uses the member in production to create the DB2 bind control cards. Then SCLM binds the package in the correct DB2 subsystem. During the promote to the Freeze group you can have SCLM recompile the programs within the package. By placing a 2 in the 4th position of the package name and SCLM will recompile the package contents when promoted to the FREEZE group. If you would like Xpediter to be used during the build or promote process within SCLM set the Xpediter switch on the SCLM main menu to Y.
2.
3.
86
Select Option 2 from the SCLM main menu for the SCLM Edit panel. Specify BIND in the Type. Press Enter. A list of members will appear. Select the member you want to edit. Press Enter to invoke the Edit panel. Make changes to save the member to the lowest level of the hierarchy. (For complete instructions see Adding/Updating a Member in SCLM.) Press End to return to SCLM Main Edit panel. Edit the LECDEF member. Note: If the LECDEF member does not need to be modified skip to step 22.
Select Option 2 from the SCLM main menu for the SCLM Edit panel. Specify LECDEF in the Type. Press Enter. A list of members will appear. Select the member you want to edit. Press Enter to invoke the Edit panel. Make changes to save the member to the lowest level of the hierarchy. (For complete instructions see Adding/Updating a Member in SCLM.)
87
21.
Press End to return to SCLM Main Edit panel. Note: Steps 15 21 might need to be executed several times depending on how many Lecdef types you have. Refer to the SCLM Sample Archdefs Table. If the ARCHDEF member does not need to be modified skip to step 29.
22.
Select Option 2 from the SCLM main menu for the SCLM Edit panel. Specify ARCHDEF in the Type. Press Enter. A list of members appears. Select the member you want to edit. Press Enter to invoke the Edit panel. Make changes to save the member to the lowest level of the hierarchy. (For complete instructions see Adding/Updating a Member in SCLM.) Press End to return to SCLM Main Edit panel. Build the DB2 Archdef member using SCLM. (For complete instructions see Package Build Process.) Either: Create a Package (Set the package switch to Y on the SCLM main menu) and add the DB2 archdef member to the package. (For instructions see Steps to Create a New Package.) Or Edit the existing package if needed. (For instructions see Steps to Edit an Existing Package in SCLM.)
31.
Build the package in the HOLDA group (Set the package switch to Y on the SCLM main menu) using SCLM. (For complete instructions see Package Build Process.) To promote the package from the HOLDA group to the Freeze group (Set the package switch to Y on the SCLM main menu.) To start the SCLM Breeze approval promotion process use SCLM option 5. This will send out the approval to the user groups. (For complete instructions see Package Promote Approval Process.) Once the package has been approved the programmer can use SCLM option 5 to promote the package to the SCLM Freeze group or the programmer can wait for the SCLM Batch Promote Job to run to promote the package to the next group. (For complete instructions see Package Promote Process.)
32.
33.
88
34.
When the programmer is ready to promote the package to the PRD group. The programmer should set the package switch on the SCLM main menu to Y. To start the SCLM Breeze approval promotion process use SCLM option 5. This will send out the approval to the user groups. (For complete instructions see Package Promote Approval Process.) Once the package has been approved the programmer can use SCLM option 5 to promote the package to the SCLM PRD group or the programmer can wait for the SCLM Batch Promote Job to run to promote the package to the next group. (For complete instructions see Package Promote Process.)
35.
Notes: 1. If the only member within SCLM that needs to be changed is the source DB2 program, the programmer does not need to edit the BIND member, the LECDEF member, or the ARCHDEF member. SCLM automatically pulls the correct member from the SCLM hiearchy. If the BIND member is in production, SCLM uses the member in production to create the DB2 bind control cards. Then SCLM binds the package in the correct DB2 subsystem. 2. During the promote to the Freeze group you can have SCLM recompile the programs within the package. By placing a 2 in the 4th position of the package name and SCLM will recompile the package contents when promoted to the FREEZE group. 3. If you would like Xpediter to be used during the build or promote process within SCLM set the Xpediter switch on the SCLM main menu to Y.
89
Menu Utilities Help ----------------------------------------------------------------------------SCLM Utilities Menu Option ===> 1 2 3 4 5 6 7 8 9 Library Sublib Mgmt Migration Database Contents Architecture Report Export Import Audit and Version Delete Group View, browse, edit, delete, build or promote SCLM controlled members and update member authorization codes Browse or delete intermediate records and forms Register the contents of a library with SCLM Create reports and tailored data sets against SCLM database Create architecture report Extract SCLM accounting information Incorporate exported data into the hierarchy Display Audit and Version members Delete members, accounting records, build maps, intermediate code and records from a group View, delete and restore backed-up packages Approval Functions Productivity tools
90
(Blank or pattern for member selection list) . . TA (T=TEXT, A=ACCT, M=BMAP) 1. Execute 2. Submit 3. View options
Enter "/" to select option / Hierarchy view / Confirm delete / View processing options for Edit
Process . . 3
Browse members, accounting records, build maps Delete members, accounting records, build maps Update authorization codes Like ISPF option 3.1 View from one group or hierarchy Member selection list processing Omit M from TAM on Select and rank member list data to view languages
91
Menu SCLM Functions Utilities Help -----------------------------------------------------------------------------Member List : SCLMBNK.DEVA.SOURCE - HIERARCHY VIEW Member 1 of 11 Command ===> Scroll ===> PAGE A=Account V=View M=Map C=Build B=Browse P=Promote D=Delete U=Update E=Edit
Member Status Text IBMP00 PRD A IBMP01 PRD IBMP02 PRD IBMP03 DEVA IBMP04 PROD IBMP05 DEVA IBMP06 PRD IBMP07 DEVA IBMP08 PRD *******************************Bottom
Chg Date Chg Time Account Language 98/11/10 11:54:00 PRD CO3B 98/01/29 08:50:00 PRD CO3B 99/01/29 11:06:00 PRD CO3B 99/12/23 10:41:00 DEVA CO3B 98/12/23 14:27:00 PRD CO3B 98/11/09 14:17:00 DEVA CO3B 98/11/10 12:32:00 PRD CO3B 98/11/19 11:52:00 DEVA CO3B 98/11/06 16:26:00 PRD CO3B of Data *****************************
SCLMBNK.PROD.SOURCE(IBMP01): Accounting Record Command ===> Physical Data Set Accounting Status Change User ID . Member Version . Language . . . . Creation Date . . Creation Time . . Promote User ID . Promote Date . . Promote Time . . Predecessor Date Predecessor Time . . . . . . . . . . . . : : : : : : : : : : : : SCLMBNK.PRD.SOURCE EDITABLE Change Group . . . QAG096 Authorization Code 10 Auth. Code Change CO3B Translator Version 98/04/07 Change Date . . . 13:50:48 Change Time . . . RBSTC Access Key . . . . 99/01/29 Build Map Name . . 08:52:56 Build Map Type . . 99/01/28 Build Map Date . . 07:35:01 Build Map Time . . . . . . . . . . . . . : : : : : : : : : : : DEVA P 99/01/29 08:50:00
99/01/29 08:50:00
Enter "/" to select option Display Statistics Number of Change Codes Number of Includes Number of Compilation Units Number of User Entries
: : : :
1 5 0 0
92
Member information: Authorization code . . Change code . . . . . . Language . . . . . . . CO3B Output control: Ex Sub Messages . . 1 2 1. Terminal Listings . . 1 2 2. Printer 3. Data set 4. None
Identify new members to SCLM Create accounting records for new members Use for large number of new members Parse members for dependencies and statistics For only one member, EDIT and SAVE are equivalent Omit language to use the language value from higher accounting record
93
Retrieve information from SCLM Generate report from the data Search based on selection criteria Can use SCLM variables to create a tailored report @@FLMMBR @@FLMTYP @@FLMLAN @@FLMCDT @@FLMCTM @@FLM$IN @@FLM$CC @@FLMTLL Member Name Type Language Change Date Change Time Copybooks Change Code Total line in member
94
95
**************************************************************************** PAGE 2 DATABASE CONTENTS REPORT ******************************* TYPE: ARCHDEF MEMBER ------IBM02 GROUP 1 ------DEVA GROUP 2 ------GROUP 3 -------************************** GROUP 5 ------GROUP 6 -------
GROUP 4 -------
******************************* TYPE: PACKAGE IBM002 DEVA ******************************* TYPE: SOURCE IBM02 DEVA
************************** **************************
96
Non-SCLM controlled retrieve and compare output data sets: Retrieve/New . . 'RF30.TEST.SOURCE' Retrieve/Old . . Listing . . . . SCLM retrieve group and type: To Group . . . To Type . . . Authorization code . . (Defaults to auth code from audited member)
View audit information Recover an old version of: source, copybook, etc. Retrieve to a sequential dataset or back into an SCLM PDS Delete Version Audit information Compare 2 prior version of a member View a member View history of a member Number of versions kept (20) controlled by project definition See page 16 for a list of types and groups that have versions
97
Line Commands:
This panel shows all the audit information for a particular member within SCLM. You can select to display the audit information (A), retrieve a prior version of a member (R), compare 2 members (C), delete a audit and version member (D), view the history changes for a member (H), or view a particular version member (V).
98
99
(Pattern may be used) (Pattern may be used) Build map Account Text Output Terminal Printer Data set None Delete Mode . . 1 1. Execute 2. Report
Delete Flag . . 3
Output control: Ex Messages . . 1 Report . . . 1 Listings . . 1 Sub 2 2 2 Process . . . . 1 1. 2. 3. 4. Printer . . . . * Volume . . . . 1. Execute 2. Submit
Delete multiple components from an SCLM group. Determined by ACF2 authority. Pattern may not be used for member Can not use Delete Group screen in FREEZE or PRD groups. Always use report mode for a dry run before actually deleting. Delete Flag: 1. Build Map Deletes only the build map for a member. 2. Account Deletes both the account record and the build map for a member. 3. Text Deletes the member from SCLM PDS, Build Map, and Account record. 4. Output Deletes only the output created from an SCLM member.
100
DELGROUP.MSG
FLM32504 - INVOKING DELETE GROUP UTILITY FLM85000 - DELETE GROUP UTILITY INITIATED - 11:02:32 ON 2001/08/31. FLM85107 - 4 ACCOUNTING RECORDS WERE DELETED. FLM85109 - 2 BUILD MAP RECORDS WERE DELETED. FLM85110 - 0 INTERMEDIATE RECORDS WERE DELETED. *************************************************************************
*********************************************************************** ** SOFTWARE CONFIGURATION AND LIBRARY MANAGER (SCLM) ** DELETE GROUP REPORT ** 2001/08/31 11:02:33 ** ** PROJECT: SCLM ** ALTERNATE: SCLM ** GROUP: HOLDA ** TYPE: * ** MEMBER: IBM* ** FLAG: TEXT ** MODE: EXECUTE ** ************************************************************************* MEMBERS: PAGE: 1 VERIFY COMPLETION GROUP TYPE MEMBER STATUS STATUS --------------------------------------HOLDA ARCHDEF IBM01 PASSED PASSED *HOLDA LINKLIB IBM01 PASSED PASSED *HOLDA OBJ IBM01 PASSED PASSED HOLDA SOURCE IBM01 PASSED PASSED BUILD MAPS: PAGE: 2 VERIFY COMPLETION GROUP TYPE MEMBER STATUS STATUS --------------------------------------HOLDA ARCHDEF IBM01 PASSED PASSED HOLDA SOURCE IBM01 PASSED PASSED ADA INTERMEDIATE CODE: PAGE: 3 VERIFY COMPLETION GROUP CU QUAL CU NAME CU TYPE STATUS STATUS -------- -------- ---------------------------- ------- ------ ------------********************* NO RECORDS PROCESSED ************************************ FLM85299 - DELETE GROUP UTILITY COMPLETED - 11:02:33 ON 2001/08/31. FLM09008 - RETURN CODE = 0
101
SCLM Productivity Tools Search for copybooks in programs Search for subroutines in archdefs
102
Searches up hierarchy from specified group, or just that group. Returns list of all source that reference a given copybook. Can create High Level archdef which will include all members referenced by the copybook. This archdef can be used to re-build and promote all members related to the copybook change. Works in foreground or background.
3213.955040
103
Search in source code archdefs for a specific subroutine Optionally create an HL archdef referencing all source code archdefs containing that subroutine
104
Report on package contents Display a cross reference list of users, packages and approver groups Clear or Reset the status of a package and Delete (purge) packages Display packages for your approval Approve or Veto a package
The Breeze Approval Functions main menu is used for selecting options for maintenance, reporting, and voting on package approval.
105
Approver Maintenance Command ===> Perform Process = A (Add) U (Update) D (Delete) L (List) R (Report)
Approver's User ID = RF30 Name = Phone = ( Email address 1 = Email address 2 = Email address 3 = TSOSend = Y
Y/N
Default 'Y'
The Breeze Approver Maintenance panel is used by the SCLM Administrators to add, update, and delete, the userid information for an approver. All users can perform a list or report on the information for one or more approvers. For a list, fill in the user' TSO ID, enter L in the action field and press s Enter. The fields on the screen will be filled in. For a report, fill in the user' TSO ID, enter R in the action field and press s Enter. (To report all user IDs, enter * in the userid field). The report will be displayed. For an update, perform a list first. Then change the fields you want, enter U in the action field and press Enter. A log file will be displayed indicating the results of the update. For an add, fill in the user' TSO ID, name, phone number, etc. as needed, s enter A in the action field and press Enter. A log file will be displayed indicting the results of the add. For a delete, fill in the user' TSO ID and press Enter. A log file will be s displayed indicting the results of the delete.
106
Approver Group Maintenance Command ===> Perform Process = Approver Group Quorum A (Add) = = 1 U (Update) D (Delete) L (List) R (Report)
Default = 1
The Approver Group Maintenance panel will display the approver groups as stored in the Breeze database. This panel will allow an administrator to add an approver group with an associated quorum (total number of users needed to vote on a package). Fill in the approver group, quorum number (maximum 99), enter A in the action field, and press Enter. A log file will be displayed indicating the results of the add. This panel can also be used to List and Update the quorum for an existing approver group and to delete and report on an approver group. To List a quorum, enter an approver group and L in the action field. When you press Enter the quorum will be displayed. To update a quorum, perform a List first to retrieve the quorum. Change the quorum as needed, enter U in the action field and press Enter. A log file will display the results of the add. To report on an approver group, enter the approver group and R in the action field. When you press Enter the report will be displayed. To report on all approver groups, enter * in the approver group field and R in the action field.
107
Approver Group Approver Maintenance Command ===> Perform Process = Approver Group Approver Required Approve Only Once Notify Only = = = = = A (Add) RF30 N N N U (Update) D (Delete) L (List) R(Report)
The Approver Group Approver Maintenance panel will allow an administrator to add, update, and delete approvers for an existing approver group. Anyone can also List or Report on the information for an approver group. For an add, enter all needed information on the screen, enter A in the action field, and press Enter. A log file will display the results of the add. For a list, enter an approver group and an approver. After pressing Enter, the screen will be filled in for a list. For a report, enter a approver group and approver. Enter * in either field to report all records. For a report, the report will be displayed after pressing Enter. For an update perform a List first. Then change the fields as needed, enter U in the action field and press Enter. A log file will be displayed indicating the results of the update. For a delete, enter the approver group and approver, D in the action field, and press Enter. A log file will be displayed with the results of the update.
108
Inventory Junction Record Maintenance Command ===> Perform Process = Approver Group Member Project Alt Project Group Type Language = = = = = = = A (Add) D (Delete) R(Report)
The Inventory Junction Record Maintenance panel will allow an administrator to manually add, delete, or report inventory junction records. These records tie an approver group to an inventory (SCLM) member. After filling in a process (A, D, or R), the Approver Group, Member and the other fields if the default values need to be changed, press Enter. A log file will be displayed indicating the results of the add or delete. If a report was requested the report will be displayed. For a report only the approver group is used as input. Except for the approver group and member, the input fields have default values, but can be changed. You can specify wildcards (*) for all fields, except that approver group must be specified for an add. You can specify * on its own or you can specify a partial value followed by * (for example, DEV* to match all development groups). Caution: When using wildcards with the delete function be careful not to delete more records than you want.
109
Inventory Watch Record Maintenance Command ===> Perform Process = Approver Group Member Project Alt Project Group Type Language A (Add) D (Delete) U (Update) R(Report) (Update: change the Approver Group of an existing record)
= = = = = = =
The Inventory Watch Record Maintenance panel will allow an administrator to manually add, delete, update or report inventory watch records. These records tie an approver group to a inventory (SCLM) member for "watching". After filling in the process (A, D, U, or R), the Approver Group, Member and the other fields, if the default values need to be changed, press ENTER. A log file will be displayed indicating the results of the add, delete, or update. If a report was requested, the report will be displayed. For a report only use the member as input. Except for the approver group and member, the input fields have default values, but can be changed. You can specify wildcards (*) for all fields, except that approver group must be specified for an add. You can specify * on its own or you can specify a partial value followed by * (for example, DEV* to match all development groups). Caution: When using wildcards with the delete function be careful not to delete more records than you want.
110
The following can be entered or left blank to default to all... Status Approver Project Group Options = = = SCLMBNK = = ALL Approved,Pending,Vetoed,Promoted,Updated
Contents,Status,Notes,Votes,Log,All
The Package Report panel will allow anyone to view the file information for a Breeze Package ID. After filling in the Package ID, and if desired a specific Status, Approver, or Option. Press Enter to get a display of the report file (dataset name referenced at the bottom of this panel) created by the reporting process which was just executed. After reviewing the report file, press PF3 to return to the report panel where you can enter another Package ID or press PF3 to return to the previous menu.
111
Cross Reference Report Option ===> The following can be entered or left blank to default to all... User ID = RF30 Package ID =
The Cross Reference Report panel will allow anyone to view a cross reference list of approver user ids, package ids, and approver groups. After optionally filling in the User ID and Package ID (leaving a field blank defaults to all), press Enter and get a display of the report file (dataset name referenced at the bottom of this panel) created by the reporting process which was just executed. After reviewing the report file, press PF3 to return to the panel where you can enter the next User ID and/or Package ID, or press PF3 to return to the previous menu.
112
Package Status Command ===> Perform Process = Package ID Project Alt Project Group Type = = = = = C (Clear) P (Purge) R (Reset)
Clear : Removes all approval and collision data for a package and clears the package status. Used to either restart the approval process for a package or allow it to be overlaid during a promote. Reset : Restores a package status to its previous value of either pending or approved. Can be used to change a package status from "INCOMPLETE" to "APPROVED" following a promote failure. Purge : Removes all information associated with a package from the Breeze database
Three actions can be performed on a package by an administrator: Clear: Removes all approval and collision data for a package and clears the package status. Used to either restart the approval process for a package or allow it to be overlaid during a promote. Reset: Restores a package status to its previous value of either pending or approved. Can be used to change a package status from "Incomplete" to "Approved" following a promote failure. Purge: Removes all information associated with a package from the Breeze database. After filling in the Process (C, P, or R), Package ID and optionally the Project, Alt Project and Group, press Enter. A log file will be displayed indicating the result of the process.
113
Package Approval Command ===> Line Commands : V - Vote Package -------Project -------Alternat -------Group -------To Group -------Type -------Decision -------SCROLL ===> PAGE
The Package Approval panel presents a list of packages requiring your approval. Enter V in the action area to select a package to vote on. Press Enter to be transferred to the package voting utility where the fields will be filled in based upon the entries of the package in the list that you selected. Press PF3 to return to the previous menu.
114
Package Voting Utility Option ===> Package ID = Project Alt Project Group Type Perform Note 1 Note 2 Note 3 Note 4 Note 5 = = = = SCLMBNK SCLMBNK UAT PACKAGE A (Approve) V (Veto)
Vote = = = = = =
The Package Voting Utility panel will allow authorized approver user ids to cast a ballot associated with a Breeze package ID. After filling in the Package ID and Vote option (a veto requires notes to be entered), press ENTER to get a display of the log file created by the voting process which was just executed. After reviewing the log file, press PF3 to return to the cast ballot panel where you can enter the next package ID or press PF3 to return to the previous menu.
115
Topic 9. Viewing and Voting on Packages Using the Breeze Web Interface
An email will be sent to all potential Approvers of a package. The email contains a link to the Web page that displays the Breeze interface. To start using the Breeze Web interface, you can either click on the link in the e-mail, or ask your Breeze Administrator for the Web address (URL) of the interface, and enter the address in your Web browser. The Web address of the Breeze Web interface has the following format: http://IBM3.NTRS.com:2002/brsclm.html This Web page downloads a Java applet that displays inside your Web browser window. When the Breeze Web interface has loaded, it displays a login prompt:
To login, type your host TSO user ID and password, then click on OK.
116
117
Emergency Packages Displays only the emergency packages that require your approval. Standard Packages Displays only the standard packages that require your approval. Packages by status Displays all packages, regardless of their status or approvers. Pending Displays packages that require approval, and for which voting is still in progress. Vetoed Displays packages that have been voted on and vetoed. Approved Displays packages that have been voted on and approved. Promoted Displays packages that have been successfully promoted. Promotion failed Displays packages that were approved but, for some reason (such as a problem in SCLM), have not been promoted.
When the list displays the package you want, select the package by clicking on the list.
118
To vote on a package for which you are an Approver, you must select the package from the list displayed when you click on Requiring my approval or one of its sub-items. This activates the Approve and Veto buttons, allowing you to cast a vote. If you select the same package from the Packages by status list, then these buttons remain disabled.
Filtering Packages from the List
You can limit the list to display packages that meet certain criteria: Criteria
Package ID Promotion Window Build User ID Promote User ID Promote Date Last Update User ID Last Update Date
Value
1 to 16 character SCLM package ID The timeframe in which the package can be promoted User ID of the person who built the package User ID of the person who promoted the package Date package was promoted User ID of the person who made the last update to the package Date the package was last updated
Voting on a Package
You can vote on a package if all of these conditions are true: You are an Approver for the package. Before you can be an approver, your Breeze Administrator must define the necessary Breeze records on the host. For information about defining these records, see the Breeze Planning and Administration Guide. The package is still in pending status. That is, when you click Requiring my approval in the in-box, the package appears in the package list. You have not already voted on the package. You have selected Requiring my approval (or one of its sub-items, Standard Packages or Emergency Packages) in the in-box.
119
To vote on a package: 1. Click on the package in the list that you want to vote on. 2. To cast a vote for approval, click the Approve button. To cast a vote against approval, click the Veto button. (If any of the conditions listed above are not true, then these buttons are disabled, and you will not be able to cast a vote.) 3. A voting dialog appears, similar to the one shown below (depending on whether you clicked on Approve or Veto).
This is the first in a sequence of voting dialogs. Each of these panels has a Prior button and a Cancel button. To step back through the sequence, click on Prior. To return to the main panel without voting, click on Cancel. (On the first dialog in the sequence, shown above, both Prior and Cancel return you to the main panel without voting.) To leave a note explaining your vote to other users, select Add Notes to the Package. To proceed, click Next. 4. If you chose not to add notes, go to the next step. If you chose to add notes, then a dialog is displayed with a text box where you can enter your notes. You can enter up to 480 characters. To insert a line break in your notes, press Enter. When you have finished entering your notes, click on Next to proceed.
120
5. The final voting dialog is displayed. To cast you vote, click on Submit.
Here is how a package in pending status reaches either approved status or vetoed status: Approved status Every approver group for the package approves the package. That is, in every approver group: Every required approver has voted (either for or against; a package can be approved even if one or more required approvers vote against it). The number of votes is equal to or greater than the quorum (minimum number of votes required for the approver group). There are a majority of for votes. The package can now be promoted.
121
Vetoed status One approver group for the package vetoes the package. That is, in one of the approver groups: Every required approver has voted (either for or against; a package can be vetoed even if one or more required approvers vote for it). The number of votes is equal to or greater than the quorum (minimum number of votes required for the approver group). There are at least as many against votes as for votes. If one approver group vetoes a package, then Breeze immediately sets the package to vetoed status, even if required approvers in other approver groups have not yet voted. It is easier for a package to be vetoed than approved: an equal number of for and against votes in one approver group is enough to veto a package For example, if there are five approver groups for a package, and four of the approver groups approve the package, but in the fifth approver group, there is an equal number of for and against votes, then the package is vetoed.
122
To view detailed information about a package: 1. Select the package you want from the package list. 2. Click one of the tabs in the information area of the main panel. These tabs are described under the headings that follow.
Summary
The Summary tab displays various information about the selected package.
123
Description
If a developer used the SCLM promote function in foreground to request promotion for this package, then this is the description that the developer entered on the Breeze pop-up window. Otherwise, if the developer used the SCLM promote service in a batch job, then this is the default description supplied by Breeze. Package type: standard or emergency. Current package status. User ID, time and date of the most recent invocation of the Breeze promote verify user exit for this package. (That is, who last used the SCLM promote function for this package, and when they used it.) User ID, time and date of the most recent successful promotion of this package (as recorded by the Breeze promote purge user exit). If the package reaches approved status between these two dates, then the package can be promoted. Otherwise, the package cannot be promoted, even if it is approved. Package member details. The to group is the SCLM project group to which the package will be promoted. Indicates whether or not the current package is in collision with any other packages.
124
Contents
The Contents tab lists the names and inventory locations of the members in the selected package. The tab lists each member at its source inventory location (the SCLM project group where the member is to be promoted from) and also at its target inventory location (the SCLM project group where the member will be promoted to).
To view more detailed information about a member, click the entry for the member in the Contents tab. A dialog displays with the following choices, each of which opens a new browser window displaying the selected information: Browse: Changes: Audit: Displays the contents of the member. Displays a line-by-line comparison of the new (source) and old (target) members. Displays audit information for the member.
125
Log
For each action, the log displays the date and time, the return code, and the user ID that performed the action. If a package has previously been promoted, then the package inherits the existing log, and the log accumulates as the package is promoted up the hierarchy.
126
Collisions
The Collisions tab contains detailed collision information about the current package, including which members are causing the collision. The collision may be current or historic, depending on the status and location of the package.
127
Ballot Box
The Ballot Box tab shows the details of the current voting status: Which approver groups are responsible for voting on the selected package. Which approvers are in each approver group. Who has voted. How and when those approvers voted. Whether or not a quorum has been reached.
128
Notes
The Notes tab displays any notes that have been added by Approvers who have voted on the package.
129
END OF DOCUMENT
130