Top Banner
1 ADS/O APPLICATION DEVELOPMENT SYSTEM / ONLINE
65
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: ADSO

1

ADS/O

APPLICATION DEVELOPMENT SYSTEM / ONLINE

Page 2: ADSO

2

INTRODUCTION

The CA-ADS is a tool used to develop modular applications.

Activities such as flow-of-control processing, data storage

definition, data verification, editing, error handling, terminal input

and output, menu creation, and menu display are specified by

using a series of screens.

Add process logic Process and retrieve data from

IDMS database, Online entries,

Page 3: ADSO

3

Typical steps when creating a CA-ADS application

• Data analysis• User requirements• System requirements

• Define the application structure (Online tool: ADSA)

• Define the prototype maps (Online tool: MAPC)

• Define the prototype dialogs (Online tool: ADSC)

• Create the process module (Online tool: IDD)

• Enhance maps and dialogs (Online tools: MAPC, IDD)

Analyze the system

Develop an executable prototype

• Implement production application

Develop the test application

Page 4: ADSO

4

ADS Application Components Application Functions (A named procedure or activity

within an application) Dialogs (A dialog enables interaction

between the user and the application)

Page 5: ADSO

5

ADS Application Components

Responses A named entity that establishes a relationship

between two functions Processing control is directed by the valid

responses of a function The screen may list valid responses A response can be a control key or A response value entered in the response field

by the user

Page 6: ADSO

6

Processes Maps Sub-schemas Data Records Tables

Page 7: ADSO

7

ADS Application Structure

Page 8: ADSO

8

ADS Features Scratch Management

Temporary storage Access by Name, Record Id Currency maintenance

Queue management Recoverable across system shutdown Sequentially, Randomly accessible Automatic Trigger Initiation Randomly Delete-able Both-end insertion

Page 9: ADSO

9

ADS Features Different types of Control flow

Execute next function Invoke dialog Link dialog Transfer dialog Return [dialog] Leave Display Continue

Subroutines Include modules

Page 10: ADSO

10

ADSAAdd Modify Compile Delete Display Switch ._______________________________________________________________________.

CA-ADS Application Compiler

Computer Associates International, Inc.

Application name . . . . afso___ Application version . . 1____ Dictionary name . . . . AFSODICT Dictionary node . . . . ________

Screen . . . . . . . . . _ 1. General options 2. Responses and Functions 3. Global records 4. Task codes

Copyright (C) 1972,1996 Computer Associates International, Inc.

Command ===> Enter F1=Help F3=Exit F10=Action

Page 11: ADSO

11

ADSAAdd Modify Compile Delete Display Switch ._______________________________________________________________________. | | CA-A | 1 1. Browse | ler | 2. Summary | Computer |----------------| onal, Inc. | F3=Exit | |________________|

Application name . . . . AFSO Application version . . 1 Dictionary name . . . . AFSODICT Dictionary node . . . . ________

Screen . . . . . . . . . _ 1. General options 2. Responses and Functions 3. Global records 4. Task codes

Command ===> Enter F1=Help F3=Exit F10=Action

Page 12: ADSO

12

ADSAGeneral Options Page 1 of 2

Application name: AFSO Version: 1

Description . . . AFSO SYSTEM (PROD)

Maximum responses . . . . . . . 500

Date format . . . . .. . . . . . . 1 1. mm/dd/yy 2. dd/mm/yy 3. yy/mm/dd 4. yy/ddd

Execution environment . . . . . . 1 1. Online 2. Batch

Default execution mode. . . . . . 2 1. Step 2. Fast

Default print destination . . . . . . . . .

Default print class . . . . . . . . . . . . 1

Enter F1=Help F3=Exit F4=Prev F5=Next F8=Fwd

Page 13: ADSO

13

ADSAResponse/Function List Page 1 of 70

Application name: AFSO Version: 1

Select Response Assigned Select Function Program/ (/) name key (/) name/type(1,2,3)* Dialog name

_ MMENU _____ _ MMENU-F / 3 AFMMENU

_ T1 _____ _ T1-F / 3 AFSMENU

_ T2 _____ _ T2-F / 3 AFSMENU2

