System-wide named tokens will survive between batch steps, but may require authorized code to create and delete them.
Retrieving them in batch steps subsequent to the “set” or “create” step requires no authorization. Peter From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Jon Perryman Sent: Thursday, October 19, 2023 11:43 AM To: [email protected] Subject: Re: Programatically setting JCL symbols Namedtokens is designed for what you are describing. On Thu, 19 Oct 2023 09:17:34 -0500, Charles Hardee <[email protected]> wrote: >Program A executes and sets a global symbol to a certain value and >terminates. >Many other jobs execute and, in each one, as needed, the programs check to >see if the global symbol is set and, if it is, to what value. >They then make logic path decisions within the program based on the value >of the global symbol. >Finally, Program B runs, or maybe it's just Program A again, and the global >symbol is deleted. -- 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
