View previous topic :: View next topic
|
Author |
Message |
svrekha
New User
Joined: 08 Mar 2007 Posts: 6 Location: coimbatore
|
|
|
|
Hi all ,
Can anyone help me on this :
i have declared a variable in the ISPF panel with the below picture clause
VER (&rollno,PICT,NNNNNNNNN)
VER (&class,PICT,NNNN)
VER (&mark,PICT,NNN)
as per my requirement i need to declare this in the clist
please let me know how to declare there variables in the clist , can i use the pic 9(9)... |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
You do not declare variables in CLIST, just go ahead and use them
But you should write programs in REXX instead of clist. |
|
Back to top |
|
|
svrekha
New User
Joined: 08 Mar 2007 Posts: 6 Location: coimbatore
|
|
|
|
hi,,
as per req, and to satify some scenrios , i need to declare these variables in clist,, please let me know the syntax |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
You have scenarios where you need to declare variables in a language that does not have variable declarations? Pls reread Pedro's post and look at the CLIST and ISPF manuals. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Which part of Pedro's reply was unclear to you ? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
... as per req,... |
the stupid requirement cannot be satisfied FULL STOP
in CLIST and REXX scripts variables are not defined anywhere,
the variables are automatically defined the first time they appear on the left side of an assignment |
|
Back to top |
|
|
|