View previous topic :: View next topic
|
Author |
Message |
Searchman
New User
Joined: 28 Dec 2006 Posts: 80 Location: France
|
|
|
|
I use a CLIST many times to search strings in a program.
Sometimes, I whish to restore the value of a number line obtained in a previous call. Are there special variables that can save the value between two CLIST calls or do I have to create a QSAM file just for that ? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
To save
ISPEXEC VPUT (var1 var2 var3) PROFILE
To retrieve use VGET instead of VPUT |
|
Back to top |
|
|
Searchman
New User
Joined: 28 Dec 2006 Posts: 80 Location: France
|
|
|
|
Thank you, I'll try it on monday.
How long are saved the variables ?
During all the TSO session time ? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
I use profile, so that they are stored in my ISPF profile dataset, so they are available until you delete them |
|
Back to top |
|
|
Searchman
New User
Joined: 28 Dec 2006 Posts: 80 Location: France
|
|
|
|
I've tested it today, it goes smoothly ! |
|
Back to top |
|
|
|