MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

One variable not work on ISPF DIALOG

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
issac1029
Intermediate


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Mon Sep 22, 2008 4:18 am    Post subject: One variable not work on ISPF DIALOG Reply with quote

One of the field 'I' in BOLD is not working, Please see below code. When I enter a 'Y' on screen, Message xxx000 still works.... Can anybody see an obvious mistake here? Another clue is even I put the statement 'IF (&I = 'N')' to the last place after 'K', ('I') Still not work.

Code:
)ATTR
 + TYPE(TEXT)   COLOR(BLUE) SKIP(ON)
 ? TYPE(TEXT)   COLOR(WHITE)
 | TYPE(OUTPUT) COLOR(YELLOW)
 $ TYPE(OUTPUT) COLOR(RED)    HILITE(BLINK)
 _ TYPE(INPUT)  COLOR(RED)
)BODY expand(##)
+#*#
+#*# ?ssss EXTRACT TO xxx +#*#
+#*#
+
+ Command ===>_ZCMD
+
+ Spec Keys File Name:  _FILENAME                        +
+
+ Send to: (Input Y for the ones you want)...
+
+                   Production    Pre-Production
+   xxxxx1:        _N+             _O+
+   xxxxx1:        _E+             _F+
+   xxxxx1:        _G+             _H+
+   xxxxx1:        _L+             _M+
+   xxxxx1:        _P+             _Q+

+   xxxxx1:        _A+             _W+
+   xxxxx1:        _B+             _V+
+   xxxxx1:        _C+             _K+
+   xxxxx1:        _D+             [b]_I+[/b]
+
+# #?PF1+Help?PF3+Exit# #
)INIT
&ZCMD = ' '
&N = 'N'
&E = 'N'
&L = 'N'
&P = 'N'
&G = 'N'
&O = 'N'
&F = 'N'
&M = 'N'
&Q = 'N'
&H = 'N'
&A = 'N'
&B = 'N'
&C = 'N'
&D = 'N'
&W = 'N'
&V = 'N'
&K = 'N'
&I = 'N'
IF (&FILENAME = ' ')
   &FILENAME = 'xxxx.xxx.xx.xx.x.xx'
.HELP = xxxxMHLP
.CURSOR = FILENAME
)PROC
 VER(&FILENAME,NB,MSG=xxx001)
 VER(&N,NB,LIST,Y,N,MSG=xxx005)
 VER(&E,NB,LIST,Y,N,MSG=xxx005)
 VER(&L,NB,LIST,Y,N,MSG=xxx005)
 VER(&P,NB,LIST,Y,N,MSG=xxx005)
 VER(&G,NB,LIST,Y,N,MSG=xxx005)
 VER(&O,NB,LIST,Y,N,MSG=xxx005)
 VER(&F,NB,LIST,Y,N,MSG=xxx005)
 VER(&M,NB,LIST,Y,N,MSG=xxx005)
 VER(&Q,NB,LIST,Y,N,MSG=xxx005)
 VER(&H,NB,LIST,Y,N,MSG=xxx005)
 VER(&A,NB,LIST,Y,N,MSG=xxx005)
 VER(&B,NB,LIST,Y,N,MSG=xxx005)
 VER(&C,NB,LIST,Y,N,MSG=xxx005)
 VER(&D,NB,LIST,Y,N,MSG=xxx005)
 VER(&W,NB,LIST,Y,N,MSG=xxx005)
 VER(&V,NB,LIST,Y,N,MSG=xxx005)
 VER(&K,NB,LIST,Y,N,MSG=xxx005)
 VER(&I,NB,LIST,Y,N,MSG=xxx005)
 IF (&N = 'N')
    IF (&E = 'N')
       IF (&L = 'N')
          IF (&P = 'N')
             IF (&O = 'N')
                IF (&F = 'N')
                   IF (&M = 'N')
                      IF (&Q = 'N')
                         IF (&G = 'N')
                            IF (&H = 'N')
                               IF (&A = 'N')
                                  IF (&B = 'N')
                                     IF (&C = 'N')
                                        IF (&D = 'N')
                                           IF (&W = 'N')
                                              IF (&V = 'N')
                                                 [b]IF (&I = 'N')[/b]                                                    IF (&K = 'N')
                                                            .CURSOR = N
                                                            .MSG = xxx000
)END

Back to top
View user's profile Send private message Send e-mail MSN Messenger
issac1029
Intermediate


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Mon Sep 22, 2008 4:22 am    Post subject: Reply with quote

Please ignore and in the code, they are for Font BOLD
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Mon Sep 22, 2008 2:49 pm    Post subject: Reply with quote

Possibly nesting the IFs too far - there may be a limit of 15 levels - check the manual
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Tue Sep 23, 2008 1:15 am    Post subject: Reply with quote

I should imagine that you only need a single value of Y to drop out of the sequence.
_________________
If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group