You are on page 1of 9

r

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

Employee Personal Information System Base Cluster primary

File Name - 2

EPISALN

EPISALN
Name

Employee Personal Information System Alternate cluster by


Alternate

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

ADD Employee Information


UPDATE Employee Information
DELETE Employee Information
BROWSE By Employee Number
BROWSE By Employee Name
BROWSE By Department
Enter Your Option =>

I
I
II
i
i

X
---,

PF3
Message

EXIT

ENTER - PROCESS

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Input I Output File

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

PROGRAM 2 {ADDITION of Emp Inf.}


This program is used to ADD new records to the Employee Master File
{EPISBCL}. This program will send and receive the data entry screen as shown below
and validate the employee details and pass appropriate message to the user.

PF3- EXIT, PF4- MAIN MENU, PF7- REFRESH SCREEN, ENTER PROCESS
INPUT- OUTPUT SCREEN:

EMPLOYEE PERSONNEL INFORMATION SYSTEM


DATE: DO I MM I YYYY

TIME: HH : MM : SS

FUNCTION: ADD I UPD I DEL


EMP-NO

: 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

PF4- MAIN MENU

III

'.

PF-7 REFRESH or UNDO

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)

Program Id Error MAPFAIL

- Mapfail Error, ERROR

Any other

errors.
Other than ENTER, PF3, PF4 and PF7 pass "Invalid key pressed" to Message.
RESP errors like (DUPREC} ta Me5~a!Jt;>.

PROGRAM 3 (Update the Employee Information)


This program is used to update existing empioyee record in the master fiie. This
program is the best example of READ with UPDATE and REWRITE comm~nds.
Functioll

of PF Keys:

PF3:-EXIT, PF4-MAINMENU, PF7-REFRESH SCREEN, ENTER - PROCESS, PF6UPDATE


INPUT I OUTPUT SCREEN
The screen, which is used in ADD PROGRAM, is used for this program aiso by
moving the function type as .. UPDATE RECORD" to function field.
INPUT I OUTPUT FILE STRUCTURE See the attached File Strudure
PROCESS LOGIC:

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.

System I Error Messages: -

a)

In case of possible exceptional conditionspass the following error


messages

b)
a)

PGMIDERR

Program Id Error MAPFAIL - Mapfail Error

ERROR- Any
other errors.
Otherthan ENTER,PF3. PF4, PF6 and PF7pass"InvalidKey pressed'
to Message.
RESP errors like (INVREQ)to Message.

- - (D6:c~e the Emp!oy~e

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:

PF3 - EXIT, PF4


PF5 - DELETE.

- MAIN MENU, PF7 - REFRESH SCREEN, ENTER PROCESS,

INPUT I OUTPUT SCREEN


The screen which is used an ADD PROGRAM is used for this program also by
moving the function type as "DELETE RECORD IIto function field.
INPUT I OUTPUT FILE STRUCTURE the attached File structure
Validation:

a)

'.

EMP-NOshould EXIST.

System I Error MESSAGE:

a) In case of possibleexceptionconditionpassthe followingerror messages


PGMIDERR- program Id Error MAPFAll - Mapfail error, ERROR - ANY

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

INPUT / OUTPUT FILE STRUCTURE See the attached File Structure


PROCESS LOGIC:

a)
b)
c)
d)

Handle the Exceptional conditions.


Send the amp with return with trans-id, receive the EMP-NO.
Evaluate EIBAID branch out accordingly.
Use EPISBCL cluster for reading.

System / 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, PF8, PF10 and PF11 pass "Invalid
Key pressed" to Message
C)
RESP errors like (ENDFILE) to Message,

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

EXIT, PF4 - MAIN MENU, PF7 - PREVIOUS SCREEN, ENTER PROCESS,


NEXT SCREEN, PF10 - LEFT SCREEN, PF11 - RIGHT SCREEN.

INPUT I OUTPUT SCREEN


EMPLOYEE PERSONNEL INFORMATION SYSTEM
TIME: HH:MM:SS
DATE: DD/MMNYYY
BROWSE BY EMPLOYEE NAME
XXXXXX
ENTER EMPLOYEE NAME:
EMPNO
BASIC PAY PHONENO
EMPNAME
DEPARTMENT

XXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXX

I~

XXXXXXXXXX
XXXXXXXXXX

- PROCESS PF3 - EXIT

99999.99
99999.99

XXXXXXX
XXXXXXX

PF4 - MAIN MENU PF7 PREV SCR PF8- NEXT SCR


PF6 - UPDATE
MESSAGE: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

ENTER

INPUT/OUTPUTFilE STRUCTURE See the attached File Structure


PROCESS lOGIC: a)
Handle the Ex~ptional conditions.
b)
Send the map with-return with trans-id, receive the EMP-NAME
c)
Evaluate EIBAID branch out accordingly.
d)

Use EPiSALN clusterfor reading.Checkfor duplicatekey C:!iso.

System I Error Messages: a)


In case of possible exceptional conditions pass the following error messages
PGMIDERR

b)
c)

Program Id Error MAPF AIL

- Mapfail Error, ERROR - Any

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

PROCESS, PF8-NEXT SCREEN.


InDutI OUTPUT SCREEN
EMPLOYEE PERSONNEL INFORMATION SYSTEM
DATE: DD/MMIYYYY
TIME: HH:MM:SS
BROWSE BY DEPARTMENT
ENTER DEPARTMENT :
EMPNO
XXXXXX
XXXXXX
XXXXXX
XXXXXX
XXXXXX
XXXXXX
XXXXXX

EMPNAME
xxx

DEPARTMENT

xxx

XXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXX

ENTER - PROCESS

XXXXXXXXXX

PF3

XXXXXXXXXX
XXXXXXXXXX
XXXXXXXXXX
XXXXXXXXXX
XXXXXXXXXX
XXXXXXXXXX
XXXXXXXXXX

EXIT PF4- MAIN PF7


PF6 - UPDATE

- 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

SCR PF8- NEXT SC

MESSAGE: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

INPUT/OUTPUTFILE STRUCTURE See the attached File Structure

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.

You might also like