Title, Topic

Programmieren: CICS Customer Information Control System (Page 4).doc

®
Page 4 of 4
[1] [2] [3] [4]
Faculty
Information Science
Discipline
Information Technology / Computer Science
Document category
Notes
University, School
HTL Villach
Additional information
1997
Responsible User
This text has been add by user odom257 on 2008-09-30. Disclaimer
Popularity
957  visits
Document length
~3.738  Words
~20.619  Chars
Rating
Networking




















More documents
Information Technology / Computer Science

Prozessregelung und Rechnerverbund Netzwerke
LAN Local Area Network 10 Mbit/s 40, 100 à WAN Wide Area Network 28800, 64 kBit/s , 128 kBit/s GAN Global Area Network ATM ab 238 kBit/s Cluster BS CPU1 CPU2 CPU3 Termina


10.1;20 11.1;20

10.1;50

A2 A1

A1

Concatinated Segment

Concatinated Segment


DPCK


DP LC

(destination (intersect.Data)

Parent)

Virtual Logical Child


Artikel LP Lieferant PP


Lieferung Lieferung

Real LC

Virtual LC

Siehe Zettel für weitere Übungen

4.    DL1-Befehle (HLPI)

4.1.            Befehle im Überblick

27

10 Skill

Skill Clerk

Cartist

24

17 Name

11 Name Smith

Name Jones

Adams

14 16 20 23 26

13 15 19 22 25

Experien Educat 18 Experien 21 Educat Educat

12

EXEC DL1 GET NEXT INTO (IOAREA) END-EXEC.

Von akt. Pos das nächste Segment das die Anforderung erfüllt

EXEC DL1 GET NEXT SEGMENT(NAME)

WHERE (NAMEDE =‛JONES‛) INTO ..

Position Pointer zeigt immer auf das logisch nachfolgende Segment.

Parentage Pointer zeigt auf das zuletzt gelesene Segment.

EXEC DL1 GET UNIQUE SEGMENT (SKILL) INTO (IO-AREA)

EXEC DL1 GET UNIQUE SEGMENT (SKILL) WHERE (SKCODE=‛Clerk‛)

SEGMENT (NAME) WHERE (LNAME=‛Miller‛ AND NAME =‛ Roger)

INTO (IO-AREA)

PosPTR....If fnd à next seg.

ParPTR....If fnd à seg.

GET NEXT IN PARENT

Voraussetzung: Parent Pointer ist gesetzt. (GET NEXT|GET UNIQUE)

GET UNIQUE SEGMENT(SKILL) WHERE (SKCODE=‛Clerk‛)

GET NEXT IN PARENT INTO (IO-AREA)

GET NEXT IN PARENT SEGMENT(NAME) INTO (..)

 

PosPTR.. next Seg.

ParPTR.. keine Änderung

 

INSERT

This paragraph has been concealed!
Download the complete document for free!
Programmieren: CICS Customer Information Cont[...].doc
• Click on download to get complete and readable text
• This is a free of charge document sharing network
• First upload your own document, and you get a word document per email
• No registration necessary, gratis
Swap homeworks and notes at no charge!
Gratis scripts for students and pupils!

SEGMENT (NAME) FROM (IO-AREA)

REPLACE

Voraussetzung: Parent Pointer ist gesetzt.

REPLACE SEGMENT (SKILL) FROM (IO-AREA)

DELETE

Voraussetzung Parent Pointer ist gesetzt

DELETE SEGMENT (SKILL) FROM (IO-AREA)

LOAD

CHECKPOINT Alle Änderungen können ab hier wieder rückgängig gemacht werden

SCHEDULE

SCHEDULE PSB(PSB-NAME)

Cics Progr PSB


A

A

B C

A B C

C

D E D E

II CMS

1. Überblick


Dev.

CMS CICS CICS Batch CICS


CP VSE[MVS]


VM

Console

VM Virtual Machine

CP Control Programm

CMS Time Sharing System

VSE Virtual Storage Extendet Batch

CICS Transaktions System

An/Abmelden

Dos Booten

/ETC/hosts

tcp starten

tn vm

4a##

4adt/4eob

AINSRT2


Perform Test-Edit-Map

If NO Employee-No

Y N

Prepare Perform Insert-Emp

Message If File = OK

