On Sat, 7 Oct 2023 13:10:36 -0500, Michael Oujesky wrote:

>Dynamic symbols (date/time) can be evaluated at different points in
>time during conversion, so if used multiple time in the JCL, they can
>resolve to different values.   My ROT was to never use a dynamic
>symbol more that once in coding and where it was needed multiple
>time, set it to my own date/time variable and then use that in the
>multiple instances it was needed.
> 
But the hazard exists for any two or more symbols whose values must
be coordinated such as DATE and TIME.  This could be done with a
single symbol containing both date and time with guaranteed block-
concurrent access.  I know of none such.

POSIX rename() and PDS STOW Replace provide the effect of
block-concurrent access to the content of a file.

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to