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 

Defining variables with long contents

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


Joined: 02 Dec 2002
Posts: 618
Topics: 172
Location: Stockholm, Sweden

PostPosted: Fri Jan 18, 2019 3:24 am    Post subject: Defining variables with long contents Reply with quote

On our panel here, when I do a 7;3, I see the text
Code:

Current scrollable width of variables is: 62

At the same time, in the online help, it syas that variables can contain up to 2048 characters.

How do I edit/define a variable with, say, 200 characters (ie, more than the 62 from above)?
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12367
Topics: 75
Location: San Jose

PostPosted: Fri Jan 18, 2019 5:36 pm    Post subject: Re: Defining variables with long contents Reply with quote

misi01 wrote:
On our panel here, when I do a 7;3, I see the text
Code:

Current scrollable width of variables is: 62




If you PF8 a couple of times you would see this

Code:

Current scrollable width of variables is: 1163 


misi01 wrote:

At the same time, in the online help, it syas that variables can contain up to 2048 characters.

How do I edit/define a variable with, say, 200 characters (ie, more than the 62 from above)?


You use VPUT to define the variables that are longer. You can use VGET to see the long variables. For examples ZSDATA contains more than 57 characters that are shown on 7.3 panel.

Here is an example to display the contents


Code:

/* REXX */                       
ISPEXEC VGET ZSDATA SHARED       
SAY 'ZSDATA IS : ' ZSDATA       


Here is a link to the documentation of VPUT to add variables to the shared/profile pool

https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.f54rs00/vput.htm
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
misi01
Advanced


Joined: 02 Dec 2002
Posts: 618
Topics: 172
Location: Stockholm, Sweden

PostPosted: Sun Jan 20, 2019 3:24 am    Post subject: Reply with quote

Thanks.

Talked to a knowledgeable colleague at work and doing a manual vput from a script was the conclusion we arrived at.
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
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