Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

how to place a cursor in error field

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: how to place a cursor in error field
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    Post subject: Re: how to place a cursor in error field
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    Post subject: Thanks.
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts Getting -504 Cursor Name GTT-ARTS-CUR... Robin Sulsona DB2 2 Fri Mar 17, 2017 1:43 am
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us