Answer Posted / katiyar
The Session and Device error occurs when program tries to
load data to display file (Subfile). The program should have
correct logic to load data from Database file to Subfile
using RRN(Relative Record Number). Then only data will be
loaded successfully to display file (subfile) else it will
be encountered with session and device error.
To prevent Session and Device error, One should understand
the Display file (Subfile) programming.
Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
what was the robotech rpg?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
what is a rpg?
how do you use commitment control in rpg?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
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?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
what is file information data structure?
how do I declare a table or array in rpg iv?
How can we override a file during runtime in rpg?
is this a rpg channel?
How to write record if no field or the field are different in physical file in rpgle ?