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

How do we know where the dataset got created


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 420
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Sun Mar 19, 2006 8:26 am
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
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: 1448
Location: Chicago, IL

PostPosted: Mon Mar 20, 2006 7:40 pm
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
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top