check existence of one record without using chain or read?
Answer / amit
Use setll with %equal to check if the record exists or not.
Is This Answer Correct ? | 0 Yes | 0 No |
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.
How do you find out whether a record is present in the physical file without reading the file? for Example Employee No: 100 in an Employee master.How do we find out whther 100 is present in Employee master without reading the file?
11 Answers Bank Of America, CSC, IBM,
How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program
How to create a key field for a logical file inside RPG?
How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.
If record-format name in an externally-described file has already been defined as a file-name.how to solve this?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
Some times While checking MSGW for object / member / record locks ,I have seen it's locked by itself ...? How it happen and what action we need to perform if job is updating / writing a record....?
I want to add 10 days in current date. how it is possible in CL program...?
difference betwen keywords and opcodes
1.Coding in cl to send an message? 2..What is turnover and use? What are the different levels?
Can a indexed file be accessed in arrival sequence in RPG?