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 Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Alter &DATENS field in HEADER1 Angad DFSORT/ICETOOL 4 Mon Apr 24, 2017 11:49 am
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am


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