Write the subfile logic program for the given concept. Load
the data to the subfile depends upon the designation where
designation is not a key field?
Answer Posted / ashok
Ffilename if e disk
then on load subroutine part
read the record format
dow not%eof
move the fields
increment 1 to the rrn
write the sflrcd name
read the record format
enddo
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)
define the purpose of the %sst function?
how many printer files maximum can be used in single rpg program?
what is the use of unique keyword and what level it is defined?
what is the purpose of dynslt keyword?
maximum number of subfiles that can defined in a rpg program for one display file is?
which are the query selection criteria, which can be given in a query?
in which specification the report layout can be defined?
can you display a empty subfile?
how many levels are there in a physical file?
which single rpg opcode performs both setll and reade?
how can you specify no duplicate key?
how to pick up the changed records every time in a subfile after the first change made ?
what is the maximum number of records you can specify in a display file?
Difference Between Ca & Cf?