View previous topic :: View next topic
|
Author |
Message |
pankaj1002
New User
Joined: 30 Jul 2012 Posts: 18 Location: India
|
|
|
|
Hi,
My Requirement is to define a variable name of length=4 bytes but it should not hold the data more than 2 bytes.
For e.g. in my Panel screen.
% DATE = _Month/ _Day/_Year %
where '_' is for input and '/' is text (to be displayed on screen.
Here, to take 2 bytes for Month,Day, year variable, I have to define the variable like _M, _D ,_Y.
Is there any other way where I can define long names but to store shorter data. |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
Use 'z' variables |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
search the ISPF manuals for .ZVARS |
|
Back to top |
|
|
pankaj1002
New User
Joined: 30 Jul 2012 Posts: 18 Location: India
|
|
|
|
Thank u guys! that was helpfull.. |
|
Back to top |
|
|
|