“A Mainframe Evolution” - CBL · Dynamic SQL for DB /2 ... Improving edit capabilities while...
Transcript of “A Mainframe Evolution” - CBL · Dynamic SQL for DB /2 ... Improving edit capabilities while...
“A Mainframe Evolution”
David Austin Technical Liaison Manager Compute (Bridgend) Ltd
Compute (Bridgend) Ltd 8 Merthyr Mawr Road BRIDGEND, CF31 3NH
+44 1656 65222 www.cbl.com
with CBLiCBLi
28 February, 2008
Compute (Bridgend) Ltd
�� SELCOPY is a Cross platform batch toolSELCOPY is a Cross platform batch tool. .
��MainframeMainframe, , UNIXUNIX, , Windows and iSeriesWindows and iSeries..
�� Read dataRead data, , manipulate itmanipulate it, , write outwrite out..
�� Extensive syntax can be as simple or complex Extensive syntax can be as simple or complex
as requiredas required. .
�� No compilation but very fastNo compilation but very fast..
�� Programs written in minutes instead of daysPrograms written in minutes instead of days..
�� CBLi is inCBLi is incclluded as an enhancement to our uded as an enhancement to our
mainframe SELCOPY productmainframe SELCOPY product..
SELCOPYSELCOPY//CBLi CBLi -- Introduction Introduction
SELCOPYSELCOPY//CBLi CBLi -- IntroductionIntroduction
�� Mainframe SELCOPY is now no longer just Mainframe SELCOPY is now no longer just
a batch utilitya batch utility..
�� It has evolved into a new interactive It has evolved into a new interactive
environmentenvironment, , SELCOPYSELCOPY//CBLiCBLi..
�� SELCOPYSELCOPY//CBLi is unique in the world of CBLi is unique in the world of
softwaresoftware..
�� Windows style desktop on a mainframe Windows style desktop on a mainframe
32703270..
Compute (Bridgend) Ltd
�� SELCOPY interactive debugSELCOPY interactive debug..
�� Dynamic SQL for DBDynamic SQL for DB//22
�� CBLi designed to increase individual productivityCBLi designed to increase individual productivity.. �� Improving edit capabilities while maintaining familiar Improving edit capabilities while maintaining familiar ISPF feelISPF feel..
�� Integrating system navigation toolsIntegrating system navigation tools..
�� Maximizing intuitive point and shoot capabilitiesMaximizing intuitive point and shoot capabilities..
�� Drop down lists just like on a PCDrop down lists just like on a PC..
�� Easily drill down through file systemsEasily drill down through file systems..
�� Virtually unlimited edit sessionsVirtually unlimited edit sessions..
�� CutCut//Paste between edit sessionsPaste between edit sessions..
�� Multiple undoMultiple undo//redo per edit sessionredo per edit session..
SELCOPYSELCOPY//CBLi CBLi –– Features Features
All windows can be: minimized, maximized and resized as required.
Compute (Bridgend) Ltd
�� Commonly used commands are stored in a Commonly used commands are stored in a home file called the Command Centrehome file called the Command Centre..
�� Executed by pressing PFExecuted by pressing PF44 on any on any commandcommand..
�� Commands can be executed immediately Commands can be executed immediately or prompted for modification prior to or prompted for modification prior to executeexecute. .
�� Issue commands directly to TSOIssue commands directly to TSO, , ISPFISPF..
SELCOPYSELCOPY//CBLi CBLi -- Command Command CentreCentre
Compute (Bridgend) Ltd
�� Span across multiple lines for long Span across multiple lines for long
commandscommands, , or for combining several or for combining several
commands in a single executioncommands in a single execution..
�� System symbolsSystem symbols, , user defined symbols user defined symbols
and CBLi standard variables can be and CBLi standard variables can be
embedded in any commandembedded in any command..
SELCOPYSELCOPY//CBLi CBLi -- Command Command CentreCentre
Variables can be used to tailor tasks
Common Operator Commands Common System Configuration
TCPIP Configuration
Grouping of commonly used commands helps Operators, Systems Programmers and Developers be more productive.
Command Centre File
Commands Imbedded In JCL.
Drop down Menus
List Window
PF4 immediate exec
Prompt before exec
JCL Colours
System Info
Lists can be Sorted by clicking on column headings
Utilities Menu
Compute (Bridgend) Ltd
�� Integrated File Editor Integrated File Editor ((CBLeCBLe)) �� Virtually unlimited edit sessionsVirtually unlimited edit sessions..
�� ISPF and XEDIT modesISPF and XEDIT modes..
�� Compatible with Windows Style Multiple Document Compatible with Windows Style Multiple Document Interface Interface ((MDIMDI).).
�� LineLine//Block copyBlock copy//cutcut//paste between all windowspaste between all windows..
�� Multiple UNDOMultiple UNDO//REDO for all edit windowsREDO for all edit windows. .
SELCOPYSELCOPY//CBLi CBLi –– EditorEditor
Compute (Bridgend) Ltd
�� Integrated File Editor Integrated File Editor ((CBLeCBLe)) �� ColourColour--highlightshighlights..
�� Editor will colour fields for JCLEditor will colour fields for JCL, , REXX etcREXX etc
�� CustomizableCustomizable..
�� Hot key between windowsHot key between windows. .
�� Context sensitive editing of Dataset NamesContext sensitive editing of Dataset Names. .
�� CTRLCTRL--X on a file DSN will invoke editor to edit that X on a file DSN will invoke editor to edit that filefile..
SELCOPYSELCOPY//CBLi CBLi –– EditorEditor
Sophisticated File searches
Library Copy Panel
Copy/Cut past block/line
Library list window
Note 3270 screen size
Compute (Bridgend) Ltd
�� The original concept for CBLi developmentThe original concept for CBLi development..
�� Interactive SELCOPY DebugInteractive SELCOPY Debug �� Set Break PointsSet Break Points..
�� Track pointer variablesTrack pointer variables..
�� Watch data change as you step through the control Watch data change as you step through the control statementsstatements..
�� Modify program and rerunModify program and rerun. .
�� Multiple windows to show codeMultiple windows to show code, , storagestorage, , work areawork area, , output listingoutput listing..
�� SELCOPY Interactive demo available for SELCOPY Interactive demo available for download on CBL website at wwwdownload on CBL website at www..cblcbl..comcom
SELCOPYSELCOPY//CBLi CBLi –– Interactive Interactive
DebugDebug
Source Code Window
Output window
Storage Display
Console Log
Trace window
Current Step
Control keys
Track @ pointer in Red
Storage Window
Compute (Bridgend) Ltd
�� Interactive SELCOPY DebugInteractive SELCOPY Debug
�� JCLCMX macro supplied to convert batch JCL to JCLCMX macro supplied to convert batch JCL to
interactive ALLOC statementsinteractive ALLOC statements..
�� After testing the modified code can be reAfter testing the modified code can be re--integrated integrated
with JCLwith JCL. .
�� Creates tidy up commands tooCreates tidy up commands too..
SELCOPYSELCOPY//CBLi CBLi –– Interactive DebugInteractive Debug
Compute (Bridgend) Ltd
�� Integrated with CBLVCAT productIntegrated with CBLVCAT product
�� CBLVCAT provides reports on VSAMCBLVCAT provides reports on VSAM::--
�� Catalogs Catalogs
�� DatasetsDatasets
�� Tuning Tuning ((Improve efficiencyImprove efficiency, , hence speedhence speed.).)
�� Reports integrated into CBLi List windowsReports integrated into CBLi List windows..
�� With colour added to improve readabilityWith colour added to improve readability. .
�� Reports can be piped to REXX variables for further Reports can be piped to REXX variables for further
processingprocessing. .
�� Edit prefix Edit prefix ‘‘ee’’ command allows editing of filescommand allows editing of files. .
SELCOPYSELCOPY//CBLi CBLi -- with with CBLVCATCBLVCAT
CBLVCAT Job
CBLVCAT Output Window
Coloured Report
VSAM edit prefix command
VSAM KSDS File Contents window
KSDS Key Data
Note the KEY is shown in a different colour
Give it new dataset name after data changed.
Save the new file
Save starts a define panel
Click Define
Output window
Shows any errors
PF3 to return
CBLVCAT Tune Report
Compute (Bridgend) Ltd
�� Sophisticated FileSophisticated File//Library SearchesLibrary Searches..
�� Uses SQL type syntax with multiple search criteriaUses SQL type syntax with multiple search criteria. .
�� Select Select
�� WhereWhere
�� sortsort
�� PrefixPrefix''s results with instant edit commands results with instant edit command..
SELCOPYSELCOPY//CBLi CBLi –– SearchesSearches
Multi line Search Command with subsets
Results Window
Different colour for each Library
Instant Edit commands (PF4)
Strings Found
Compute (Bridgend) Ltd
�� SELCOPY has supported DBSELCOPY has supported DB//22 for yearsfor years..
�� Now itNow it’’s interactive with CBLis interactive with CBLi..
�� DBDB//22 SQL InteractiveSQL Interactive..
�� Build DBBuild DB//22 SQL queries on the flySQL queries on the fly..
�� Panel drivenPanel driven
�� Queries can be saved to command centreQueries can be saved to command centre
�� Query output window can be saved as a file for Query output window can be saved as a file for
future referencefuture reference..
SELCOPYSELCOPY//CBLi CBLi –– DBDB//22
SQL List Output Window
SQL Commands
Sort on column headings
‘e’ command creates editable file
PF10/PF11 to view right/left more headings
Edit window can be saved for future reference
Compute (Bridgend) Ltd
�� IDCAMSIDCAMS
�� Panels to build IDCAMS streamsPanels to build IDCAMS streams
�� IDCAMS can be executed directly from command IDCAMS can be executed directly from command
centre filecentre file..
SELCOPYSELCOPY//CBLi CBLi –– IDCAMSIDCAMS
Click CBLi File menu option
Choose Define KSDS
Give the dataset a name
Define Dataset Panel
Keys
Cluster Data Index
Click Define to run it
Click Job to create DEFINE Deck
IDCAMS DEFINE JCL Created
‘jobcard’ macro
‘Jobcard’ macro generates jobcard sets colours.
Embedded sub and go to o/p queue
Any Errors?
Sample Interactive IDCAMS DEFINE Command
Interactive DELETE
Compute (Bridgend) Ltd
�� Panels to Allocate datasetsPanels to Allocate datasets..
�� Automatic when new fileAutomatic when new file..
�� Library copiesLibrary copies..
�� Use to generate JCL tooUse to generate JCL too..
SELCOPYSELCOPY//CBLi CBLi –– Dataset AllocationDataset Allocation
‘C’ Copy Prefix
Execute Library List
Copy Results in an IEBCOPY panel
New Name
Select Member range
Copy in Foreground
Generate JCL deck
JCL Deck Generated
‘q’ prefix can be used to show who is enqueued on file.
List my datasets
Enqueues list window
Compute (Bridgend) Ltd
�� Intuitive drill down capability forIntuitive drill down capability for::
�� DASD ListsDASD Lists..
�� VTOC ListsVTOC Lists..
�� Dataset ListsDataset Lists..
�� Library ListsLibrary Lists..
�� Each with extended functionality forEach with extended functionality for::
�� SelectSelect, , subset and sort syntaxsubset and sort syntax
SELCOPYSELCOPY//CBLi CBLi –– NavigationNavigation
Compute (Bridgend) Ltd
�� Sorted listsSorted lists..
�� Click on column headingsClick on column headings..
�� Selection parameters include sort optionSelection parameters include sort option..
ExampleExample::
List all libraries starting with sysList all libraries starting with sys11, , with organisation PO with organisation PO
and RECFMand RECFM==V or VBV or VB::--
<< ld sysld sys11 ; ; where ORGwhere ORG==PO and PO and ((RECFMRECFM==‘‘VV’’ or RECFMor RECFM==‘‘VBVB’’) )
SELCOPYSELCOPY//CBLi CBLi –– NavigationNavigation
PF4 Execute
Results Window
Refine the search further
New list with selected columns
Browse back/forw between Selections.
List views
Sort headings
Compute (Bridgend) Ltd
�� System MacrosSystem Macros..
�� Extend capabilities of CBLiExtend capabilities of CBLi..
�� Customers can add their own new functionsCustomers can add their own new functions..
�� REXX basedREXX based..
�� Samples providedSamples provided..
SELCOPYSELCOPY//CBLi CBLi –– CustomisationCustomisation
Compute (Bridgend) Ltd
�� Keyboard MappingKeyboard Mapping..
�� Extends the power of CBLiExtends the power of CBLi’’s productivitys productivity..
�� Most keys can be remappedMost keys can be remapped. .
�� Multiple functionsMultiple functions, , CtrlCtrl++, , AltAlt++, , ShiftShift+ + for most for most
keyskeys. .
�� Keymap files available for common tnKeymap files available for common tn32703270 clientsclients..
�� Customizable by customerCustomizable by customer..
SELCOPYSELCOPY//CBLi CBLi –– CustomisationCustomisation
Compute (Bridgend) Ltd
�� Extensive FIRSTUSE tutorial with first accessExtensive FIRSTUSE tutorial with first access..
�� Guides the user through some commands and Guides the user through some commands and facilitiesfacilities..
�� This forms basis for users command centre fileThis forms basis for users command centre file..
�� User can then add their own commandsUser can then add their own commands..
�� HTML based HELP menusHTML based HELP menus. .
�� Telephone demoTelephone demo’’s available from CBLs available from CBL..
�� WEBEX demonstrations on request for multiple people WEBEX demonstrations on request for multiple people ((Max Max 1414 per sessionper session). ).
�� CBLi training courses in progressCBLi training courses in progress. .
SELCOPYSELCOPY//CBLi CBLi –– EducationEducation
Compute (Bridgend) Ltd
�� The following links to a recorded audioThe following links to a recorded audio//visual playback visual playback of a CBLi demo presentationof a CBLi demo presentation..
�� httpshttps://://cblcbl..webexwebex..comcom//cblcbl//lsrlsr..phpphp??ATAT==dwdw&&SPSP==MCMC&&rIDrID==14191419
46524652&&rKeyrKey==CBDCBD10124071012407ECEC6464AA55
�� When viewing the playback of the demoWhen viewing the playback of the demo, , speakers or speakers or headphones are requiredheadphones are required..
�� AlsoAlso, , doubledouble--clicking the viewing area to maximise the clicking the viewing area to maximise the display will improve the video qualitydisplay will improve the video quality. .
SELCOPYSELCOPY//CBLi CBLi –– EducationEducation
Compute (Bridgend) Ltd
�� These slides provide only a limited sample of the These slides provide only a limited sample of the SELCOPYSELCOPY//CBLi interfaceCBLi interface..
�� Browse to Browse to wwwwww..cblcbl..comcom toto::
�� Download manualsDownload manuals..
�� Request a free trialRequest a free trial..
�� A sample list of customersA sample list of customers..
�� Links to Training PartnersLinks to Training Partners..
�� CBL support is free to all licensed customersCBL support is free to all licensed customers..
�� We are happy to assist customers with special coding We are happy to assist customers with special coding requirementsrequirements..
�� We welcome any feedbackWe welcome any feedback..
SELCOPYSELCOPY//CBLi CBLi –– MiscellaneousMiscellaneous
Compute (Bridgend) Ltd
Latest Development
SELCOPYSELCOPY//CBLiCBLi
CBLi release 1.41 is current G/A release. CBLi release 1.5 will include these new features.
Compute (Bridgend) Ltd
SELCOPYSELCOPY//CBLiCBLi
Structured Structured Data EditData Edit �� SDE FeaturesSDE Features
�� Edit Multiple Record TypesEdit Multiple Record Types..
�� Select record Type to viewSelect record Type to view..
�� Select fields to displaySelect fields to display..
�� Zoom a record into a new windowZoom a record into a new window..
�� Alternate ViewsAlternate Views..
�� Shadow Lines can be switched onShadow Lines can be switched on//offoff
Compute (Bridgend) Ltd
SELCOPYSELCOPY//CBLiCBLi
Structured Structured Data EditData Edit �� SDE FeaturesSDE Features
�� List StructureList Structure..
�� For For 11 Record Type or ALLRecord Type or ALL..
�� Select panel windowSelect panel window..
�� Move fields aroundMove fields around
�� Remove fieldsRemove fields
�� Hit a key to change the view to new layoutHit a key to change the view to new layout..
Compute (Bridgend) Ltd
SELCOPYSELCOPY//CBLiCBLi
Structured Structured Data EditData Edit �� SDE FeaturesSDE Features
�� Structure DefinitionsStructure Definitions..
�� From Cobol or PLFrom Cobol or PL11 CopybookCopybook..
�� Using Structured Edit LanguageUsing Structured Edit Language..
�� Define Structure for any dataset on diskDefine Structure for any dataset on disk..
�� View dataset using structureView dataset using structure..
�� SQL type filtering SQL type filtering ((SELECTSELECT//WHEREWHERE) ) clausesclauses
�� SORT on headings SORT on headings ((list windowslist windows))
�� Command can be saved for later executionCommand can be saved for later execution..
�� Resulting report can be saved or printedResulting report can be saved or printed..
SDE - Structures
Define a Structure
Create a List from Structure
Display Report Window
Structures can be created from COBOL or PL/1 Data Definitions (Copy books), an Assembler DSECT or just defined using CBL Structure Language as below.
SDE - Structures Report Window
Sort on Headings
Title
SDE - Structures
Filter report
SDE - Structures
Resulting Report
Scroll Views
List Views
Display Field Definition Block (FDB)
Multiple Record Types
PF10/PF11 Left/Right
Shift PF2 Zoom to new window
PF3 to quit window
HELP Screens
Comprehensive HTML help screens
Description of Header Lines
SELECT fields to display for a record type
Selected Record type Columns
Move cursor to record type and press PF4
Single Record type View
Other record types shadowed
Select Multiple Record types
Selected Record Types
FORMAT Table layout
FORMAT Character layout
Toggle HEX display on/off
HEX display
Compute (Bridgend) Ltd
SELCOPYSELCOPY//CBLiCBLi
�� You may wonder why IYou may wonder why I’’m herem here..
�� You already have the software and your You already have the software and your
company will pay nothing extra for the company will pay nothing extra for the
interactive capabilities you now haveinteractive capabilities you now have. .
�� The reason IThe reason I’’m here is simply to recruit m here is simply to recruit
more salesmenmore salesmen..
�� YouYou, , our customersour customers, , are our salesmenare our salesmen..
�� So this is a sales pitch after all So this is a sales pitch after all !!
“A Mainframe Evolution”
David Austin Technical Liaison Manager Compute (Bridgend) Ltd
Thank you
Compute (Bridgend) Ltd 8 Merthyr Mawr Road BRIDGEND, CF31 3NH
+44 1656 65222 www.cbl.com
with CBLiCBLi
28 February, 2008