_ T3 _____ _ T3-F / 3 AFSMENU2

_ T4 _____ _ T4-F / 3 AFSMENU

_ T5 _____ _ T5-F / 3 AFSMENU2

* Type: 1. Dialog 2. Program 3. Menu

Enter F1=Help F3=Exit F4=Prev F5=Next F6=Search F7=Bkwd F8=Fwd

Page 14: ADSO

14

ADSAGlobal Records Page 1 of 1

Application name: AFSO Version: 1

Record name Version Drop record (/) 1. ADSO-APPLICATION-GLOBAL-RECORD 1 _

2. DC-ADS-PASSED-DATA 1 _

3. CLCED999-PASSED-DATA 1 _

4. ________________________________ ____ _

5. ________________________________ ____ _

6. ________________________________ ____ _

7. ________________________________ ____ _

8. ________________________________ ____ _

Enter F1=Help F3=Exit F4=Prev F5=Next F7=Bkwd F8=Fwd

Page 15: ADSO

15

ADSATask Codes Page 1 of 1

Application name: AFSO Version: 1

Task Code Function Drop (/) 1. AFSO MMENU-F _

2. AFSOMGR MMENU-F _

3. VRU MMENU-F _

4. ________ ________ _

5. ________ ________ _

6. ________ ________ _

7. ________ ________ _

8. ________ ________ _

Enter F1=Help F3=Exit F4=Prev F5=Next F7=Bkwd F8=Fwd

Page 16: ADSO

16

Dialog components

Maps

Format of screen

A dialog can have only one map

Contains literal fields, associated with variable fields

Dialogs can be map less too

Processes

consists of procedural code

can have one premap process & no. of response processes

subschemas

provide a view of database

Page 17: ADSO

17

Dialog components

Record Definitions

Database records

map records

work records

Page 18: ADSO

18

ADSCAdd Modify Compile Delete Display Switch .________________________________________________________________________.

CA-ADS Online Dialog Compiler

Computer Associates International, Inc.

Dialog name . . . . . . . PMBDZODS Dialog version . . . . . ___1 Dictionary name . . . . . CNIDICDB Dictionary node . . . . . ________

Screen . . . . . . . . . _ 1. General options 2. Assign maps 3. Assign database 4. Assign records and tables 5. Assign process modules

Copyright (C) 1972,1996 Computer Associates International, Inc.

Command ===> Enter F1=Help F3=Exit F10=Action

Page 19: ADSO

19

ADSCAdd Modify Compile Delete Display switch.________________________________________________________________.

CA-ADS Online Dialog Compiler

Computer Associates International, Inc.

Dialog name . . . . . . . TATA0001 Dialog version . . . . . 1 Dictionary name . . . . . CNIDICDB Dictionary node . . . . . ________

Screen . . . . . . . . . _ 1. General options 2. Assign maps 3. Assign database 4. Assign records and tables 5. Assign process modules

DC498104 Dialog does not exist. Use the ADD action to create or copy thedialog.

Command ===> Enter F1=Help F3=Exit F10=Action

Page 20: ADSO

20

ADSCAdd Modify Compile Delete Display Switch._______________________________________________________________________. | | | Copy from dialog | CA-ADS Online Dialog Compiler | Name ________ | | Version ____ |puter Associates International, Inc. |---------------------| | F3=Exit | |_____________________| Dialog name . . . . . . . PARA0001 Dialog version . . . . . 1 Dictionary name . . . . . CNIDICDB Dictionary node . . . . . ________

Screen . . . . . . . . . _ 1. General options 2. Assign maps 3. Assign database 4. Assign records and tables 5. Assign process modules

DC498104 Dialog does not exist. Use the ADD action to create or copy thedialog.

Command ===> Enter F1=Help F3=Exit F10=Action

Page 21: ADSO

21

ADSCAdd Modify Compile Delete Display Switch.____________________________________________________________________.

CA-ADS Online Dialog Compiler

Computer Associates International, Inc.

Dialog name . . . . . . . PARA0001 Dialog version . . . . . 1 Dictionary name . . . . . CNIDICDB Dictionary node . . . . . ________

