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
 

 

Cursor positioning problem

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Tue Jan 13, 2009 2:47 pm    Post subject: Cursor positioning problem
Reply with quote

Code:
)ATTR                                                                   
  @ TYPE(OUTPUT) INTENS(LOW)  CAPS(OFF)                                 
  ! TYPE(INPUT)  INTENS(NON)                                           
  ¢ TYPE(TEXT)   INTENS(HIGH) COLOR(WHITE) HILITE(REVERSE)             
  ¬ TYPE(OUTPUT) COLOR(TURQUOISE)                                       
)BODY expand($$)                                                       
+$-$¢ FINCADS TESTING MAIN MENU  +$-$                                   
%Option+===>_ZCMD                                                       
+                                                                       
+ $ $ User id...:@JUID   +                                             
+ $ $  Center...:@JCTR   +                                             
+ $ $  Region...:@JREG   +                                             
+                                                                       
% I  -        - +Initialize           + % 0  -        - +0DFC200    +   
% H  -        - +House keep           + % S  -        -+_JOBNAMEM+ 
% D  -        - +DB Refresh           + % V  -        - +Validation +   
% A  -        - +Archive              + % P  -        - +Posting    +   
% B  -        - +Del B-File           + % X  -        - +Exit       +   
+                                                                       
 +                                                                     
 +                                                                     
 +                    YEAR     MONTH     DATE     JULIAN    HLD-IND     
 + ENTER  AFCDATE  : _YYYY+   _MM+      _DT+     _JUL+     _H+(Y/N)+   
 +                                                                     
 + ENTER  CENTRE   : _CT+     (01  02  03  04  05  07  10  17)         
 +                                                                     
 +                                                                     
 +                                                                     
 + ¬JWAR                                  $ $  @ZDATE    + @ZTIME    + 
 +                   +       (Dev by Nagesh kothakota )       +         
 )INIT                                                                 
  &ZCMD = .CURSOR                                                       
 )REINIT                                                               
  .ATTR (.CURSOR) = 'COLOR(RED) HILITE(USCORE)'                         
  REFRESH (ZCMD)                                                       
  &ZCMD = .CURSOR                                                       
 )PROC
 REFRESH *
 )END


Currently my cursor is palcing at option "S" instead of ZCMD

if i remove this option from the panel then its placing ZCMD

why its happening like this
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Jan 13, 2009 3:07 pm    Post subject:
Reply with quote

Use the CMD keyword in your )BODY section., or use the .CURSOR properly.

O.
Back to top
View user's profile Send private message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Tue Jan 13, 2009 3:27 pm    Post subject: Cursor problem
Reply with quote

Have done the declaration of cursor as per the standards

i did not understand what i need to change

can u help me out
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Jan 13, 2009 3:30 pm    Post subject:
Reply with quote

-+_JOBNAMEM

. ./\ what is this?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Jan 13, 2009 3:31 pm    Post subject:
Reply with quote

Sure I can help you. Just read the fine manual first.

O.
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2025
Location: Silicon Valley

PostPosted: Tue Jan 13, 2009 10:13 pm    Post subject: Reply to: Cursor problem
Reply with quote

Quote:
Have done the declaration of cursor as per the standards


Perhaps you do not understand the standards or you do not understand how .CURSOR is used.

There is a difference between:
Code:
&ZCMD = .CURSOR

and
Code:
.CURSOR = &ZCMD
Back to top
View user's profile Send private message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Tue Jan 20, 2009 12:02 pm    Post subject: Cursor problem
Reply with quote

oops... my problem is resolved in different manner after initializing the varibale like below

Code:
JOBNAMEM = '@JOBNAME'
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2025
Location: Silicon Valley

PostPosted: Tue Jan 20, 2009 9:55 pm    Post subject: Reply to: Cursor positioning problem
Reply with quote

Perhaps your cursor is in the wrong location, but this is still wrong.
Code:
&ZCMD = .CURSOR
Wrong in the init section.
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 SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Updating Cursor row withour using FOR... chandan.inst DB2 15 Tue Nov 08, 2016 11:17 am
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm
No new posts DB2 Streaming Batch Processing Problem Manshadi DB2 4 Sat Sep 24, 2016 12:14 pm


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