I think that you have to triple-quote the beginning of the SYM1 value and the end of the SYM2 value, like this:
// SET SYM1='''blah,blah,blah' // SET SYM2=',foo,foo,foo''' // SET LONGSYM=&SYM1.&SYM2 In the SET for LONGPARM, the SYM1 and SYM2 values are quote-stripped when they are referenced. HTH Peter -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Charles Mills Sent: Thursday, February 28, 2019 6:33 PM To: [email protected] Subject: How do I get a lower-case value into a "long" symbol? EXTERNAL EMAIL I want to set a symbol to a value with lowercase letters and too long to go on one line. (The ultimate destination of the symbol is substitution into a SYSIN file, but that is not where the problem is.) So I am doing // EXPORT SYMLIST=* // SET SYM1='blah,blah,blah' // SET SYM2=',foo,foo,foo' // SET LONGSYM=&SYM1.&SYM2 ... //PARMDD DD *,SYMBOLS=JCLONLY MYPARM(&LONGSYM) /* I am getting errors on the SET LONGSYM: IEFC620I UNIDENTIFIABLE CHARACTER b ON THE SET STATEMENT, etc. If I quote the &SYM1.&SYM2 then no substitution is performed and I end up with LONGSYM being literally "&SYM1.&SYM2". Any ideas? Charles ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