Screen . . . . . . . . . 1 1. General options 2. Assign maps 3. Assign database 4. Assign records and tables 5. Assign process modules

DC498110 Dialog PARA0001 version 1 has been ADDED

Command ===> Enter F1=Help F3=Exit F10=Action

Page 22: ADSO

22

ADSCAdd Modify Compile Delete Display Switch .______________________________________________________________________. | | | _ 1. Checkout | Online Dialog Compiler | 2. Release | | 3. List Checkouts |ssociates International, Inc. |-----------------------| | F3=Exit | |_______________________| Dialog name . . . . . . . PARA0001 Dialog version . . . . . 1 Dictionary name . . . . . CNIDICDB Dictionary node . . . . . ________

Screen . . . . . . . . . 1 1. General options 2. Assign maps 3. Assign database 4. Assign records and tables 5. Assign process modules

Command ===> Enter F1=Help F3=Exit F10=Action

Page 23: ADSO

23

ADSCAdd Modify Compile Delete Display Switch ._______________________________________________________________________. | | | _ 1. Compile | Dialog Compiler | 2. View messages | |----------------------|es International, Inc. | F3=Exit | |______________________|

Dialog name . . . . . . . PARA0001 Dialog version . . . . . 1 Dictionary name . . . . . CNIDICDB Dictionary node . . . . . ________

Screen . . . . . . . . . 1 1. General options 2. Assign maps 3. Assign database 4. Assign records and tables 5. Assign process modules

Command ===> Enter F1=Help F3=Exit F10=Action

Page 24: ADSO

24

ADSCAdd Modify Compile Delete Display Switch .____________________________________________________________________. | | | _ 1. Delete changes | piler | 2. Delete dialog | |-----------------------| ional, Inc. | F3=Exit | |_______________________|

Dialog name . . . . . . . PARA0001 Dialog version . . . . . 1 Dictionary name . . . . . CNIDICDB Dictionary node . . . . . ________

Screen . . . . . . . . . 1 1. General options 2. Assign maps 3. Assign database 4. Assign records and tables 5. Assign process modules

Command ===> Enter F1=Help F3=Exit F10=Action

Page 25: ADSO

25

ADSCAdd Modify Compile Delete Display Switch .______________________________________________________________________. | | | 2 1. Delete changes | piler | 2. Delete dialog | .__________________. |-----------------------| io | | | F3=Exit | | Confirm Delete | |_______________________| | 2 1. Reject | | 2. Confirm | Dialog name . . . . . . . PARA0001 |------------------| Dialog version . . . . . 1 | F3=Exit | Dictionary name . . . . . CNIDICDB |__________________| Dictionary node . . . . . ________

Screen . . . . . . . . . 1 1. General options 2. Assign maps 3. Assign database 4. Assign records and tables 5. Assign process modules

Command ===> Enter F1=Help F3=Exit F10=Action

Page 26: ADSO

26

ADSCAdd Modify Compile Delete Display Switch .____________________________________________________________________. | | CA-AD | _ 1. Browse | | 2. Summary | Computer | 3. Map image | Inc. | 4. Print Summary | |----------------------| | F3=Exit | Dialog name . . . . . . . |______________________| Dialog version . . . . . 1 Dictionary name . . . . . CNIDICDB Dictionary node . . . . . ________

Screen . . . . . . . . . 1 1. General options 2. Assign maps 3. Assign database 4. Assign records and tables 5. Assign process modules

Command ===> Enter F1=Help F3=Exit F10=Action

Page 27: ADSO

27

ADSCMap Specifications

Dialog PMGCC0DS Version 1

| Map name . . . . PMGCC0MM | Input map . . . . . ________ Version . . . . . 1 | Version . . . . . . ____ | Label . . . . . . . ________ Paging options _ 1. Wait | 2. No Wait | Output map . . . . ________ 3. Return | Version . . . . . . ____ | Label . . . . . . . ________ Paging mode . . . _ Update | _ Backpage | Suspense file label ________ _ Auto display | |

Enter F1=Help F3=Exit F4=Prev F5=Next F6=Switch Protection

Page 28: ADSO

28

