how we retrieve records without using key field (ex:name)
from Physical File through RPG in as/400?

Answer Posted / ttom

Read the file till EOF and check field values using a
condition in a the loop.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between iter and do?

972


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1554


How to call one program from another program in RPG? please help me with the code

1515


how can I tell when to replace the array?

935


What is the purpose of record level identifier?

926


what is an online rpg?

1008


are there any useful c runtime apis that I can call from rpg iv?

951


can you debug ile rpg program using isdb?

979


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2429


What is ment by record level identifier?

886


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

812


what is the use of sflnxtchg?

1051


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

2205


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

1747


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

2117