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 is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2521


what is a rpg?

703


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

1971


which program rpg or cl is efficent to update a transaction onto a database file and why ?

747


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

490






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.

2281


are there any useful c runtime apis that I can call from rpg iv?

700


What is ment by record level identifier?

657


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

1261


how do I preserve and clean the array?

677


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


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.

2201


how do I play {insert rpg system here}?

587


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


what is program status data structure?

1391