Mid Assessement (Based On Display File - RPGLE)
Mid Assessement (Based On Display File - RPGLE)
Create a Display file and code for the working of display file in rpg using the
feature of Sub-Routines and use subfiles to
display 8 records on the screen.
CID 2 A(CHAR)
CNAME 20 A(CHAR)
CESTDATE 12 A(CHAR)
CTYPE 10 A(CHAR)
EMPNO 6 A(CHAR)
Screen 1
___________________________________________________________________________________
______________________________
5- Display
F3-EXIT F5-REFRESH
Screen 2 - To Display records make one new screen and all fields should be in
output mode.
ii) For F6 - Create a window screen with all fields as a input. After entering
the data, all data should be loaded on subfile screen and
data also added in the PF. ( F3 - Exit , F12 - Cancel )
iv) When you take option 4, it should delete records in Pf and on subfile screen.
For confirmation of deletion make one new screen and if you give response as
'Y' then it should delete and
if you give 'N' as reponse then it should not delete