View previous topic :: View next topic
|
Author |
Message |
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Use the CMD keyword in your )BODY section., or use the .CURSOR properly.
O. |
|
Back to top |
|
|
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
-+_JOBNAMEM
. ./\ what is this? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Sure I can help you. Just read the fine manual first.
O. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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:
and
|
|
Back to top |
|
|
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
oops... my problem is resolved in different manner after initializing the varibale like below
Code: |
JOBNAMEM = '@JOBNAME' |
|
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Perhaps your cursor is in the wrong location, but this is still wrong.
Wrong in the init section. |
|
Back to top |
|
|
|