On Mon, 29 Aug 2016 15:41:00 -0700, Lizette Koehler wrote:
>
>You can also look at SYMBOLICRELATE
>  DEFINE ALIAS (NAME(SYS1.FOOBAR) -
>            SYMBOLICRELATE('JOEBLOW.FOOBAR'))
>
"SYMBOLICRELATE" can be abbreviated "SYM".  I avoid using abbreviations
in a didactic context.  I even say "ALLOCATE DATASET()", not "ALLOC DA()".

>However, when a data set ALIAS of NON VSAM is created using DEFINE ALIAS
>SYMBOLICRELATE and when a DELETE is done against the REAL data set, the data 
>set
>alias created using SYMBOLICRELATE is not deleted. This is because the entry is
>not associated with any real data sets and it is only a catalog entry.
>
The "however" suggests that you consider this a cautionary statement.  Rather, I
consider it useful.  I can briefly delete the SYMBOLICRELATEd data set and 
rebuild
it with no need to create the alias.

However, there's a restriction not stated in the manual: the SYMBOLICRELATEd 
name
must contain at least one substitutable symbol.  Perhaps I need to submit an 
RCF.

And another caution concerning ENQueues:  At job initiation, the initiator 
attempts
to ENQ only on the ALIAS name, waiting until contention is resolved.  At step
initiation the initiator attempts to ENQ on the RELATED name.  Any failure due
to contention is immediately fatal; no waiting for resolution because of the 
risk
of deadlocks.

-- gil

----------------------------------------------------------------------
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