Session or Device Error Occured

Session or Device Error Occured

There are few scenarios where Subfile would crash with 'Session or Device Error Occured'.

Below mentioned are the few scenarios when this issue would occur.


  • Incorrect Record Number in SFLRCDNBR

Variable associated with Keyword SFLRCDNBR (RRN) should be greater than Zero


  • Displaying Empty Subfile

No Records to display and still SFLDSP indicator is ON.


  • Attempting to write more than 9999 records into Load All Subfile

Maximum number of records allowed on Load All Subfile is 9999. Attempting to write more than 999 would result in Program crash.

Comments

Popular posts from this blog

What is the importance of User Open (USROPN) in RPGLE - IBM i

What is Deep Learning? Beyond the Basics of AI

What is Artificial Intelligence?