ADSCDatabase Specifications

Dialog PMGCC0DS Version 1

Subschema . . . . . . . . . . . . CISSPMXA Schema . . . . . . . . . . . . . CISCPMX0 Version . . . . . . . . . . . . . 1

Access Module . . . . . . . . . . PMGCC0DS

SQL Compliance . . . . . . . . . _ 1. ANSI-standard SQL 2. FIPS

Date Default Format . . . . . . . _ 1. ISO 2. USA 3. EUR 4. JIS Time Default Format . . . . . . . _ 1. ISO 2. USA 3. EUR 4. JIS

Enter F1=Help F3=Exit F4=Prev F5=Next

Page 29: ADSO

29

ADSCRecords and Tables Page 1 of 2

Dialog PMGCC0DS Version 1 Name Version Work New copy Drop

1. PMBKG61R 1 / _ _

2. PM0001CR 1 / _ _

3. PMB000CR 1 / _ _

4. PMGCC0WR 1 / _ _

5. PM0004CR 1 / _ _

6. PMAUTM0C 1 / _ _

7. PM0012CR 1 / _ _

DC498250 Record 1 is defined in the map.

Enter F1=Help F3=Exit F4=Prev F5=Next F7=Bkwd F8=Fwd

Page 30: ADSO

30

ADSCProcess Modules Page 1 of 3

Dialog PMGCC0DS Version 1 Name PMGCC0PM 2 Type Version 1 _ Execute on errors Key _____ Value ________________________ _ Drop

Name PMGCCCPR 3 Type Version 1 / Execute on errors Key PF3 Value ________________________ _ Drop

Name PMBPREPC 3 Type Version 1 / Execute on errors Key PF4 Value ________________________ _ Drop

Name PMBNXTPC 3 Type Version 1 / Execute on errors Key PF5 Value ________________________ _ Drop

* Type : 1=Declaration 2=Premap 3=Response 4=Default Response

Enter F1=Help F3=Exit F4=Prev F5=Next F7=Bkwd F8=Fwd

Page 31: ADSO

31

MAPCAdd Modify Compile Delete Display Switch ._____________________________________________________________________.

CA-IDMS Online Map Compiler

Computer Associates International, Inc.

Map name . . . . . . . . ________ Map version . . . . . . ____ Dictionary name . . . . CNIDICDB Dictionary node . . . . ________

Screen . . . . . . . . . _ 1. General options 2. Map-Level help text definition 3. Associated records 4. Layout 5. Field definition

Copyright (C) 1972,1996 Computer Associates International, Inc.

Command ===> Enter F1=Help F3=Exit F10=Action

Page 32: ADSO

32

MAPCGeneral Options Page 1 of 2

Map name: PMBDZ0MM Version: 1

Description. . . ________________________________________

Type . . . . . . 1 1. Standard 2. Pageable 3. Videotex

Screen sizes (/) / 24 by 80 / 32 by 80 / 43 by 80 / 27 by 132

Automatic editing (/) . . . . / Decimal point is comma (/) . . _ Message prefix . . . . . . . . DC Display options Unlock keyboard (/). . . . . . . . . . / Turn off MDT (/) . . . . . . . . . . . / Alarm options Sound alarm on mapout (/). . . . . . . _ Sound alarm on edit error (/). . . . . _ Print options Print screen when displayed (/). . . . _ (3820-type) Line control 1 1.No formatting 3. 64 chars per line 2.40 chars per line 4. 80 chars per line DC366704 Select map options

F1=Help F3=Exit F4=Prev F5=Next F6=Preview F8=Fwd

Page 33: ADSO

33

MAPCAssociated Records Page 1 of 1

Map name: PMBDZ0MM Version: 1

Record name Version Role name Drop (/) 1 PMBDZ0MR 1 ________________________________ _

2 PMBKG61R 1 ________________________________ _

3 ________________________________ ________________________________ _

4 ________________________________ ________________________________ _

5 ________________________________ ________________________________ _

6 ________________________________ ________________________________ _

7 ________________________________ ________________________________ _

DC366604 Specify the map records

F1=Help F3=Exit F4=Prev F5=Next F6=Preview F7=Bkwd F8=Fwd F9=Autopaint

