On Thu, 26 Feb 2009 17:40:12 +0200, Itschak Mugzach <[email protected]> wrote:

>I looked in the init & Tunning guide but it is not clear if the Value of a
>symdef variable is limited in length. Can I use SYMDEF to create a variable
>that holds 44 chars dsname?
>

No.  The length can't be longer than the variable.

It is documented under SYMDEF for IEASYMxx in the MVS Initialization
and Tuning Reference.  The first sentence documents it, but I've included
the entire text from the fine manual.

"The length of the resolved substitution text cannot exceed the length of
&symbol, including the ampersand on &symbol and excluding the
single quotation marks on 'sub-text'. For example, although the length
of sub-text exceeds the length of the symbol &FRANKIE in the 
following example, the symbols contained in sub-text resolve to
1268ABC, which is a valid substitution text:


           SYMDEF(&MARYJOE.='1234568')
           SYMDEF(&FRANKIE.='&MARYJOE(1:2).&MARYJOE(-2:2).ABC')
 
However, the definition &JOHN='JOHNDOE' is not valid because the
resolved substitution text JOHNDOE contains more characters than
the system symbol &JOHN.



Mark
--
Mark Zelden
Sr. Software and Systems Architect - z/OS Team Lead
Zurich North America / Farmers Insurance Group - ZFUS G-ITO
mailto:[email protected]
z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to