Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

How To Master PACBASE For Mainframe In Only Seven Days

4,868 views

Published on

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.

Published in: Technology
  • Login to see the comments

  • Be the first to like this

How To Master PACBASE For Mainframe In Only Seven Days

  1. 1. PACBASE Fundamentals
  2. 2. What is PACBASE ?  PACBASE is a tool for generating COBOL programs  Developed by CGI Systems  Proprietary tool of IBM
  3. 3. PACBASE - Features  Standard and structured code  Version control  Reusability  Control Break Processing  File Matching  Report Generation
  4. 4. PACBASE – Terms  Repository  Library  Entity
  5. 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. 6. Library  Library is the logical division of Repository  To provide access only to a group of users on a particular division  Ensures security
  7. 7. Repository & Libraries REPOSITORY User 1 User 2 User 4 User 5 User 3
  8. 8. Repository & Libraries Library 1 Library 2 REPOSITORY Library 3 Library 4 User 1 User 2 User 4 User 5 User 3
  9. 9. Entities Basic units of managing information  Elements  Segments  Programs  Reports  Macros
  10. 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. 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. 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. 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. 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. 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
  16. 16. First Screen
  17. 17. Login Screen
  18. 18. Transaction Screen
  19. 19. Choice field Pacbase Login Screen
  20. 20. March 6, 2003 Pacbase Fundamentals 2 Main Menu
  21. 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
  22. 22. Program Menu
  23. 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
  24. 24. Definition Menu
  25. 25. Gen. Doc Menu
  26. 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
  27. 27. Call of Data Structures
  28. 28. Work Areas Screen
  29. 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
  30. 30. Cross Reference Screen
  31. 31. Segment Choices  SddssLSP – List of parent segments  SddssLSC – List of Child segments  SddssLAL – Level Address Length  SddssDED – Data Element Details  SddssSTA – Statistics
  32. 32. Segment Description
  33. 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. 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
  35. 35. Current Session
  36. 36. Historic Session
  37. 37. Test Session
  38. 38. Test session
  39. 39. Ending PACBASE Session  Press Pause Break  Enter OFF
  40. 40. View element 1
  41. 41. View element2
  42. 42. View Element3
  43. 43. General Description
  44. 44. Thank You…..

×