Page 34: ADSO

34

MAPC-PMBDZ0MM -BOOKING SUBSYSTEM -DATE-__________ -MAINTAIN BOOKING DATA - DATES/GUARANTORS -TIME-_____

-ACCOUNT SCHEDULE:-_______---___---------------------------------------------------------------------------------CUST-______________________________-OFFICE-______-PROD US-______-LOCAL-______--------------------------------------------------------------------------------

REGULAR RENT PERIOD:-___ FIRST ACTIVITY:-__-/-__-/-____

-PURCHASE/CONTRACT DATE:-__-/-__-/-____ -LEASE BEGIN:-__-/-__-/-____-_______________________-__-_-__-_-____ _________________-__-_-__-_-____ -YEAR BOOKED:-____ ACCRUAL DEFAULT MTHS:-___

-FIRST DUE DATE:-__-/-__-/-____ PAYMENT INTERVAL:-_-ADVANCE/ARREARS:-___ DATE FINANCE BEGINS:-__-/-__-/-____ -ADV/ARR SWITCH: -___ -PLANNED END DATE:-__-/-__-/-____ TOTAL MATURITY:-___ -FLOAT RATE PRODUCT?: -_-__________-__-CC/CD?:-_ -COVENANT?:-_ INVOICE OVERRIDE DATE:-__-/-__-/-____ -OWNER/TRUSTEE:-________________________ ...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8

Enter F1=Help F2=Select F3=Exit F4=Prev F5=Next F6=Preview F8=Bottom F9=SetCursor F10=Deselect F11=AltKeys Drop all selected fields: _

Page 35: ADSO

35

ADSLRelease 14.1 E1GJ1B CA-ADS and MAPPING Checkout Lists

Tool . . _ 1. ADSC 2. ADSA 3. MAPC 4. ALL

User . . __________________

All Users _ (/)

Copyright (C) 1972,1998 Computer Associates International, Inc.

Enter F1=Help F3=Exit

Page 36: ADSO

36

ADSMRelease 14.1 E1GJ1B CA-ADS and MAPPING Checkout Modification

Action . . . . . . _ 1. Delete 2. Reassign

Tool . . . . . . . _ 1. ADSC 2. ADSA 3. MAPC

Entity name . . . . ________

Entity version . . ____

Entity dict . . . . CNIDICDB

Entity node . . . . ________

Reassign to user . __________________

Copyright (C) 1972,1996 Computer Associates International, Inc. Enter F1=Help F3=Exit

Page 37: ADSO

37

DMECA-IDMS/DME R14.1 --- DME Main Menu ---------------- 06:05 11/09/00 OPTION ===> USEAMEN

PRINT CLASS ==> 01 TCF: OFF

1 Module - Select a Module 2 Class/Attribute - Select by Class/Attribute Combination 3 Dialog - Select by Dialog Name S Signon - Display or Change User Signon or Dictionary T Help - Display Tutorial for DME W Workpad - Provide Workpad for Compiler Interface

X Exit - Exit from DME

Dictionary Module Editor - DME

Copyright (c) 1984-1996 Computer Associates International, Inc.

Page 38: ADSO

38

DMECA-IDMS/DME R14.1 --- Dialog Selection ------------------ 10:5611/09/00 COMMAND ===>USEADSL

DICTIONARY : CNIDICDB NODE :

DIALOG NAME ==> PMBDZ0DS VERSION ==> 0001

MASK ==> -or- PREFIX ==>

SORT DIALOG LIST? ==> Y

Page 39: ADSO

39

DMECA-IDMS/DME R14.1 --- Process List ------------------------ 11:0411/09/00 COMMAND ===> USEAPSL

DICTIONARY: CNIDICDB NODE: DIALOG: PMBDZ0DS VERSION: 0001

