how to update physical file using logucal file with example



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

Post New Answer

More DB400 Interview Questions

How to know logical file belongs to which physical file without source?

1 Answers  


how to update physical file using logucal file with example

1 Answers   Wipro,


How to retrieve a physical file after deleting that ? what is keyword used for that....??

6 Answers  


What is the difference between access path and open data path?

0 Answers  


How to change the batch job to interactive job?

0 Answers  


What is the use of member in pf?

0 Answers  


what is multiple member pf

1 Answers   Active Brains,


Where the QTEMP library will get created? if the the answer is QSYS, then howcome more than one job can create same library name(QTEMP) in QSYS? what is the uniqueness of QTEMP? For example, run the below command in different workstation WRKOBJ QSYS/QTEMP And take 8 in the option to check the description. both will have different info. so where(which LIB) exactly the QTEMP is stored?

2 Answers  


wirte a simple program for read file in cl

2 Answers   Active Brains,


Last statement of any rpg program is lr?

0 Answers  


There is one string as A B C and wanted to display string as Shri A Shri B Shri C, how we can do this in sql? If we have around 100 values in string like this, each value should be displayed with initials as Shri.

0 Answers  


Last statement of any RPG pgm is LR?

5 Answers  


Categories