Whatever nomenclature you want to use, the defined behavior is that the compound variable has the same status is if it was dropped until you assign a value to it.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Paul Gilmartin [[email protected]] Sent: Thursday, February 17, 2022 10:14 AM To: [email protected] Subject: Re: Rexx routine to dump all variables when debugging? On Thu, 17 Feb 2022 14:34:55 +0000, Seymour J Metz wrote: >X.41 is not defined. All tails are dropped initially and when you assign a >default value. > What's a "default value"? Are you inventing misleading terminology? > X.41 is defined by: X. = "Preset" <https://www.ibm.com/docs/en/zos/2.5.0?topic=symbols-stems> ..., when a stem is used as the target of an assignment, all possible compound variables whose names begin with that stem receive the new value, ... By default, the value of a stem is the string consisting of the characters of its symbol (that is, translated to uppercase). That is the sole mention of "default" in that topic. >________________________________________ >From: Paul Gilmartin >Sent: Wednesday, February 16, 2022 10:51 PM > >X. = "Preset" >DROP X.42 > Null = '' > X.Null = "Empty!" -- gil ---------------------------------------------------------------------- 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
