Professional Documents
Culture Documents
I
I
I
--
EMPLOYEE PERSONNEL
INFORMATION
SYSTEM
SYSTEM DESCRIPTION:
The EMPLOYEE PERSONNEL INFORMATION SYSTEM (EPIS) is one of the modules of
the Integrated System called EMPLOYEE INFORMATION SYSTEM which contains
PAYROLL PROCESSING SYSTEM (PAY- PS), PENSION PROCESSING SYSTEM (PENPS), EPIS etc,
The main objective of this case study { EPIS } is to explore the Knowledge and skills you
have gained in CICS Theory session. The proposed module EPIS is a menu-driven system
which has the facility to add, update, delete and browse employee information by using
Pseudo-conversational technique. The employee information is held in VSAM-KSDS file
structure. This module contains 7 programs, 4 mapsets (one map per each mapset), 7 cles
trans-id (one each per program), One VSAM Base-cluster and 2 VSAM altemate clusters.
SYSTEM
FLOW
CHART
Ers
I
J
PAY PS
PENPS
MAIN MENU
I
ADO
UPDATE
DELETE
EMP-NAME
BROWSE
FILE STRUCTURE
1\.1_......", - 1.
I.....:1_
lie IQ'I''''''
EPISBCL
EPISBCL
key-Emp-NO
File Name - 2
EPISALN
EPISALN
Name
File Name
key
- Emp-Name
EPISAlD
EPISALD
Department
EmployeePersonalInformationSystemAlternatecluster by
Alternate key- E - Dept
SNO
1
2
3
4
SEX-CODE
M-STATUS
E - DOB
E - DOJ
LAST - 001
.9
II
F- NAME
LAST - DOP
Field Description
Employee Number
Employee Name
Father's Name
Sex Code
M - male F - Female
Martial status
S - Single M - Married
W - Widow / \'Vidower
Date OF Birth
dd / mm / yyyy
Date of Joining
dd / mm / yyyy
last Increment Date
ctt1/ mm / yyyy
last Promotion Date
type
Char
Char
Char
Char
Size
6
20
20
1
Char
Char
10
Char
10
Char
10
Char
10
Char
Char
Char
Num
Char
Char
Char
Char
10
10
10
5.2
20
20
6
7
dd I mm I yyyy
10
11
12
13
14
15
16
"7
!
Field Name
EMP-NO
EMP-NAME
E - DESIG
E - QUAL
E - DEPT
Basic - Pay
ADDR1
ADDR2
PINCODE
PNO
L-
BAL
Designation
Qualification
Department
Basic Pay
Address
Address
Pincode
Phone Number
leave
Balance
"I.........,
''''Utl.
PROGRAM SPECIFICATION
r~uurv'\l1I
{ M/\!N MENU}
This program will display a menu screen and the user can select the desired option
.:.iid hit ENTERto processor PF3to Exit
Input! Output
EMPLOYEE PERSONNEL INFORMATION SYSTEM
MAIN MENU
A
U
o
B
N
o
I
I
II
i
i
X
---,
PF3
Message
EXIT
ENTER - PROCESS
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
No Files
Process Logic
a)
Provide the facilities for possible exception conditions.
b)
If first time send the Map with erase option and return with trans-id else send
data only and return with trans-id
c)
Evaluate the EIBAID accordingly transfer the control to the specified
procedure name.
d)
Evaluate the option if valid transfer the control to the specified program using
XCTL else pass the error message to the screen.
Validations: a)
Validate the EIBAID keys
b)
Validate the options (valid options are A, U, D, S, N, 0)
System! Error Messages: a)
In case of possible exceptional conditions pas::>Uiefollo'vvingerror messages
PGMIDFFR Program Id error MAPFAIL- Mapfail Error, ERROR - Any other
errors.
b)
Option other than A, U, D, B, N, a Pass Invalid option" to Message.
Otherthan ENTF~ and PF3 pa;;s " ::1...~!idkey pressed" to Message.
I
J
I
PF3- EXIT, PF4- MAIN MENU, PF7- REFRESH SCREEN, ENTER PROCESS
INPUT- OUTPUT SCREEN:
TIME: HH : MM : SS
: XXXXXX
EMP-NAME
SEX-CODE
:X
FATHER-NAME
M-STATUS
DOB
DOJ
DOP
001
PHONE-NO
:X
: DD/MMIYYYY
: DDIMMfYYYY
: DDIMMIYYYY
: OD/MMNYVY
: XXXXXXX
QUAUFICA TION
DEPARTMENT
DESIGNATION
BASIC-PAY
LEAVE-BAL
ADDRESS1
:
:
:
:
:
:
XXXXXXXXXX
XXXXXXXXXX
XXXXXXXXXX
99999V99
999
XXXXXXXXXXXXXXXXXXXX
PINCODE
: XXXXXX
AOORESS2
II
ENTER-PROCESS
PF- EXIT
III
'.
MESSAGE: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
INPUT/OUTPUT FILE STRUCTURE: See the attached File Structure
PROCESS LOGIC:
a)
Handle exception conditions
b)
If first time send the Map with erase option and return with trans-id else send
data only and return with trans-id.
c)
Receive the map, evaluate the EIBAID and transfer the control accordingly.
d\I
Validate the received input information and if valid ADD record onto master file
else pass error message.
Validations:
a)
EMP-NO should be unique.
b)
SEX-CODE will be M or F.
c)
M-STATUS will be S or M or W.
d)
BASIC-PAY should be numeric.
System I Error I Messages:
a)
In case of possible exceptionai conditions pass the foHo.:..ingerror messages
PGMIDERRb)
Any other
errors.
Other than ENTER, PF3, PF4 and PF7 pass "Invalid key pressed" to Message.
RESP errors like (DUPREC} ta Me5~a!Jt;>.
of PF Keys:
a)
b)
c)
Validations: a)
b)
c)
d)
Handleexceptionconditions.
.
Unproted the EMP-NOfield and protectall other fields and send the
map. Receive EMP-NO only and checks for the existence of the
record, if exists prated EMP-NOfield and unproted all the fields and
send the employee information. Ask the user to modify the
informations.
Receivethe map,if PF6 updatethe information's,else undochanges.
EMP-NO should not be changed.
SEX-CODE will be M or F.
M-STATUS will be S or M or W.
BASIC-PAY should be numeric.
a)
b)
a)
PGMIDERR
ERROR- Any
other errors.
Otherthan ENTER,PF3. PF4, PF6 and PF7pass"InvalidKey pressed'
to Message.
RESP errors like (INVREQ)to Message.
PROGRAM 4
-----
Information)
This program is used t~ delete existing employee record in the master file. Receive
the EMP-NO from the user, READ the employee record from the master file and
display the information on the screen. If the operator presses the PF5 key, delete the
record or PF7 to refresh the screen.
Function of PF keys:
a)
'.
EMP-NOshould EXIST.
other errors..
b) Other then ENTER, PF3, PF4, PF5, and pf7 pass .. Invalid key pressed II
to message.
b) RESP errors like (INVEREQ) to Message
"
PROGRAM
5 (BROWSE
BY Employee Number)
This program will Browse the Employee Master File (EPISBCL) from the EMP-NO
received from the user. It should display 7 records per screen. This screen. This
program 2~C p!o,-,:d~~ ~h~ f~t::::~; 10 ~i~p!:::ythe- nE-;.i5(reefi. ~'f'..J~.Ji);;'
~('::-~r;. right
screen and ieft screen.
Functions of PF Keys:
PF3 - EXIT, PF4 - MAIN MENU, PF7 - PREVIOUSSCREEN, ENTER
PROCESS. FB - NEXT SCREEN, PF10 - LEFT SCREEN, PF11 - RIGHT SCREEN.
INPUT I OUTPUT SCREEN
EMPLOYEE PERSONNEL INFORMATION SYSTEM
DATE: DD / MM /YYYV
TIME: HH : MM : SS
BROWSE BY EMPLOYEE NUMBER
ENTER EMPLOYEE NUMBER: XXXXXX
EMP NO
EMP NAME
BASIC PAY
PHONE NO
DEPARTMENT
XXXXXX
XXXXXX
XXXXXX
I XXXXXX
XXXXXX
XXXXXX
XXXXXX
xxx
XXXXXXXXXXXXXXXXXXX
XXXXXXXXXX
XXXXXXXXXX
xx
xxx
XXXXXXXXXX
XXX
XXI
--
xX
xxx
XXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXX
XXXXXXXXXX
XXXXXXXXXX
XXXXXXXXXX
XXXXXXXXXX
99999 . 99
99999 . 99
99999 . 99
99999 . 99
99999 . 99
99G99 . 99
99999 . 99
XXXXXXX
XXXXXXX
XXXXXXX
XXXXXXX
XXXXXXX
XXXXXXX
XXXXXXX
I
I
I ENTER - PROCESS PF3 - EXIT PF4 - MAIN MENU PF7 - PREV SCR PF8 - NEXT SCR
PF10 - LEFT SCR PF11 - RIGHT SCR PF6 - UPDATE
MESSAGE:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
a)
b)
c)
d)
PROGRAM
--------
- 6 (BROWSE
by Employee Name)
This program will Browse the Employee Alternate File (EPISALN) from the EMP-
NAME received from the user. it shouid di~play 'j records per SCr6aii. T;;;sj:iivgram
&:so piOvid63 the facility to d:::pl~y th~ next screen, pre'!!m.!s screen, right ~creen :Emd
left screen.
Functions of PF Keys:
PF3
F8
XXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXX
I~
XXXXXXXXXX
XXXXXXXXXX
99999.99
99999.99
XXXXXXX
XXXXXXX
ENTER
b)
c)
otlier errors.
Other than ENTER, PF3, PF4, PF6, PF7 and PF8 pass" Invalid key pressed"
to Message.
RESP errors like (ENDFILE) to Message.
- -
-------
PROGRAM
- 7 (BROWSE
by Department)
This
program
\r\~11 Browse the Employee Information by using department as an
.
.
.-- . - . . -' .
- -- ~.
to...
,_ ,
__
aliernaie Key (i=i-'joALiJj iroffi me iJi=i-' i i6CCivea iiOm me US6r. i\ ~i10Uia Ui~j.i,i:.ty i
records per screen. This program a!so provides the f8~~!!tyto di~p1fiYthe np.xt screp.n,
previousscreen.
Functions of PF Keys:
PF3- EXIT, PF4
MAIN MENU, PF7- PREVIOUS SCREEN, ENTER
EMPNAME
xxx
DEPARTMENT
xxx
XXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXX
ENTER - PROCESS
XXXXXXXXXX
PF3
XXXXXXXXXX
XXXXXXXXXX
XXXXXXXXXX
XXXXXXXXXX
XXXXXXXXXX
XXXXXXXXXX
XXXXXXXXXX
- PREV
BASIC PAY
PHONENO
99999.99
99999.99
99999.99
99999.99
99999.99
99999.99
99999.99
XXXXXXX
XXXXXXX
XXXXXXX
XXXXXXX
XXXXXXX
XXXXXXX
XXXXXXX
MESSAGE: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
PROCESS lOGIC: e)
Handle the Exceptional conditions.
f)
Send the map with return with trans-id, receive the EMP-NAME
g)
Evaluate EIBAID branch out accordingly.
h)
Use EPISALN cluster for reading. Check for duplicate key also.
System I Error Messages: a)
In case of possible exceptional conditions pass the following error messages
PGMIDERR - Program Id Error MAPFAIL - Mapfail Error, ERROR - Any
other errors.
b)
Other than ENTER, PF3, PF4, PF6, PF7 and PF8 pass" Invalid key pressed"
to Message.
c)
RESP errors like (ENDFILE) to Message.