Assembler & z/OS Internals Syllabus
-
Upload
deru-sudibyo -
Category
Education
-
view
2.316 -
download
1
Transcript of Assembler & z/OS Internals Syllabus
Assembly & z/OS Assembly & z/OS InternalsInternals
65 Days Streaming 65 Days Streaming Courses Syllabus Courses Syllabus
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 22
AgendaAgenda Basic assembly Basic assembly 10 days 10 days Advanced assembly Advanced assembly 5 days 5 days Basic architectural programming (optional) Basic architectural programming (optional)
45 days 45 days Basic systems programming Basic systems programming 40 days 40 days
– MVS programmingMVS programming– TSO programmingTSO programming– JES programmingJES programming
Network programming Network programming 10 days 10 days– TCP/IP socket programmingTCP/IP socket programming
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 33
PrefacePreface Training will be conducted by an instructor who Training will be conducted by an instructor who
has “real experience” in developing system-level has “real experience” in developing system-level software. He is an author of zJOS-XDI, an software. He is an author of zJOS-XDI, an integrated automation solution for z/OS system. integrated automation solution for z/OS system. Each student may expect to be a “real systems Each student may expect to be a “real systems programmer” who ready to develop system-level programmer” who ready to develop system-level software for mainframe technology. software for mainframe technology.
Unless with special deal, training is conducted in Unless with special deal, training is conducted in Indonesia, in either Bogor or Pemalang. This to Indonesia, in either Bogor or Pemalang. This to avoid crowded situation and get fresher air. avoid crowded situation and get fresher air. Especially in Pemalang, class will be located in Especially in Pemalang, class will be located in deep rural with beautiful views and original deep rural with beautiful views and original Nusantara culture. Nusantara culture.
Basic AssemblyBasic Assembly10 days tutorials and 10 days tutorials and
workshopsworkshops
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 55
Basic AssemblyBasic Assembly Coding rulesCoding rules General instructionsGeneral instructions
– Manipulating charactersManipulating characters– Manipulating integer numericsManipulating integer numerics– Manipulating memory addresses Manipulating memory addresses
Decimal instructionsDecimal instructions– Manipulating decimal numericsManipulating decimal numerics
Managing programs Managing programs – Assembling and binding programAssembling and binding program– Executing programExecuting program
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 66
Basic Assembly Basic Assembly (cont’d)(cont’d)
Prereq:Prereq:– Familiar with basic operational of z/OS Familiar with basic operational of z/OS – Familiar with z/OS development environment Familiar with z/OS development environment
(TSO, ISPF, SDSF and JES2)(TSO, ISPF, SDSF and JES2)– Familiar with JCL coding Familiar with JCL coding – Optionally hold computer science related Optionally hold computer science related
background background Objective: Objective:
– Give audience a basic skill in assembly Give audience a basic skill in assembly programming programming
Duration: Duration: – 10 days 10 days
Advanced AssemblyAdvanced Assembly5 days tutorials and 5 days tutorials and
workshopworkshop
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 88
Advanced AssemblyAdvanced Assembly Assembler instructionsAssembler instructions Assembler macro Assembler macro
– Conding rules of assembler macro Conding rules of assembler macro – Multitier macro designMultitier macro design
Assorted system macros in general Assorted system macros in general programmingprogramming– Macros for I/OMacros for I/O– Macros for messaging Macros for messaging
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 99
Advanced Assembly Advanced Assembly (cont’d)(cont’d)
Prereqs: Prereqs: – Have passed basic assembly course Have passed basic assembly course
Objective: Objective: – Give audience an advance skill in Give audience an advance skill in
general assembly programminggeneral assembly programming Duration: Duration:
– 5 days 5 days
Basic Architectural Basic Architectural ProgrammingProgramming
Controls & Interruptions 15 daysControls & Interruptions 15 daysChannel programming 5 daysChannel programming 5 daysBootstrap procedure 5 daysBootstrap procedure 5 daysStandalone programming 20 daysStandalone programming 20 days
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 1111
Basic Architectural ProgrammingBasic Architectural Programming Controls & Interruptions Controls & Interruptions
– Control mechanism in z/SeriesControl mechanism in z/Series– Interrupts handling Interrupts handling
Channel programmingChannel programming– CCW CCW – Further handling for I/O interruptsFurther handling for I/O interrupts
Bootstrap procedureBootstrap procedure– CCW and interrupt used in IPL processCCW and interrupt used in IPL process– Placing IPL record and IPL program in I/O device Placing IPL record and IPL program in I/O device
Standalone programmingStandalone programming– Preemptive programming workshop Preemptive programming workshop
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 1212
Controls and InterruptionsControls and Interruptions Control mechanism in z/SeriesControl mechanism in z/Series
– PSW, control registers and PSAPSW, control registers and PSA– Control instructions Control instructions – Controlling logic of operation Controlling logic of operation
Interrupts handling Interrupts handling – InterruptionsInterruptions– Memory map for interrupt controlMemory map for interrupt control– Stages of interrupt handlingStages of interrupt handling
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 1313
Controls and Interruptions Controls and Interruptions (cont’d)(cont’d)
Prereqs: Prereqs: – Have a proven skill in advenced assembly Have a proven skill in advenced assembly – Have a good knowledge in digital control or OS Have a good knowledge in digital control or OS
theory theory Objective:Objective:
– Give audience a skill of basic systems Give audience a skill of basic systems programming which drives to have programming which drives to have
High ability to learn mainframe OS fasterHigh ability to learn mainframe OS faster Ability to develop machine-level program for CPU Ability to develop machine-level program for CPU
Duration: Duration: – 15 days15 days
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 1414
Channel ProgrammingChannel Programming CCW CCW
– Channel commandsChannel commands– Coding rules Coding rules – Logic of CCWLogic of CCW
Further handling for I/O interruptsFurther handling for I/O interrupts– Uniques of I/O interruptions Uniques of I/O interruptions – I/O instructions and related information I/O instructions and related information
format in memory format in memory – Managing I/O operation Managing I/O operation
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 1515
Channel Programming Channel Programming (cont’d)(cont’d)
Prereqs: Prereqs: – Have a proven skill in controls and Have a proven skill in controls and
interruptions for z/Series mainframe machine interruptions for z/Series mainframe machine Objective:Objective:
– Give audience a skill of basic systems Give audience a skill of basic systems programming which drives to have programming which drives to have
High ability to learn mainframe OS filesystem fasterHigh ability to learn mainframe OS filesystem faster Ability to develop machine-level program for I/O Ability to develop machine-level program for I/O
Duration: Duration: – 5 days5 days
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 1616
Bootstrap ProcedureBootstrap Procedure CCW and interrupt used in IPL processCCW and interrupt used in IPL process
– Preparing IPL record: CCW to load content of Preparing IPL record: CCW to load content of I/O device I/O device
– Preparing IPL program: Routine to initialize PSA Preparing IPL program: Routine to initialize PSA and all necessary interrupt handlers and all necessary interrupt handlers
– Understanding IPL program in z/OS and z/VM Understanding IPL program in z/OS and z/VM (VM SAPL)(VM SAPL)
Placing IPL record and IPL program in I/O Placing IPL record and IPL program in I/O device device – Placing IPL record and IPL program in DASD Placing IPL record and IPL program in DASD
volume using ICKDSF utilityvolume using ICKDSF utility– Placing IPL record and IPL program in tape Placing IPL record and IPL program in tape
volume volume
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 1717
Bootstrap Procedure Bootstrap Procedure (cont’d)(cont’d)
Prereqs: Prereqs: – Have a proven skill in controls, interruptions Have a proven skill in controls, interruptions
and channel programming for z/Series and channel programming for z/Series mainframe machine mainframe machine
Objective:Objective:– Give audience a skill of basic systems Give audience a skill of basic systems
programming which drives to have programming which drives to have High ability to learn overall mainframe OS fasterHigh ability to learn overall mainframe OS faster Ability to develop preemptive machine-level programAbility to develop preemptive machine-level program
Duration: Duration: – 5 days5 days
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 1818
Standalone ProgrammingStandalone Programming Preemptive programming workshopPreemptive programming workshop
– Tries to implement all skills gathered in all Tries to implement all skills gathered in all previous subjects to develop a small previous subjects to develop a small application that runs directly from boot to end application that runs directly from boot to end without any OS on z/Series machine or under without any OS on z/Series machine or under z/VM virtual machine or on Hercules emulator. z/VM virtual machine or on Hercules emulator.
– This workshop can also be used (on your This workshop can also be used (on your choice) to develop a miniature of OS with the choice) to develop a miniature of OS with the simplest filesystem and task management. simplest filesystem and task management.
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 1919
Standalone Programming Standalone Programming (cont’d)(cont’d)
Prereqs: Prereqs: – Have a proven skill in controls, interruptions, channel Have a proven skill in controls, interruptions, channel
programming and bootstrap procedure for z/Series programming and bootstrap procedure for z/Series mainframe machine mainframe machine
Objective:Objective:– Give audience a skill of basic systems programming Give audience a skill of basic systems programming
which drives to have which drives to have High ability to learn overall mainframe OS fasterHigh ability to learn overall mainframe OS faster Ability to develop preemptive machine-level software Ability to develop preemptive machine-level software
productproduct Ability to be a team member of OS development projectAbility to be a team member of OS development project
Duration: Duration: – 20 days20 days
Basic Systems Basic Systems ProgrammingProgramming
MVS programming 30 daysMVS programming 30 daysTSO programming 5 daysTSO programming 5 daysJES2 programming 5 daysJES2 programming 5 days
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 2121
Basic Systems ProgrammingBasic Systems Programming MVS programmingMVS programming
– Using memoryUsing memory– Multitasking Multitasking – Using I/O services Using I/O services – Deal with supervisor state in z/OSDeal with supervisor state in z/OS
TSO programmingTSO programming– Command processorsCommand processors– Interfacing with ISPF and RexxInterfacing with ISPF and Rexx
JES2 programming JES2 programming – Accessing JES2 properties Accessing JES2 properties – Communicate with JES2Communicate with JES2
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 2222
MVS ProgrammingMVS Programming Using memory Using memory
– Allocating/deallocating private memoryAllocating/deallocating private memory– Extended addressing Extended addressing
Using access registers Using access registers Using dataspace, hyperspace and DIVUsing dataspace, hyperspace and DIV
Multitasking Multitasking – Asynchronous processing Asynchronous processing – Synchronizing asynchronous processesSynchronizing asynchronous processes– Designing multitasking programDesigning multitasking program– Intertasks communication Intertasks communication
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 2323
MVS Programming MVS Programming (cont’d)(cont’d)
Using I/O services Using I/O services – Using DFSMS macros for I/OUsing DFSMS macros for I/O
Deal with supervisor stateDeal with supervisor state– Privileged instructions Privileged instructions – Understanding control mechanismUnderstanding control mechanism– Using common segment memoryUsing common segment memory– Protecting memory Protecting memory – Inter address spaces communicationInter address spaces communication
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 2424
MVS Programming MVS Programming (cont’d)(cont’d)
Prereqs: Prereqs: – Have a proven skill in advenced assembly Have a proven skill in advenced assembly – Have MVS sysadmin related experienceHave MVS sysadmin related experience
Objective:Objective:– Give audience a skill of basic systems Give audience a skill of basic systems
programming which drives to have programming which drives to have Advanced debuggig skillAdvanced debuggig skill Ability to develop system interface in application Ability to develop system interface in application
programprogram Ability to develop system-level software products Ability to develop system-level software products
Duration: Duration: – 30 days30 days
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 2525
TSO ProgrammingTSO Programming Command processors Command processors
– Passing parameters to command Passing parameters to command processorprocessor
– Using TSO/E services Using TSO/E services Interfacing with ISPF and RexxInterfacing with ISPF and Rexx
– Using ISPF servicesUsing ISPF services– Interact with Rexx programInteract with Rexx program
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 2626
TSO Programming TSO Programming (cont’d)(cont’d)
Prereqs: Prereqs: – Have a proven skill in advenced assemblyHave a proven skill in advenced assembly– Have advanced ISPF skillHave advanced ISPF skill– Have rexx programming skill Have rexx programming skill
Objective:Objective:– Give audience a skill of basic systems and Give audience a skill of basic systems and
applications programming for TSO/ISPF applications programming for TSO/ISPF application developmentapplication development
Duration: Duration: – 5 days5 days
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 2727
JES2 ProgrammingJES2 Programming Accessing JES2 properties Accessing JES2 properties
– Accessing JES2 services Accessing JES2 services – Accesssing spoolAccesssing spool
Communicate with JES2Communicate with JES2– Trapping JES2 events for spool Trapping JES2 events for spool
processingprocessing
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 2828
JES2 Programming JES2 Programming (cont’d)(cont’d)
Prereqs: Prereqs: – Have a proven skill in basic systems Have a proven skill in basic systems
programmingprogramming Objective:Objective:
– Give audience a skill of basic systems Give audience a skill of basic systems and applications programming for JES2 and applications programming for JES2 application development application development
Duration: Duration: – 5 days5 days
Network ProgrammingNetwork Programming10 days tutorials and 10 days tutorials and
workshopsworkshops
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 3030
Network ProgrammingNetwork Programming Socket programmingSocket programming
– Using EZASMI macro for socket Using EZASMI macro for socket manipulationmanipulation
– Logic construction of server programLogic construction of server program– Logic construction of client programLogic construction of client program
Interfacing to TCP/IP applicationInterfacing to TCP/IP application– Interfacing to FTP programInterfacing to FTP program– Interfacing to other TCP/IP programInterfacing to other TCP/IP program
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 3131
Network Programming Network Programming (cont’d)(cont’d)
Prereqs: Prereqs: – Have a proven skill in advenced assemblyHave a proven skill in advenced assembly– Have a proven skill in multitasking using Have a proven skill in multitasking using
assembly in MVS programmingassembly in MVS programming Objective:Objective:
– Give audience a skill of assembly programming Give audience a skill of assembly programming for TCP/IP application developmentfor TCP/IP application development
Duration: Duration: – 10 days10 days
(C) 2009 Deru Sudibyo(C) 2009 Deru Sudibyo 3232
About About Ir.Ir. Deru SudibyoDeru Sudibyo Author of many mainframe system-level softwareAuthor of many mainframe system-level software
– zJOS-XDIzJOS-XDI An integrated automation solution for z/OS system An integrated automation solution for z/OS system Currently marketed by Currently marketed by PT SSHPT SSH
– SSRF/MVS (paid as professional services)SSRF/MVS (paid as professional services) MVS spool splitter and router facilityMVS spool splitter and router facility
– SPICO/VM (paid as professional services)SPICO/VM (paid as professional services) Automation tools for VM system Automation tools for VM system
– Many freeare in Many freeare in CBT TAPECBT TAPE Author of 3 mainframe handbooksAuthor of 3 mainframe handbooks
– Arsitektur dan Teknologi Server ESAArsitektur dan Teknologi Server ESA Architecture and technology of mainframe ESAArchitecture and technology of mainframe ESA
– Panduan AssemblerPanduan Assembler Assembler GuideAssembler Guide
– Teknik Dasar Systems ProgrammingTeknik Dasar Systems Programming Principle of system programming techniques Principle of system programming techniques
Thank You!Thank You!