A leading & indicate a parameter, function, operator or variable. System 
symbols are not part of the CLIST language; you need to use a predefined CLIST 
function to retrieve them.

&STR() and &NSTR() are quoting operators.

Most things are easier in REXX.

-- 
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר



________________________________________
From: IBM Mainframe Discussion List on behalf of Steve Beaver
Sent: Tuesday, May 13, 2025 2:33 PM
To: [email protected]
Subject: CLIST Question


External Message: Use Caution


I am attempting to use a SYSTEM SYMBOL in a CLIST and its not

Resolving



SET &TEST1 = &STR(&LPARNAME.)



What am doing wrong ?








----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN




----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to