when will come session device error?

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


Please Help Members By Posting Answers For Below Questions

what was the robotech rpg?

675


explain sflclr, sflend, sfldlt, and sflcsrrrn?

878


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1553


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...?

1457


what is a rpg?

692






how do you use commitment control in rpg?

746


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

1009


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

2511


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?

503


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?

494


what is file information data structure?

1353


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

727


How can we override a file during runtime in rpg?

677


is this a rpg channel?

667


How to write record if no field or the field are different in physical file in rpgle ?

473