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 |
1.Are there any errors in the following statement?If so then list them.DTAARA is a data area having a field EMP # and EMPNO is a field in the file EMPPF.Which has one record. READ EMPPF IF %FOUND(EMPPF) IN DTAARA EVAL EMP#=EMPNO OUT DTAARA ENDIF
how do I declare a minor?
How to print Superscript / Subscript from RPG400
Can we journel logical file and access path? Can we use commitment control for non-join L.F?
1.Write code to read the records from a file and load an array of size 99? Make sure that you take care of all the error conditions?
Can we create 300 logical files based on a single physical file using the CRTLF command only once?.
Why Rpg/400 is Famous?
Can more than one subfile record be displayed on one line?
we are sending data of physical file to screen design and it is showing no record why?
You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?
How to check which are the pgms using 1 perticulate file.? I know there is many tool available for X-reference...but need to know is there any command available in the system...?
What is the significance of UDATE?