RPG/400 number of Records present in a physical file using
file information data structure
FPF001 IP E DISK
F KINFDS INFDS1
IINFDS1 DS
I *RECORD RECORD
Is this coding correct sir,i have given I P E that is I-
input,P-primary file,E-externally described.
Primary to use RPG logic cycle,is this the correct method
because we have to find number of records present using file
information data structure in RPG/400 without doing any
input/output operations on the file and also without using
DSPFD,SQL.
If the above coding is correct means,when i compile the
program it gets compiled,but if i call the program it does
not return anything,i need number of records,please complete
the coding sir.
Answer / prince
FAAPPOLM IP E K DISK INFDS
(FILE)
DFILE
DS
DREC 156 159I
0
C DSPLY
REC
C EVAL *INLR = *ON
I have declared file information data structure in position
156 to 159 it will hold the number of records in the
file.
| Is This Answer Correct ? | 7 Yes | 2 No |
Hi guys, anybody know How RPG/400 code can be converted to RPG IV code with a single command?
when will come session device error?
parameters cannot be passed in which one??
Hi,This is raju.Can any body give me the real experience answer for this question? 1.What is the significance of *MAP and *DROP in the CPY command?
how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.
if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on which the pf is based.
suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg
How to change the name of physical members Dynamically?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
am 2010 passed out . can any one tell me which course is good to put 2+fake .guide me
i want to retrieve record b/w 2 dates in as400
Why we need to give File and To file Names While we are using OVRDBF. What is your understanding related to this?