Welcome to BAC344! Business Applications using COBOL Andre Berns
2 BAC344 Business Applications Using COBOL Who am I?Andre Berns Office:T2100 Web:~andre.berns : Course web page: ~andre.berns/ Course outline: Follow “Diploma Programs”, Computer Programming and Analysis”, “Curriculum”, “BAC344” links from School of ICT home page
3 Where to find BAC344 course information Follow the links from my College homepage ~andre.berns To see yourMARKS my timetable, and general course info BAC344 wiki at !! There are underlines between the 344_01_2013
4 Your timetable Must reflect 2 hours lecture 2 hours for your practical lab A total of 4 hours for BAC344 (per week)
Course Standards and Lecture notes See ~andre.berns
Material Covered Two Mid-Term tests (40%) Seven ? Assignments (30%) One Final Exam (30%)
Why are we studying COBOL? Traditional Structured Programming & Design Techniques. Transactional Processing How to use our DB2 skills learned in IBC233 Learn COBOL syntax! –Maintain Legacy systems – – billions of lines of source code in use today
8 Why are we studying COBOL? Traditional Structured Programming & Design Techniques. Transactional Processing How to use our DB2 skills learned in OPS234 Learn some COBOL syntax! –Maintain Legacy systems
Nothing new here! IPC144 –Transaction processing –Arrays IBC233 –Interactive screens
What grade are you going to get?
Power System Model 520 System I IBM Midrange Computer At the college known as zeus.senecac.on.ca
System 3 System 34 System 36System 38 AS/400 iSeries system i System present present i 2007 Power Systems 2008
IBC233 Review
Green Screen
Seneca Network (simplified) ZEUS (Power Systems) MATRIX Fire Wall PCs at Home PCs in the Lab
Connectivity Software Rational Developer (RDI) Client Access (in the Classrooms and at Home) Mocha (at home) Both are available for download from the CS site. (download text document for instructions)
ibm i Operating System (OS/400) Object-Based Everything that takes up space and has a description is an object. Types of Objects include: User Profiles –Job Queues –Files –Programs
Traditional ibm i Data Storage Hierarchy Library Objects Members contain data - Files only
Traditional IBM i Data Storage Hierarchy BERNS - *LIBBAC344LIB - *LIB DA344x99 - *LIB Object1 *PGM Object2 *OUTQ Object3 *FILE QCBLLESRC *FILE PGM1 PGM2 PGM3 DA344x99 *OUTQ QCBLLESRC *FILE PG1 PG2 PGM1 *PGM PGM3 *PGM PG1 *PGM
20 Library Lists Object used to organize data storage. Are different for each student. Are initially set to your default for each session you start (signon). Can be changed uniquely different for each session.
Library Lists Each job has an attached Library List Different Types of Libraries: –System: IBM Supplied –Product:Added automatically when an IBM product is used –Current: Defined by an individual user ID User ID’s default Library –User: Non-IBM Supplied Libraries Created by Business to organize programs, files, etc.
IBM i finds Objects Qualified Names Library/Object BAC344LIB/QCBLLESRC Using Library Lists! How are Library Lists sequenced?
System vs Subsystem System = ZEUS Subsystem is a logical grouping of resources
Database
Physical Files vs Logical Files
CL
27 Definitions
28 OS400 Operating System Object-Based Everything that takes up space and has a description is an object. Types of Objects include: User Profiles –Job Queues –Files –Programs
29 Integrated File System Libraries Objects Directories Stream Files Objects Folders Documents
CL Syntax Command-name (space) parameter
Keyword vs Positional Notation Keyword WRKOUTQ OUTQ(PRT01) CRTLIB LIB(MOOGK10) + TEXT(‘Cindys Library’) Positional WRKOUTQ PRT01 CRTLIB MOOGK10 *PROD ‘Cindys Library’
32 Naming of Commands Based on English! Combination of Verb and Noun CRTLIB Library Create
CL Syntax Use Menus to find the command Use F11 and Help to find the Syntax
Commands that you’ll use? Look at RDI Assignment 1
Granting authorities !!
36 Next Class Read Chapters: 1, 2, 3 and Appendix A