How do you know if a record exists without doing a READ and
CHAIN?
Answer Posted / rizwan
Without using Prg if you want to check the records of a Pf
through command line you can use
DSPFD (Display File Description)
which gives you the Total number of records as well as
deleted records in a PF.
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
How can we override a file during runtime in rpg?
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.
do you use message subfiles? What are the necessary keywords required coding a message subfile?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
What is the difference between iter and do?
how do I declare a minor?
how does the rpg element work?
how can I tell when to replace the array?
what do you mean by an input subfile, what are the keywords required?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
How would display prime numbers using CL program?
How to handle duplicate error handling in RPG?
how can you display specific subfile page on the screen in unequal subfile?
What are the types of identifiers?