How can we search particular records from the database file in RPG. For example, there are
100 records in the file.i need to retrieve all the records matching/equal to the particular NAME field. How can we do the above using SEARCH criteria other than using the IF cond?
Submitted by: AdministratorThis can be done using the Key Field.
KEY1(NAME FIELD) SETLL FILENAME
KEY1(NAME FILED) READE FILENAME
Submitted by: Administrator
KEY1(NAME FIELD) SETLL FILENAME
KEY1(NAME FILED) READE FILENAME
Submitted by: Administrator
Read Online IBM RPG400 Job Interview Questions And Answers
Top IBM RPG400 Questions
☺ | What is difference between Bind by copy and bind by reference? |
☺ | What is importance of MAPFLD IN OPNQRYF FILE? |
☺ | Explain MDT? |
☺ | What is the difference between ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference? |
Top Mainframe Technical Categories
☺ | IBM MainFrame Interview Questions. |
☺ | IBM AS400 Interview Questions. |
☺ | JCL Interview Questions. |
☺ | IMS DB Interview Questions. |
☺ | CICS Interview Questions. |