DATE DATE PF PROCESS NAME VERS CREATED UPDATED TYPE KEY PMBDZ0PM 0001 06/10/88 05/10/00 PREMAP PGMREXIT 0001 05/18/84 02/09/93 RESPONSE PA2 PMBDZCPR 0001 05/07/85 03/23/00 RESPONSE PF3 PMBDZLPR 0001 06/10/88 10/18/00 RESPONSE ENTR PMBNXTPC 0001 06/04/85 02/09/93 RESPONSE PF5 PMBPREPC 0001 06/04/85 01/26/94 RESPONSE PF4 PMCLERPC 0001 04/19/84 08/04/93 RESPONSE CLR PMEXITPC 0001 05/16/84 08/09/99 RESPONSE PF12 PMINFOPC 0001 04/24/84 10/30/97 RESPONSE PF9 PMLVL6PC 0001 05/28/85 02/09/93 RESPONSE PF10 U800FRST 0001 04/10/84 10/30/97 INCLUDE U801INIT 0001 05/11/84 10/30/97 INCLUDE **END**

Page 40: ADSO

40

DMECA-IDMS/DME R14.1 --- Module Selection --------------- 11:08 11/09/00 COMMAND ===> USEAMSL

DICTIONARY: CNIDICDB NODE:

ACTION ==> B (A=Add/B=Browse/E=Edit/X=Execute)

MODULE NAME ==> U800FRST VERSION ==> 0001 LANGUAGE ==> PROCESS

If the "Execute" Action has been selected, enter the compiler to execute: COMPILER ==>

Page 41: ADSO

41

IDDIDD 14.1 ONLINE NO ERRORS DICT=CNIDICDB 1/965DISPLAY RECORD PMBDB0MR*+ ADD*+ RECORD NAME IS PMBDB0MR VERSION IS 1*+ DATE CREATED IS 10/19/93*+ DATE LAST UPDATED IS 03/23/00*+ TIME LAST UPDATED IS 00545768*+ PREPARED BY G1NXLMT*+ REVISED BY G1NX18T*+ RECORD LENGTH IS 762*+ PUBLIC ACCESS IS ALLOWED FOR ALL*+ RECORD NAME SYNONYM IS PMBDB0MR VERSION 1*+ PREFIX IS BDBM-*+ COPIED INTO MAP PMBDB0BW VERSION 1 WITHIN PANEL PMBDB0BW-OLMPANEL*+ VERSION 1*+ COPIED INTO MAP PMBDB0MM VERSION 65 WITHIN PANEL*+ PMBDB0MM-OLMPANEL VERSION 65*+ COPIED INTO MAP PMBDB0MM VERSION 1 WITHIN PANEL PMBDB0MM-OLMPANEL*+ VERSION 1*+ COPIED INTO PROGRAM PMBDB0DI VERSION 1*+ TEXT IS W*+ COPIED INTO PROGRAM PMBDB0DS VERSION 1*+ TEXT IS ' M'*+ COPIED INTO PROGRAM PMBDB0DU VERSION 1

Page 42: ADSO

42

IDDMCOMPUTER ASSOCIATES INTERNATIONAL CAGJE1

IDD REL 14.1 *** MASTER SELECTION *** TOP ->

DICTIONARY NAME...: CNIDICDB NODE NAME..:

USER NAME.........: PASSWORD..........:

USAGE MODE........: X UPDATE _ RETRIEVAL

PFKEY SIMULATION..: X OFF _ ON

_ ATTR = ATTRIBUTE <PF2> _ PROC = PROCESS <PF3> _ CLAS = CLASS <PF4> _ PROG = PROGRAM <PF5> _ ELEM = ELEMENT <PF6> _ RECD = RECORD <PF7> _ FILE = FILE <PF8> _ TABL = TABLE <PF9> _ MODU = MODULE <PF10> _ USER = USER <PF11> _ ENTL = USER DEFINED ENTITY LIST _ SYST = SYSTEM _ MSGS = MESSAGE _ QFIL = QFILE _ OPTI = OPTIONS _ DISP = DISPLAY ALL _ HELP = HELP <PF1>

Page 43: ADSO

43

IDDMCOMPUTER ASSOCIATES INTERNATIONAL CAGJE1

IDD REL 14.1 *** MASTER SELECTION *** TOP ->

DICTIONARY NAME...: CNIDICDB NODE NAME..:

USER NAME.........: PASSWORD..........:

