IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to define single byte variable in ISPF Panel


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pankaj1002

New User


Joined: 30 Jul 2012
Posts: 18
Location: India

PostPosted: Mon Aug 20, 2012 12:59 pm
Reply with quote

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
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Mon Aug 20, 2012 1:45 pm
Reply with quote

Use 'z' variables
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Mon Aug 20, 2012 9:37 pm
Reply with quote

search the ISPF manuals for .ZVARS
Back to top
View user's profile Send private message
pankaj1002

New User


Joined: 30 Jul 2012
Posts: 18
Location: India

PostPosted: Tue Aug 21, 2012 11:42 am
Reply with quote

Thank u guys! that was helpfull..icon_biggrin.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
Search our Forums:

Back to Top