how to update physical file using logucal file with example
Answer / chinu
Declare the logical file in update mode in the RPG program.
Chain at the record needed to be updated and afer changing
the field value use UPDATE opcode with the record format
name of the LF.The record gets updated
Is This Answer Correct ? | 5 Yes | 3 No |
what is open data path? and what is the diff b/w access path and open data path?
What is the interactive job?
What is the primary file?
I have physical file with 100 records,there is no any duplicate records in this pf.based on this pf one logical file I have used.but this lf is viewing only 80 records only of that pf?what is the reason for this?
What is open data path? And what is the difference between access path and open data path?
How we can't update join logical files?
how to know total no of records in pf with out using sql??????
How to retrieve a physical file after deleting that ? what is keyword used for that....??
If we use the file level keywords like LIFO, FIFO, FCFO in a file, can we see the impact of it by doing the run query of the file? if not how can we see the impact of these keywords.
Can we concatenate fields in physical file? If yes how can we do?
What is the purpose of the chain and setll and setgt?
how can i know logical file belongs to which physical file without source?