USAGE MODE........: X UPDATE _ RETRIEVAL

PFKEY SIMULATION..: X OFF _ ON

_ ATTR = ATTRIBUTE <PF2> _ PROC = PROCESS <PF3> _ CLAS = CLASS <PF4> _ PROG = PROGRAM <PF5> _ ELEM = ELEMENT <PF6> _ RECD = RECORD <PF7> _ FILE = FILE <PF8> _ TABL = TABLE <PF9> _ MODU = MODULE <PF10> _ USER = USER <PF11> _ ENTL = USER DEFINED ENTITY LIST _ SYST = SYSTEM _ MSGS = MESSAGE _ QFIL = QFILE _ OPTI = OPTIONS _ DISP = DISPLAY ALL _ HELP = HELP <PF1>

Page 44: ADSO

44

OLQSIGNON SS=CISSPMXA

OLQ 107017 00 CA-OLQ Release 14.1 OLQ 107019 00 Copyright(C) 1972,1998 Computer Associates International,Inc. OLQ 091057 00 Please enter next command.

_ HELP = HELP <PF1>

Page 45: ADSO

45

OLQSIGNON SS=CISSPMXA

OLQ 100021 00 Ready to retrieve data from subschema CISSPMXA OLQ 100022 00 Schema: CISCPMX0 Version: 1 OLQ 100023 00 Database name: CEFDV01A OLQ 100025 00 Dictionary name: CNIDICDB

Page 46: ADSO

46

OLQOBTAIN R7270-ACCT-SCHED WHERE CALC=4111061001

R7270-ACCT-SCHED R7270-ACCT-SCHED-DBKEY : 4784113:17 AS-R7270-KEY : AS-NBR-ACCT-SCHED : AS-NBR-ACCT : 4111061 AS-NBR-SCHED : 1 AS-R7270-DATA : AS-TYPE-PRODUCT : NITRLS AS-LOCATION : MNCLNI AS-CODE-CORP : 001 AS-NBR-PAYEE : 00980A AS-IND-PART-ELIM-ACCT : N AS-SSN : AS-SSN-1 : 343 AS-SSN-2 : 46 AS-SSN-3 : 3621 AS-CODE-DOC : 04 AS-CODE-RECOURSE-PLAN : 04 AS-CODE-MARKET-PLAN : ZZY ... CONTINUED

Page 47: ADSO

47

OLQOBTAIN NEXT R7483-AR-OPEN WITHIN R7270-R7483

R7483-AR-OPEN R7483-AR-OPEN-DBKEY : 4914973:2 ARO-R7483-DATA : ARO-TIMESTAMP : ARO-TIMESTAMP-DATE : ARO-TIMESTAMP-YR : 2000 ARO-TIMESTAMP-MO : 10 ARO-TIMESTAMP-DAY : 19 ARO-TIMESTAMP-TIME : ARO-TIMESTAMP-HR : 9 ARO-TIMESTAMP-MIN : 21 ARO-TIMESTAMP-SEC : 48 ARO-CODE-FEE : 100 ARO-AMT-ORIG : 65116.31 ARO-AMT-REMAIN : 65116.31 ARO-IND-INVOICE : Y ARO-NBR-INVOICE-CURR : 7411652 ARO-NBR-INVOICE-ORIG : 7411652 ARO-DATE-INVOICE : ... CONTINUED

Page 48: ADSO

48

OLQOBTAIN OWNER WITHIN R7270-R7483

R7270-ACCT-SCHED R7270-ACCT-SCHED-DBKEY : 4784113:17 AS-R7270-KEY : AS-NBR-ACCT-SCHED : AS-NBR-ACCT : 4111061 AS-NBR-SCHED : 1 AS-R7270-DATA : AS-TYPE-PRODUCT : NITRLS AS-LOCATION : MNCLNI AS-CODE-CORP : 001 AS-NBR-PAYEE : 00980A AS-IND-PART-ELIM-ACCT : N AS-SSN : AS-SSN-1 : 343 AS-SSN-2 : 46 AS-SSN-3 : 3621 AS-CODE-DOC : 04 AS-CODE-RECOURSE-PLAN : 04 AS-CODE-MARKET-PLAN : ZZY ... CONTINUED

