Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

doubt on unix files created in zOS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: doubt on unix files created in zOS
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: 7913
Location: Bellevue, IA

PostPosted: Thu Sep 06, 2012 6:25 am    Post subject:
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    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7231

PostPosted: Thu Sep 06, 2012 3:04 pm    Post subject: Reply to: doubt on unix files created in zOS
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: 1715
Location: UK

PostPosted: Thu Sep 06, 2012 4:28 pm    Post subject:
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: 641
Location: Whitby, ON, Canada

PostPosted: Thu Sep 06, 2012 5:30 pm    Post subject:
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    Post subject:
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: 1715
Location: UK

PostPosted: Thu Sep 06, 2012 5:44 pm    Post subject:
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: 7913
Location: Bellevue, IA

PostPosted: Thu Sep 06, 2012 5:54 pm    Post subject:
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

Site Director


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

PostPosted: Thu Sep 06, 2012 7:04 pm    Post subject:
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: 1445
Location: Azeroth

PostPosted: Thu Sep 06, 2012 7:15 pm    Post subject:
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

Site Director


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

PostPosted: Thu Sep 06, 2012 7:29 pm    Post subject: Reply to: doubt on unix files created in zOS
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: 1445
Location: Azeroth

PostPosted: Thu Sep 06, 2012 8:01 pm    Post subject:
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

Senior Member


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

PostPosted: Mon Sep 10, 2012 10:41 pm    Post subject: Reply to: doubt on unix files created in zOS
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: 7913
Location: Bellevue, IA

PostPosted: Mon Sep 10, 2012 11:08 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 8 Thu Dec 01, 2016 8:28 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
No new posts Doubt in MFS abdulrafi IMS DB/DC 2 Fri Oct 21, 2016 3:09 pm
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
No new posts Adding records from two files into on... shiitiizz SYNCSORT 4 Mon Sep 19, 2016 8:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us