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 difference between copybooks and subprocedures in as400?

1072


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

1696


how do I preserve and clean the array?

843


how do you use commitment control in rpg?

982


How many program bind in one module....

2344


what is the necessary keyword needed to scroll subfile records?

903


What is a record lock error?

1483


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

2719


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

899


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

2172


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

754


explain sflclr, sflend, sfldlt, and sflcsrrrn?

1078


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5905


is this a rpg channel?

887


How can we know running job is batch or interactive?

854