How to search particular records from the database file in RPG?
Suppose, 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 AS400 Job Interview Questions And Answers
Top IBM AS400 Questions
☺ | Explain this error: "All Record Formats for externally-described file ABCD ignored or dropped due to error; file ignored."? |
☺ | How to retrieve RRN value in RPGLE program? |
☺ | In RPG program one file using as a PRIMARY file while running program some of the records reading twice any body know why its happening? |
☺ | Why we sometimes use same file name in FILE and TOFILE in OVRDBF and sometimes different? |
Top Mainframe Technical Categories
☺ | IBM MainFrame Interview Questions. |
☺ | IBM AS400 Interview Questions. |
☺ | JCL Interview Questions. |
☺ | IMS DB Interview Questions. |
☺ | CICS Interview Questions. |