i have a database file name emp
file name=Emp
R emprec
Eno 10p
Ename 10a
Esal 10p
k Eno
and subfile name is empsfl
sflrec Contain fields
SEno 10p
SEname 10a
SEsal 10p
sflctl contain indicators are
sfldsp 30
sfldspctl 31
sflclr 32
sflend 33
ca03(03 'Exit')
subfile record name=sflrec
subfile control name=sflctl
subfile footer name=footer
but my requirement is to read database file and display records in screen
pls give cobol/400 code
Software/Hardware used:
software
ASKED:
March 4, 2011 2:01 PM
UPDATED:
March 4, 2011 7:51 PM
Have you done any COBOL coding?
IS there not an existing program at your place of employment that uses COBOL to ds a DSPF?
We generally assit witl a problem and not write a complete program for someone.
sounds like homework
It sounds like you need some training, it would also be a good idea to read a book on COBOL for the iSeries. Go out to the Internet and do a search, a lot of good stuff out there.