„No Emp. Y N

No à not IF Map = Ok Prepare Mes s

Saved „Not saved(File Err)“

Y N

Prepare Mess Prepare Mess

„emp saved“ „saved but“

Perform SHOW-EDIT-MAP with Message

Return to CNTRL

Test-Edit-Map


Receive Edit-Map

Save Map Contents to CA

IF one of the emp-fields = Low Value

Y N

Map = not OK Map = OK

01 Map Flag

88 MapOK

88 MapNOTok

88 No EmplNo

ASHOW-1

MAIN

Perform TESTMAP

If MAP = OK

Y N

PERFORM Read-Empl %

Perform Prepare-Error-Message

Perform Show-MAP

 

Test-MAP

IF PROC-NAME = LOW

Y N

Perform Analyse-Start-MAP Perform Analyse-Edit-Map

This paragraph has been concealed!
Download the complete document for free!
Programmieren: CICS Customer Information Cont[...].doc
• Click on download to get complete and readable text
• This is a free of charge document sharing network
• First upload your own document, and you get a word document per email
• No registration necessary, gratis
Swap homeworks and notes at no charge!
Gratis scripts for students and pupils!

Y N

Move ‚Show1‛ to Proc-Name Map not OK

Map = OK

Read-Employee

Read Employee WITH KEY Emp-Name

Evaluate Read


Normal Duplic NAME Other

FILE = OK File = Duplic Key File not OK

Prepare-Error-Msg

IF MAP not OK

Y N

IF Proc-Name Evaluate File Flag

Y N

No Name to No Name to OK DUP Other

Startmap Editmap Found at least on not found


E-Name

E-Match


Pf? <ESC>


MA <Enter>


ABROWSE

 

START


ESC

Match


PF5 PF8/PF7 Enter


Code No Empl Sal Manager


10

PF7 à Page Up

PF8 à Page Down

a)                  Map ..ABROWMS

BrLINE..,LENGTH=79

OCCURS=10

b)                 CNTRL-WRGKEY

c)                  ABROWSE1.. füllt Queue

d)                 ABROWSE2..Ausgeben

Browse1

INIT-THINGS

Browse à Process-Name

Init Queue-Name

Init BrowseNumber(Commarea) auf 0 setzen

Delete Queue

ANALYSE-START-MAP

Receive Match-Name

If ‚*‛ à alle empl-expected

SET FIRST EMPL

If Matchname=VALID à Read First Matching Empl

If MatchName not VALID or * à Read First empl + Message (not found)

READ RECORDS & SAVE INTO QUEUE

UNTIL Last Matching Emloyee or EOF


Move ReadRecord to BrLine-Template (Druckaufbereitetes Record)

WRITE Br-Templ INTO QUEUE

BrowseNumber++

ReadNext Empl.

Browse2

SET-QUEUE-NAME

CALCULATE BROWSE POS

IF Pf7......Minus10

IF Pf8......Plus 10

If Coming from Browse1..Pos=1

Check Valid Range

PERFORM 10*

READ FROM QUEUE INTO MAP.BrLINE( i )

This paragraph has been concealed!
Download the complete document for free!
Programmieren: CICS Customer Information Cont[...].doc
• Click on download to get complete and readable text
• This is a free of charge document sharing network
• First upload your own document, and you get a word document per email
• No registration necessary, gratis
Swap homeworks and notes at no charge!
Gratis scripts for students and pupils!

SET CURSOR TO 1st POSITION

SEND MAP [ERASE]

IN Browse2 Code Eingeben; beim Blättern bleibt dieser Code erhalten
D..Delete
Code wird erst bei Enter ausgeführt.

Achtung: Kann ein Datensatz nicht gelöscht werden, so wird keiner Gelöscht à Transaktion not completed

Nach Enter einzelne Records mit Read Update lesen und vergleichen ob sich etwas verändert hat.
Delete nur mit NR die nirgends ein Manager sind. !

U..Update

Managernummer ändern; überprüfen ob Managernummer mit einer Mitarbeiternummer übereinstimmt.


Page 4 of 4
[1] [2] [3] [4]


swopdoc.com ist not responsible for the content of this text provided by third parties

Legal info - Copyright - Terms - Partner - Statistik - Contact
antiblock.org adblockdetector.com

Swap your documents