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
maximum number of subfiles that can defined in a rpg program for one display file is?
can we define multi-dimensional arrays in rpg ?
what is procedure prototype and procedure interface.
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)
how can you detect overflow for a print program that prints multiple lines per cycle?
when would you prefer logical file than opnqryf?
How can we update a specific field in RPG?
define what a data area is along with a brief example of what it may be used for?
What is file information data structure(infds) in as400?
what is maximum number of arrays allowed in rpg?
What is the as400 called now?
what are the different types of variables available in cl?
How do I remove a flag or check no. or name when a user opens too many sessions?
what are the different commands used in rlu ?
how to run other job when one job is active?