how to master pacbase for mainframe in only seven days

Post on 26-Jan-2017

2.135 Views

Category:

Technology

4 Downloads

Preview:

Click to see full reader

TRANSCRIPT

PACBASE Fundamentals

What is PACBASE ?

PACBASE is a tool for generating COBOL programs

Developed by CGI Systems Proprietary tool of IBM

PACBASE - Features Standard and structured code Version control Reusability Control Break Processing File Matching Report Generation

PACBASE – Terms Repository Library Entity

Repository

Repository is the physical storage All the entities of pacbase are

stored in repository It is accessed by all the users of

the system

Library

Library is the logical division of Repository

To provide access only to a group of users on a particular division

Ensures security

Repository & Libraries

REPOSITORY

User 1

User 2

User 4

User 5User 3

Repository & Libraries

Library 1 Library 2

REPOSITORY

Library 3 Library 4

User 1

User 2

User 4

User 5User 3

EntitiesBasic units of managing information Elements Segments Programs Reports Macros

Elements Elements are lower level entities Corresponds to an elementary

item defined in COBOL program Eg: 01 EMPNO PIC X(005) can be

defined as an element in pacbase

Segments Group of elements form a Segment Corresponds to a group item defined

in COBOL program Eg: 01 EMPREC. 05 EMPNO PIC X(005). 05 ENAME PIC X(025). can be defined as a segment in

pacbase

Programs & Reports

Program – entity where all the inputs for generating a COBOL program are defined

Report - entity where all the inputs for generating a report in a COBOL program are defined

Reusability & Cross Reference Entities once created are available to all

users Reusability – Using the already available

entities Cross-Reference – List of entities using

a particular entity (element, segment, report or macro)

Version Control

Achieved by three types of sessions Historic session – can only be viewed cannot be updated Test session – can be updated Current session

Starting PACBASE Type pacbase in the first screen. Give login id and password Give PB35 which is the transaction id for

pacbase Give pacbase loginid, password and

library name Main Menu appears

First Screen

Login Screen

Transaction Screen

Choice field

Pacbase Login Screen

March 6, 2003 Pacbase Fundamentals 2

Main Menu

Accessing Menus H or PF5 – Main Menu Each entity is identified by unique 1-character entity type code E – Element S – Segment P – Program R – Report H followed by the entity code – Entity

Menu Eg: HP – Menu of Program Screens

Program Menu

Definition and General Document Screens Definition Screen - Entity Code followed by Entity Name

Eg: Ppppppp – Program Definition Screen General Document Screen - by giving G Eg: EeeeeeG – Element General

Documentation Screen

Definition Menu

Gen. Doc Menu

Call Screens To call an entity within another Using C followed by entity code Eg:CD – Call of data Structures CE – Call of data Elements CP – Call of Macros SddssCE – Segment call of Elements

Call of Data Structures

Work Areas Screen

Cross Reference Screens Cross Reference Screen - by using X followed by the entity

code Eg: EeeeeeXP{ppppppP ff sf lll} Element X-Reference to Program

pppppp starting with procedural code ff sf lll

Cross Reference Screen

Segment Choices SddssLSP – List of parent segments SddssLSC – List of Child segments SddssLAL – Level Address Length SddssDED – Data Element Details SddssSTA – Statistics

Segment Description

Special Choices Enter LC followed by the entity code Eg: LCPppp* List by Programs starting with ppp LH – List of historical frozen

sessions LL – List of locked entities JP – Jump Previous

Special Choices – Contd JF – jump forward N*lib – new library NHssss – new session NH9999 – return from historical

session to current session WS – word search

Current Session

Historic Session

Test Session

Test session

Ending PACBASE Session Press Pause Break Enter OFF

View element 1

View element2

View Element3

General Description

Thank You…..

top related