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
 

 

How do we know where the dataset got created

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
VENKATA999
Warnings : 2

New User


Joined: 05 Jan 2006
Posts: 44

PostPosted: Sat Mar 18, 2006 9:38 pm    Post subject: How do we know where the dataset got created
Reply with quote

Hi Friends ,

i have jcl with 2 steps , in first step i have given disp like disp=(new,keep,keep) . This means dataset is new and will keep even if job abends . Right ? . we know uncatlg dataset can be accessed by giving volume and serial no .If dataset kept with out catalog in either case , how do we know in which volume dataset got created .


Thank inadvance ,
venkata.
Back to top
View user's profile Send private message

dneufarth

Active User


Joined: 27 Apr 2005
Posts: 241
Location: Cincinnati OH USA

PostPosted: Sun Mar 19, 2006 8:26 am    Post subject:
Reply with quote

syslog has the answer
Back to top
View user's profile Send private message
VENKATA999
Warnings : 2

New User


Joined: 05 Jan 2006
Posts: 44

PostPosted: Mon Mar 20, 2006 7:32 pm    Post subject:
Reply with quote

Hi Dave ,

can you please explain about syslog in more detail . where do we have the same . How do we access it .


Thanks in advance ,
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Mon Mar 20, 2006 7:40 pm    Post subject: Re: How do we know where the dataset got created
Reply with quote

Just open your Joblog in browse mode & search for the dataset name. You should get the VOLUME too.

Regards,
Priyesh.
Back to top
View user's profile Send private message
VENKATA999
Warnings : 2

New User


Joined: 05 Jan 2006
Posts: 44

PostPosted: Mon Mar 20, 2006 8:53 pm    Post subject:
Reply with quote

Hi Friends ,

i do not know where is joblog or syslog . can you please walk me through the steps . Please...


Thank you,
Back to top
View user's profile Send private message
pspreddy

New User


Joined: 14 Mar 2006
Posts: 24
Location: Chicago

PostPosted: Tue Mar 21, 2006 5:23 am    Post subject: Re: How do we know where the dataset got created
Reply with quote

Hi Venkat,

You can view the SYSLOG with the option you use to viee your spool.
For ex I use S;ST to go to my spool. When I use S (only) on command line it takes me to a sceen like below
Code:

DA    Active users
I     Input queue
O     Output queue
H     Held output queue
ST    Status of jobs

LOG   System log

END   Exit SDSF
LOG (in the above) is the option to view your system log. You can check for a similar thing on your shop.
But I dont think System log will give you the volume info of a dataset. I tried checking for one, but couldn't find

Yes, Joblog will give you the volume information of a dataset you allocate in your job. Type 'S' against your job in yout job spool and search for the datset name. The volume information will be right below the datset. Something like below

DSN (SPEDDAM.SHIVA.OUTPUT2 )
STORCLAS (SCBASE) MGMTCLAS (MCBASE) DATACLAS (DCSMS)
VOL SER NOS= QLG051

Remember this is to find the volume information of a datset created in your job even with out a catalog option but not to find the volume info of a dataset created elsewhere.

Frnds, does anybody have an idea of how to find the volum info of an uncataloged dataset if we just know the name (I do not know when and where it is created. I just know the name of a dataset and that it exists on some volume and I want to on which volume it exists). I there a way to find this. All responses will be highly appreciated

Thanks
Sivaprasad
Back to top
View user's profile Send private message
Bharanidharan

New User


Joined: 20 Jun 2005
Posts: 86
Location: Chennai, India

PostPosted: Wed Mar 22, 2006 9:49 am    Post subject: Re: How do we know where the dataset got created
Reply with quote

I am confused why system keeps cataloging (i.e. adds an entry in VTOC), though we mention DISP sub-parm as KEEP during creation of the file.
This poses the questions as to how KEEP works against CATLG, as far as VTOC entry addition is concerned, and how system keeps track of the KEEPed datasets.

Anyway, if I know the dataset name, I would use file-aid VTOC utility to search in a volume set (say, VOLUME SERIAL as DEV*, where DEV volumes contain all files in test environment).

Any more thoughts?

Regards,
Bharani.
Back to top
View user's profile Send private message
KS

New User


Joined: 28 Feb 2006
Posts: 91
Location: Chennai

PostPosted: Thu Mar 23, 2006 12:48 pm    Post subject:
Reply with quote

Hi ,

First of all I dont have option SYSLOG listed in my mainframe session.So i tried typing LOG in the command prompt.It said no sufficient authority to do the same.
In that case how do we know in which volume dataset got created .
Kindly help.
Thanks,
KS
Back to top
View user's profile Send private message
vidhyanarayanan

New User


Joined: 23 Dec 2005
Posts: 52

PostPosted: Fri Mar 24, 2006 1:13 pm    Post subject:
Reply with quote

hi,
IF DISP=( NEW,KEEP,KEEP).THERE WILL BE NO ENTRY IN VTOC. IT LL SIMPLY KEEP IT AT ANY CASE...WITHOUT MAKING ANY CATALOG ENTRY.


HOPE THIS WLL HELP ATLEAST A BIT

regards,
vidhya
Back to top
View user's profile Send private message
Vidusha

New User


Joined: 01 Feb 2006
Posts: 20
Location: Chennai

PostPosted: Fri Mar 24, 2006 3:04 pm    Post subject:
Reply with quote

Hi,

I think VTOC and Catalog are different...
Volume tabe of contents contains information about volumes. It shows the list of all datasets available in particular Volume
Catalog contains information about datasets...

I have come across the below
For new SMS managed dataset keep is same as catalog. But not sure which all comes under SMS and which all are NON SMS.

Also have come across that KEEP is very much valid for VSAM datasets, since it cannot be CATALGed, UNCATLGed etc...

But i dont have a clear idea..

Thanks
Vidusha
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm


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