How do I read records from Subfile? what is the purpose of
READC explain with example?

Answer Posted / karthika

READC is an opcode that is applicable only for subfile.

This will read the record that was changed during the last
execution of the program and not all the changed records

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can I touch the array during treatments?

758


do you use message subfiles? What are the necessary keywords required coding a message subfile?

688


What is ment by record level identifier?

655


What is file identifier where we can use?

652


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

517






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.

2279


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

717


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

1895


explain sflclr, sflend, sfldlt, and sflcsrrrn?

890


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

493


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

757


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

1260


is this a rpg channel?

681


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

831


what is the necessary keyword needed to scroll subfile records?

704