IBM VisualAge Pacbase is a code-switching structured programming language that is developed and maintained by IBM. VisualAge Pacbase runs on both IBM and non-IBM mainframes and integrates with IBM WebSphere Studio Application Developer. When compiling Pacbase code it is first translated into COBOL and then compiled to binary.
5. 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
6. Library
Library is the logical division of
Repository
To provide access only to a
group of users on a particular
division
Ensures security
9. Entities
Basic units of managing information
Elements
Segments
Programs
Reports
Macros
10. 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
11. 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
12. 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
13. 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)
14. Version Control
Achieved by three types of sessions
Historic session – can only be viewed
cannot be updated
Test session – can be updated
Current session
15. 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
21. 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
23. 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
26. 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
29. 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
33. 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
34. Special Choices – Contd
JF – jump forward
N*lib – new library
NHssss – new session
NH9999 – return from historical
session to current session
WS – word search