i have 1000 records in pf.what are all the ways to read a
particular name records in rpg?? ie.. in pf i have a name
called demo appeared around 52 times hw will we read this
particular records in rpg/400?.
Answer Posted / jeganath
Go for ReadE i.e Read Equals,
give 'Demo' in Factor 1
'Demo' ReadE
it will fetch records equals 'Demo' string in the file, and
also it avoid unnecessary reading of other records, very
effective,
Note: it works only when that field is declared as key in
PF file
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is the use of sflnxtchg?
How would display prime numbers using CL program?
How to declare the pull button in AS/400..
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.
What is difference between bind by copy and bind by reference?
how can I tell when to replace the array?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what is *place and *auto keyword in prtf ?plz explain
how do I declare a table or array in rpg iv?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
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
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
what is the procedure and explain about real time scenario.
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...?