And for the sake of additional, but unasked for documentation. If you want to use any system symbol you happen to have defined you would use the following syntax:
ln -s '$SYSSYMA/&yoursymbol./xxx' xxx &SYSSYMA is a special keyword for a symbolic absolute pathname &SYSSYMR is a special keyword for a symbolic relative pathname _________________________________________________________________ Dave Jousma Manager Mainframe Engineering, Assistant Vice President [email protected] 1830 East Paris, Grand Rapids, MI 49546 MD RSCB2H p 616.653.8429 f 616.653.2717 -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Peter Sent: Tuesday, July 05, 2016 1:53 PM To: [email protected] Subject: Re: Symlinks with $SYSNAME variable Hi John It fixed with command you gave. Peter On Jul 5, 2016 10:05 PM, "John McKown" <[email protected]> wrote: > On Tue, Jul 5, 2016 at 11:16 AM, John McKown > <[email protected] > > > wrote: > > > ln -s \$SYSSYMR/current-system > > > > > > Then /home/bubba/current-system would resolve to /home/bubba/SY1 on > > SY1 and /home/bubba/SY2 on SY2. > > > > > Damn it. Bug in that due to interruption. > > ln -s "\$SYSSYMR/&SYSNAME/current-system" > > The $SYSSYMR tells z/OS path resolution to pick up the _next_ > directory level (/&SYSSNAME/) and replace the static system symbol, > &SYSNAME, with its value. There is also &SYSSYMA will is similar but > always resolves starting at the UNIX root. > > > > -- > "Pessimism is a admirable quality in an engineer. Pessimistic people > check their work three times, because they're sure that something won't be > right. > Optimistic people check once, trust in Solis-de to keep the ship safe, > then blow everyone up." > "I think you're mistaking the word optimistic for inept." > "They've got a similar ring to my ear." > > From "Star Nomad" by Lindsay Buroker: > > Maranatha! <>< > John McKown > > ---------------------------------------------------------------------- > 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 This e-mail transmission contains information that is confidential and may be privileged. It is intended only for the addressee(s) named above. If you receive this e-mail in error, please do not read, copy or disseminate it in any manner. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
