> That should get passed thru the TU to SVC 99.
Which will in turn expand the system symbol &DATE into 180220. I think @Gil has
a UNIX file that is named literally &DATE.
"Doc, it hurts when I hit myself in the head with a hammer."
"So don't hit yourself in the head with a hammer."
That said, my theory is that
DC '/u/myself/&&&&.DATE'
(or is it &&.&&.DATE?) might do it.
Charles
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of [email protected]
Sent: Tuesday, February 20, 2018 12:49 PM
To: [email protected]
Subject: Re: Avoiding substitution in TUs?
I am assuming that you have something like this:
DC '/u/myself/&DATE'
If &DATE is not defined, you should get an error.
I would think, and do not have time to test this right at this point, you want
this construct:
DC '/u/myself/&&.DATE'
That should get passed thru the TU to SVC 99.
Regards,
Steve Thompson
--- [email protected] wrote:
From: Paul Gilmartin <[email protected]>
To: [email protected]
Subject: [IBM-MAIN] Avoiding substitution in TUs?
Date: Tue, 20 Feb 2018 13:56:15 -0600
In:
z/OS IBM MVS Programming: Authorized Assembler Services Guide Version 2 Release
3 SA23-1371-30
Chapter 26. Requesting dynamic allocation functions
SVC 99 parameter list verb codes and text units, by function
Using system symbols in text units I see:
You can use system symbols to represent data set names, member
names, and path names in text units. You can specify system symbols in
the following text units
Verb code 01 - Dsname Allocation Text Units
DALDSNAM
DALMEMBR
DALPATH
How can I specify a pathname that is literally "/u/myself/&DATE", avoiding
system symbol substitution? Do I double the "&"?
Does this merit a RCF, or is it clarified elsewhere?
May the value of DALMEMBR before substitution be greater than 8 provided that
substitution reduces it to 8 or fewer?
-- 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
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN