How to update selected fields from pf without using update
opcode.

How to read all member in Rpg-3,without using any cl command?

Answer Posted / kamlesh

create new LF which is based on multi memeber PF
This LF has only one data member which is based on
all data members present in PF. Now use this LF
in yr RPG3.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5390


What is difference between bind by copy and bind by reference?

1720


Explain mdt?

661


what is kids-rpg?

661


what are the key words you must use when using a subfile?

685






What are the types of identifiers?

566


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2513


Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

1447


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

824


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

712


What is the difference between iter and do?

667


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

4198


how do I preserve and clean the array?

667


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

2273


explain sflclr, sflend, sfldlt, and sflcsrrrn?

882