IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how to place a cursor in error field


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
arulkumar

New User


Joined: 17 Jun 2010
Posts: 6
Location: chennai

PostPosted: Thu May 19, 2011 2:53 pm
Reply with quote

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
View user's profile Send private message
Stefan

Active User


Joined: 12 Jan 2006
Posts: 113
Location: Germany

PostPosted: Thu May 19, 2011 3:05 pm
Reply with quote

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
View user's profile Send private message
arulkumar

New User


Joined: 17 Jun 2010
Posts: 6
Location: chennai

PostPosted: Thu May 19, 2011 3:27 pm
Reply with quote

Thanks...It is working fine
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts U0016 error in JCL JCL & VSAM 4
No new posts To Unstring spaces in a field COBOL Programming 3
No new posts python on z/OS error no encoding decl... Testing & Performance 0
No new posts IEW2315E 1369 Link error All Other Mainframe Topics 3
No new posts Help required to reset decimal points... DFSORT/ICETOOL 10
Search our Forums:


Back to Top