John McKown's scheme works well. In this and similar situations it is also useful to recall that set symbols can be used in open code. Thus
|&id setc '&SYSPARM'. 'µ&SYSDATE'.'µ&SYSTIME' | SAVE (14,12),,&id (in which I have used 'µ' as a nonce representation of a blank) is, I think, clearer, easier to change, and less error-prone because the HLASM rules for concatenating target substrings in a SETC statement are simple and unambiguous. That said, this example is a surpassingly silly one. The value of the system symbols &SYSPARM, &SYSDATE and &SYSTIME are constant throughout an assembly; and the notional use of an id value here, to differentiate one SAVE from another, is thus defeated. Minimally, an id value used in this way should contain an incremented counter that differentiates one SAVE from another, and it is also of course a good idea to include a CSECT|RSECT name in such a value. John Gilmore, Ashland, MA 01721 - USA ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
