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: 110
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top