ZCMD



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

ZCMD

Postby mehi1353 » Sun Apr 28, 2013 6:54 pm

HI ALL,

I'VE DEVELOPERD AN ISPF PANEL LIKE THIS:

)PANEL KEYLIST(ISRSAB,ISR)
)BODY WINDOW(70,22) CMD(ZCMD) ASIS
%---------------------- PASSWORD ADMINISTRATION ----------------------
+
% SELECT OPTION ===>_ZCMD%
%
% 1 + PROGRAM1
% 2 + PROGRAM2
% 3 + PROGRAM3
% 4 + PROGRAM4
% 5 + PROGRAM5
% 6 + PROGRAM6
% 7 + EXIT

THE "ZCMD FIELD" ACCEPTS 4 CHARACTERS. BUT I NEED JUST 1 CHARACTER (and no more)
HOW I CAN REDUCE THE NUMBER OF CHARACTERS TO 1?

THANKS IN ADVANCE.

Mehrdad
mehi1353
 
Posts: 39
Joined: Sun Jan 11, 2009 4:51 pm
Has thanked: 0 time
Been thanked: 0 time

Re: ZCMD

Postby enrico-sorichetti » Sun Apr 28, 2013 7:34 pm

wise to review Your understanding of ISPF <select panel> logic
ISPF logic dictates ZCMD to be large enough to accept any reasonable command ...
like in any other ISPF provided panel
in order to be able to <jump to >/<execute> any ISPF panel/command
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: ZCMD

Postby chant94 » Tue May 28, 2013 12:17 am

+ Coefficient ......$Z +
+ Niveau .......$Z+
)INIT
.ZVARS = '(COEF NIV)'

Here COEF will be on 3 char (Z and 2 blanks) , and Niv on 1 char (Z)
All the fields are Z in the panel, the first is for the variable COEF, the second for NIV, etc ...
chant94
 
Posts: 3
Joined: Tue May 28, 2013 12:09 am
Has thanked: 0 time
Been thanked: 0 time


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post