What would be the result on writing a data record to a PF
file using the "WRITE" opcode after the SETON *ON *INLR
statment?

Answer Posted / sree

The LR indicator says, the last record in the file has
reached and hence there are no input records to process. But
this will not prevent in writing the record to file.

Please correct me if I am wrong.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to call one program from another program in RPG? please help me with the code

1345


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

811


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1136


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

2598


What is the difference between iter and do?

792






what is data area and how it is used in rpg program ?

841


What is the purpose of record level identifier?

803


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

796


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

922


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

775


is this a rpg channel?

766


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2287


how do I declare a table or array in rpg iv?

822


what is the use of sflnxtchg?

892


what is kids-rpg?

759