Hey John,

You saying the working directory on Z/os unix is different than the homes?

Sent from my iPad
Scott Ford
Senior Systems Engineer
www.identityforge.com



On Mar 8, 2012, at 11:44 AM, "McKown, John" <john.mck...@healthmarkets.com> 
wrote:

> Personally, I'd say on the executing system. In any case, __something__ would 
> need to "expand" the simple "file.ext" to "/path/to/home/file.ext". I guess 
> that would be either during: JCL conversion or JCL interpretation or step 
> execution. Now, UNIX has the concept of "current working directory". I think 
> this is generally set when the address space is dubbed, at least for a "batch 
> job" which is what we're talking about since we're talking JCL (OK, or STC or 
> TSU) and we don't have any "inheritance" due to "fork()". When you UNIX 
> "open()" a file with a relative path in it, it is relative to the "current 
> working directory". So I would consider "execution time" the proper time to 
> do this. Just make sure that the "current working directory" for the address 
> space is set to the HOME when it is first dubbed. Of course, if the program 
> is using UNIX services, it could change the current working directory. That 
> would then become the "base" for the pathname in the open(). Which could b!
 e !
> very confusing to the ignorant user. So that could be yet another argument 
> against using relative path names in PATH=. Reduction in confusion as to 
> exactly which file is really being opened.
> 
> --
> John McKown 
> Systems Engineer IV
> IT
> 
> Administrative Services Group
> 
> HealthMarkets(r)
> 
> 9151 Boulevard 26 * N. Richland Hills * TX 76010
> (817) 255-3225 phone * 
> john.mck...@healthmarkets.com * www.HealthMarkets.com
> 
> Confidentiality Notice: This e-mail message may contain confidential or 
> proprietary information. If you are not the intended recipient, please 
> contact the sender by reply e-mail and destroy all copies of the original 
> message. HealthMarkets(r) is the brand name for products underwritten and 
> issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake 
> Life Insurance Company(r), Mid-West National Life Insurance Company of 
> TennesseeSM and The MEGA Life and Health Insurance Company.SM
> 
> 
> 
>> -----Original Message-----
>> From: IBM Mainframe Discussion List 
>> [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Tony Harminc
>> Sent: Thursday, March 08, 2012 10:11 AM
>> To: IBM-MAIN@bama.ua.edu
>> Subject: Re: Tips for continuing DD statement with only one 
>> parameter field
>> 
>> On 8 March 2012 10:46, Edward Jaffe 
>> <edja...@phoenixsoftware.com> wrote:
>>> On 3/8/2012 7:28 AM, Paul Gilmartin wrote:
>>>> 
>>>> o Pathnames must be absolute (start with "/")
>>> 
>>> 
>>> This is an inconvenience I wish could be rectified. No 
>> leading slash should
>>> default to one's home directory.
>> 
>> When, and on which system, would this be evaluated?
>> 
>> Tony H.
>> 
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
>> 
>> 
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

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

Reply via email to