View previous topic :: View next topic
|
Author |
Message |
arulkumar
New User
Joined: 17 Jun 2010 Posts: 6 Location: chennai
|
|
|
|
I have designed ISPF panel for my requirement.
There are five input fields in panel. i havent hardcoded the cursor position in the panel like SKIP(ON)
Please help me out how to place the cursor in particular field if error occurs. |
|
Back to top |
|
|
Stefan
Active User
Joined: 12 Jan 2006 Posts: 110 Location: Germany
|
|
|
|
Error checking can be performed in two different places:
1. If it happens within the panel using VER statement in the PROC section of the panel definition, then you have to do nearly nothing. ISPF controls the cursor position. The first field check which does not passed the VER statement causes ISPF to perform all statements defined in the REINIT section (if present), refreshs the panel, and positions the cursor on the corresponding field. Control is not passed back to the program.
2. If error checking is performed in your program after displaying the panel, you have to re-display the panel using the additional parameter CURSOR(field). |
|
Back to top |
|
|
arulkumar
New User
Joined: 17 Jun 2010 Posts: 6 Location: chennai
|
|
|
|
Thanks...It is working fine |
|
Back to top |
|
|
|