In how many ways a session/device error occurs,,, and what is
the remedy for it?
Answer Posted / krisalli
some more cases...
- Incorrect record number in subfile SFLRCDNBR or SFLSIZ field.
- In program code, at display (EXFMT) subfile code, check the value of RRN. If is zero and you are making on the SFLDSP indicator *ON or it is un-conditional and doing display subfile. Then it will give you the same error.
- Trying to show empty subfile.
- Field and position in Display file DDS is not correct.
- The keywords are not properly organized in Display file DDS.
- Trying to write more than 9999 record on the Display file for Load All subfile
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
explain sflclr, sflend, sfldlt, and sflcsrrrn?
Explain mdt?
what is an online rpg?
how do I declare a minor?
what is the use of sflnxtchg?
How Chain operation copies the record's data to the input buffer for the program?
What is the difference between iter and do?
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?
How to call one program from another program in RPG? please help me with the code
what is the rpg system?
What is file identifier where we can use?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
When it is desirable to describe files Internally?
what are the key words you must use when using a subfile?