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 is the difference between copybooks and subprocedures 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...?
how do I preserve and clean the array?
how do you use commitment control in rpg?
How many program bind in one module....
what is the necessary keyword needed to scroll subfile records?
What is a record lock error?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
are there any useful c runtime apis that I can call from rpg iv?
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
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
explain sflclr, sflend, sfldlt, and sflcsrrrn?
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.
is this a rpg channel?
How can we know running job is batch or interactive?