Q
Problem solve Get help with specific problems with your technologies, process and projects.

Code fails validity checking

I've coded a subfile using SFLCSRRRN and RTNCSRLOC. The code looks like all the examples, but the cursor goes to the top of the subfile. The subfile is input capable where I validate the one field that changes and I want to issue an error message for the line in error when it fails validity checking. Do you have any ideas on this?

Use a reverse image DSPATR(RI) and/or position cursor DSPATR(PC) before you update the subfile after the edit has failed.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.


This was last published in October 2002

Dig Deeper on iSeries ILE programming

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close