z/OS 2.2 and above allow use of system symbols in batch. See the SYSSYM=ALLOW 
parameter of JOBDEF and JOBCLASS in the JES manuals.

HTH,

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
scott Ford
Sent: Saturday, December 29, 2018 12:37 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: System Symbols

Peter,

Exactly. I saw the responses after I read through the manual, just wanted to 
make sure I understood the process before thinking about a design. In theory, 
we would have customer set the symbol and use the Service to query it as you 
had indicated.

As always Peter, very much appreciated, and I learned someone again.

Regards,
Scott

On Sat, Dec 29, 2018 at 10:15 AM Peter Relson <rel...@us.ibm.com> wrote:

> <snip>
> Has anyone created their own system symbol and then referenced it in
> HLASM ?
> </snip>
>
> Adding system symbols is not something that a program should be doing.
> IEASYMxx is the supported method for defining system symbols.
> SETLOAD IEASYM is the supported method for adding a system symbol
> after IPL.
>
> <snip>
> what I am not clear on is how to have HLASM code read the system
> symbol table and compare for the desired symbol.What i want to do is
> if we find a specific symbol set, have a exit perform conditional logic.
> </snip>
>
> You should not "read the system symbol table". If you want to see if a
> specific symbol is set, then you should use the ASASYMBM service to
> try to substitute a string that has that symbol in it and see if
> substitution occurred.
>
> This of course is very inefficient, and unless this will happen only
> once in the life of the system you would be better off doing this
> once, somewhere, and stashing the result so that subsequent times can
> get the result quickly.
>
> Peter Relson
> z/OS Core Technology Design
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send
> email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
--
Scott Ford
IDMWORKS
z/OS Development

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN
::DISCLAIMER::
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. E-mail transmission is not guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or may contain viruses in transmission. 
The e mail and its contents (with or without referred errors) shall therefore 
not attach any liability on the originator or HCL or its affiliates. Views or 
opinions, if any, presented in this email are solely those of the author and 
may not necessarily reflect the views or opinions of HCL or its affiliates. Any 
form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of this message without the prior written 
consent of authorized representative of HCL is strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any email and/or attachments, please check them for 
viruses and other defects.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to