Can AnyOne tell me how to read join logical file in rpg from starting to end?
Answers were Sorted based on User's Feedback
Answer / uday bagdi
1) You can use primary file key field in join logical file. If your join logical file has key field then use *LOVAL SETLL. and read that file in loop.(This condition read records from start to end)
2) if your logical file not a key filed then use RRN like
1 SETLL and read that file in loop. (This condition read records from start to end)
Is This Answer Correct ? | 4 Yes | 0 No |
What is the difference between ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference?
1.What is referential Integrity? 2.What is Foreign Key? 3.What is Transfer Control? 4.What is Free format?
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...
what is ment by "MDT"
How to find d key field of a pf that doesn’t have source physical file?
Can an indexed file be accessed in arrival sequence in RPG?
Why we need to give File and To file Names While we are using OVRDBF. What is your understanding related to this?
Can anybody tell me that why we use option(*nodebugio)in H- Spec?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg
Can somebody tell me that, Is it possible to read all the member of PF without OVRDBF?
what is flat file?