Page 49: ADSO

49

Typical ADS/O Process

Premap

Map

Pf1 Pf2 Pf3 Pf3

Responseprocess-1 Response

process-2Responseprocess-3

Responseprocess-4

Premap process

Mapout process

Mapin process

Response selection

Response process

Page 50: ADSO

50

ADS/O Process commands

• ADS/O process Commands•Map display commands•Dialog control commands•Database access commands•Process commands

Page 51: ADSO

51

ADS/O Process Commands

Arithmetic commands

Add

Compute

Divide

Move

Multiply

Subtract

Page 52: ADSO

52

ADS/O Process Commands

Conditional commands

IF/THEN/ELSE - NEXT Conditional testing

WHILE/EXIT repeats the commands

DO/END executes the group of commands

Subroutine Control Commands

CALL passes control to predefined

subroutines

DEFINE defines subroutine

GOBACK terminates subroutine

INCLUDE includes source code in a process

Page 53: ADSO

53

ADS/O Process Commands

Dialog Control Commands

Invoke passes control to lower level dialog

Leave Terminates ADS/O application

Link passes control to lower level dialog

Return Returns controls to calling dialog

Transfer Transfers control to a dialog at

same level

Execute next function - Terminates a response process

Page 54: ADSO

54

ADS/O Process Commands

Queue Commands

Delete queue delete queue

records

Get queue retrieve queue

records

Put queue stores queue

records

Page 55: ADSO

55

ADS/O Process Commands

Scratch Commands

Delete scratch

Get scratch

Put scratch

Data base access Commands

Accept, Commit, Connect, Disconnect, Erase, Find, Get,

Keep, Modify, Obtain, Ready, Return DB-Key, Rollback, Store,

Map Commands

Display Map

Modify Map

Page 56: ADSO

56

ADS/O Process Commands

Utility Commands

Abort - aborts an application

Accept - retrieves runtime status info like

user-id, dialog name, terminal identifiers

Commit Task - writes a check point & releases

locks

Initialize records - reinitializes record buffers

Rollback Task - initiates task recovery procedures

Snap - requests a snapshot dump

Write printer - transmits data to a printer

Page 57: ADSO

57

Map display Commands

Display

to display Map on the terminal screen

mapout function

normally premap process ends with display command

can be used in response process too

Display continue

used in response process to display the map by

reexecuting the premap

DISPLAY MESSAGE TEXT IS 'INVALID PF KEY - REENTER'

Page 58: ADSO

58

Dialog control Commands

Invoke

passes control to a lower level dialog in the application structure

INVOKE “dialog name”

Return : passes control back in invoking dialog (map is displayed)

Return continue : passes control back in invoking dialog premap

process

Link

passes control to another dialog or program ( lower level )

Return : passes control to the next command in sequence

Page 59: ADSO

59

Dialog control Commands

Transfer

passes control to another dialog at same level,

first dialog becomes non operative

second dialog becomes operative

to go back to first, need to use Link/Invoke/Transfer

Leave

to terminate ADS/O application

control is passed back to Runtime system

Page 60: ADSO

60

Map Commands

Attribute commands

To change the attributes of the map fields

Ex: Brighten, Normalize, Protect & Unprotect

Modify Map

a single command to change no. of map fields

Page 61: ADSO

61

Do-end

if ’’’condition’’’

then

do.

--------------

--------------

end.

Else

do.

--------------

--------------

end.

Page 62: ADSO

62

While ‘’’ condition’’’

repeat.

-----------------------

----------------------

end.

Call subrtn-name.

Define subroutine subrtn-name.

Goback.

Page 63: ADSO

63

Like work records

allows to pass info between dialogs or programs

Maintained in data dictionary

Scratch records

data stored from dialogs executed at same terminal

cleared at the time of system start

Queue records

data stored from dialogs executed from any terminal

data maintained for few days even across system shutdowns

commands : PUT/GET/DELETE

Queue & Scratch management

Page 64: ADSO

COBOL / Structured Programming 64

64

Q & A ?

Page 65: ADSO

65

THANK YOU