Moving cursor to next field in ISPF dialog

Ask/Clarify the questions on TSO, CLIST & REXX

Moderators: Veera, Moderator Group

Post Reply
sahids
Member
Posts: 4
Joined: Wed May 08, 2013 9:09 am

Moving cursor to next field in ISPF dialog

Post by sahids » Wed May 08, 2013 9:18 am

Hi,
I am totally new to ISPF dialog and have less idea about this thing.
Wanted to ask if there is any way to move the cursor to next field on the panel if input to previous field is completed without TAB key?

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Thu May 09, 2013 1:18 am

Yes.
.
.
.
.
Well you did only ask if it is possible!



Get hold of the manuals and look at the ATTR section possibilities.
Regards
Nic

gandikotasiva
Member
Posts: 3
Joined: Sun Apr 14, 2013 10:56 am

Post by gandikotasiva » Sat May 11, 2013 11:02 am

Hi Sahid, I can help you with what you are expecting, Specify one ATTR with SKIP as ON and use that ATTR at the end of your field, so the cursor will be skiped to the next field. Use this code as an example


)ATTR FORMAT(MIX)
! TYPE(TEXT) INTENS(HIGH) COLOR(TURQUOISE)
+ TYPE(INPUT) INTENS(HIGH) COLOR(TURQUOISE)
$ TYPE(TEXT) SKIP(ON)
)BODY
%
%
%
% !EMP-NAME !- +NAME $
% !EMP-ID !- +ID $
%

sahids
Member
Posts: 4
Joined: Wed May 08, 2013 9:09 am

Post by sahids » Tue Sep 10, 2013 2:00 pm

Thanks much Siva it is working.
I am facing another problem.

My panel is having one input field say X1 and input value is say A. When I ran the panel first time it is passing correct value i.e A to my skeleton JCL.

But, when ran 2nd time, i found it actually keeps the X1 value as A and whatever value I put, it always passes A to skeleton. I do not know how to erase the value after every run. PLease help.

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Tue Sep 10, 2013 5:18 pm

New problem = new post otherwise we might as well just post everything from every section of the forum in one thread.

Mybe a moderator will split it off into its own topic.
Regards
Nic

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others