Cobol
-
Upload
bala-trinadh-jangam -
Category
Documents
-
view
4 -
download
1
description
Transcript of Cobol
VisionPLUSVisionPLUS
Online ArchitectureOnline Architecture
ContentContent
CICS Transaction FlowCICS Transaction Flow Online System OverviewOnline System Overview Programs & CopybooksPrograms & Copybooks FlowFlow Program StructureProgram Structure Screen Number ManipulationScreen Number Manipulation
CICS Transaction FlowCICS Transaction Flow
CCIICCSS
ACCT TCT
PCT PPT
LOADLIBInitial MAP
FCT
DASD
ReceiveMAP
Online System OverviewOnline System Overview All transaction points to AROXCTL Programs and All transaction points to AROXCTL Programs and
Transactions are defined in AROPGM1Transactions are defined in AROPGM1
File names are defined in AROFIL1File names are defined in AROFIL1
All transactions trigger AROXCTLAll transactions trigger AROXCTL
AROXCTL will transfer control to corresponding program AROXCTL will transfer control to corresponding program using AROPGM1using AROPGM1
Use AR60PD & AR70PD Copybooks for MAP handlingUse AR60PD & AR70PD Copybooks for MAP handling
Programs & CopybooksPrograms & Copybooks Each subsystem has it’s own COMMAREAEach subsystem has it’s own COMMAREA Generic details, such as Date, Region Name, Access Routine Generic details, such as Date, Region Name, Access Routine
names etc will be stored in COMMAREAnames etc will be stored in COMMAREA AROXCTLAROXCTL builds COMMAREA builds COMMAREA COMMAREA can be used to pass data between programs. COMMAREA can be used to pass data between programs.
Example File KeyExample File Key COMMAREACOMMAREA
AR60WS – CMSAR60WS – CMS OF60WS – FASOF60WS – FAS OC60LK – CTAOC60LK – CTA LT60WS – LTSLT60WS – LTS
Programs & Copybooks Programs & Copybooks Cont.. Cont..
Programs does not contain native CICS commandsPrograms does not contain native CICS commands
Use AR60PD & AR70PD to perform SEND MAP, RECEIVE Use AR60PD & AR70PD to perform SEND MAP, RECEIVE MAP, XCTL, LINK etcMAP, XCTL, LINK etc
Use File Access Routines for file handlingUse File Access Routines for file handling
Programs & Copybooks Programs & Copybooks Cont.. Cont..
AR60PD Functions : AR60PD Functions :
To check new transaction entry To check new transaction entry Edit Page NumberEdit Page Number Build Page NumberBuild Page Number GETMAIN for MAPGETMAIN for MAP Format Standard LineFormat Standard Line SEND MAPSEND MAP RECEIVE MAPRECEIVE MAP
AR60PD
Programs & Copybooks Programs & Copybooks Cont.. Cont..
AR70PD Functions AR70PD Functions
House KeepingHouse Keeping CICS RETURNCICS RETURN CICS RETURN WITH TRANS IDCICS RETURN WITH TRANS ID SEND TEXT SEND TEXT XCTLXCTL LINKLINK ERROR RoutineERROR Routine
AR70PD
Transaction Flow in VisionPLUSTransaction Flow in VisionPLUS
AROXCTLTransaction-id
(User Input)Load AROPGM1
AROFIL1
Validate Entry
Check Securitylevels
Load Data intoCOMMAREA
Transfers controlto start of program
Online Program Flow In Online Program Flow In VisionPLUSVisionPLUS
TRANSACTION
SCREEN
AROXCTL
AROPGM1
AR60PD
PROGRAM
Fetch Program Name
Load & Read
XCTL
Perform AR60PD
TO SEND MAP
Sending Map
CICS Triggers
Transaction Flow of ControlTransaction Flow of Control
Transaction Flow of Control
Screen Number ManipulationScreen Number Manipulation
Screen Number Ranges from 00 to 49Screen Number Ranges from 00 to 49 Pressing enter on 01 Screen will pass control to Second screenPressing enter on 01 Screen will pass control to Second screen After Successful edit, Perform AR60PD-EDIT-PAGE-NBR After Successful edit, Perform AR60PD-EDIT-PAGE-NBR
to edit the Screen numberto edit the Screen number If the user enters screen number, then the corresponding If the user enters screen number, then the corresponding
screen will be displayedscreen will be displayed If the user enters Invalid Screen Number (NBR > MAX If the user enters Invalid Screen Number (NBR > MAX
Screen NBR) then Last Screen will be displayedScreen NBR) then Last Screen will be displayed If the user enters Non Numeric Value, next screen will be If the user enters Non Numeric Value, next screen will be
displayeddisplayed
Thank YouThank You