IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

doubt on unix files created in zOS


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
aprocon

New User


Joined: 26 Oct 2010
Posts: 41
Location: chennai

PostPosted: Thu Sep 06, 2012 6:12 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Thu Sep 06, 2012 6:25 am
Reply with quote

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
View user's profile Send private message
aprocon

New User


Joined: 26 Oct 2010
Posts: 41
Location: chennai

PostPosted: Thu Sep 06, 2012 3:01 pm
Reply with quote

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
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu Sep 06, 2012 3:04 pm
Reply with quote

Maybe:

Code:
/pkgs/roots/prd/sdomon/pwd
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Thu Sep 06, 2012 4:28 pm
Reply with quote

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
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Thu Sep 06, 2012 5:30 pm
Reply with quote

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
View user's profile Send private message
aprocon

New User


Joined: 26 Oct 2010
Posts: 41
Location: chennai

PostPosted: Thu Sep 06, 2012 5:39 pm
Reply with quote

Yes, I see only 3.16. when I do 3.17 it says invalid option.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Thu Sep 06, 2012 5:44 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Thu Sep 06, 2012 5:54 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Sep 06, 2012 7:04 pm
Reply with quote

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
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu Sep 06, 2012 7:15 pm
Reply with quote

question;
If so how can I find that unix server name or ip address?

tso netstat home
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Sep 06, 2012 7:29 pm
Reply with quote

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 . . . icon_wink.gif

d
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu Sep 06, 2012 8:01 pm
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Mon Sep 10, 2012 10:41 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Mon Sep 10, 2012 11:08 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
Search our Forums:

Back to Top