View previous topic :: View next topic
|
Author |
Message |
aprocon
New User
Joined: 26 Oct 2010 Posts: 41 Location: chennai
|
|
|
|
Hi,
I am executing a jcl that creates a unix file j12249.xml in the path /pkgs/root/data/sdmon. My job ends with RC 0. I am able to see the file in TSO ISHELL. but I do not know on which unix server my file is getting created. I am not specifying IP address in my JCL. I spoke with unix admins to see if they can assist me in understanding where the file is being created. they washed their hands saying they cannot locate my file from 5000 servers. Is it something like my unix files created from mainframes go to some default unix servers? If so how can I find that unix server name or ip address?
Please help me. Thanks in advance!! |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Unless you are executing REXEC in your JCL, the file is being created on the mainframe under Unix System Services. Use ISPF option 3.17 to point to /pkgs/root/data/sdmon directory to determine if the file is there. Since you can see the file in TSO ishell then by definition this is where the file is being created.
If you ARE using REXEC in your JCL, the server you are connecting to for running your Unix script / program will be a parameter either in the PARM= or one of the DD names in that step. |
|
Back to top |
|
|
aprocon
New User
Joined: 26 Oct 2010 Posts: 41 Location: chennai
|
|
|
|
Thanks for your response..
my site does not have 3.17 installed.
I am dynamically creating my file using PL/I.
my syntax is below.
ALLOC FI(XMLOUT) PATH('/pkgs/roots/prd/sdomon/j10072.d120905.t044729.xml') PATHOPTS(ORDWR,OCREAT) PATHMODE(SIRWXU,SIRGRP,SIROTH) FILEDATA(TEXT) LRECL(80).
Is there a way from ISHELL to see which unix server my path is pointing to? |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Maybe:
Code: |
/pkgs/roots/prd/sdomon/pwd |
|
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
It may not be under 3.17. Our option 3 only goes up to 14 and that is a full screen. However, access to Unix services is via another option. I cannot say which as I have no idea if these are tailored menus or not. |
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
Are you sure that your option 3 screen only goes up to 14? If you are using a 24x80 screen and you have PFSHOW on, then you will only see 14 options, but you can see the rest by scrolling the panel via the DOWN (PFK8) key.
You can also tell by looking for the More: + prompt near the top right of the panel body. |
|
Back to top |
|
|
aprocon
New User
Joined: 26 Oct 2010 Posts: 41 Location: chennai
|
|
|
|
Yes, I see only 3.16. when I do 3.17 it says invalid option. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
I looked when I was investigating - no "More: +" on option 3 but we do have option 13 on the primary options menu which leads to another menu on which options 9, 10 and 11 are to do with Unix:
Code: |
9 Unix Browse z/OS Unix Browse Files
10 Unix Edit z/OS Unix Edit Files
11 Unix Shell z/OS Unix Shell |
The panelid for this ISR@390U. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
Is there a way from ISHELL to see which unix server my path is pointing to? |
Read this carefully so you don't ask a third time: the Unix server your JCL is pointing to is called z/OS Unix System Services and it is part of your mainframe. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If you are still unable to locate your /directory/file, it is time to talk with whoever supports Unix System Services on your system.
They can explain what is happening. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
question;
If so how can I find that unix server name or ip address?
tso netstat home |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hi Vasanth,
If i understand, the file is created locally and is not on "some server" located "somewhere".
I do not believe the ip address will help . . .
Could be mistaken . . .
d |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
hi D,
I understood Robert's comment that it's the same machine. I posted the netstat command to get the home address which is the same.
regards, |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
the Unix server your JCL is pointing to is called z/OS Unix System Services and it is part of your mainframe. |
note: I do not know nearly enough of USS as I should.
Unix System Services (USS) is a component of z/OS. You can run unix workloads on z/OS! Regarding your USS file... I understand why you might be confused: the file name seemingly would not be supported on z/OS. But z/OS is able to map your Unix-style directory to a VSAM file on z/OS. If you use ISPF 3.4 to look at your volumes, you will not find your USS file, but it will be in some system VSAM file. You need to use USS interfaces to use your USS file.
I am not sure when option 3.17 was added, but likely, if you do not have it, your system is probably out of date. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
ISPF 3.17 was added in release 1.8 of z/OS IIRC, making it 5 to 6 years old at this point. |
|
Back to top |
|
|
|