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

Create a small subset of MAN dataset


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vasanthz

Global Moderator


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

PostPosted: Fri Nov 15, 2013 2:16 am
Reply with quote

Hi,

I am in a need to create a small subset of MAN dataset in "VSAM format". I am aware that we can dump MAN dataset using IFASMFDP and create a PS VBS file.
But is there any way we can create, a VSAM file which is exact replica of MAN dataset.

The requirement is to tune the SMF dumping job by altering parameters in the job. So in need of a MAN dataset to play with.

If I copy a PS VBS SMF file into a VSAM file with MAN dataset attributes, would it be exact replica of MAN dataset to test?

I don't have much experience working with MAN dataset, so pardon my ignorance. SMF files in PS VBS files have always been my thing Im used to.

Thanks & Regards,
Back to top
View user's profile Send private message
vasanthz

Global Moderator


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

PostPosted: Fri Nov 15, 2013 3:24 am
Reply with quote

the more time passes, the more I feel that copying a smf file into a vsam file is a bad idea and won't work
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Nov 15, 2013 3:46 am
Reply with quote

Code:
  DEFINE CLUSTER( -
      CONTROLINTERVALSIZE(4096) -
      CYLINDERS(40) -
      NAME(SYS1.TECH.MAN1) -
      NONINDEXED -
      RECORDSIZE(4086,32767) -
      REUSE -
      SHAREOPTIONS(2) -
      SPANNED -
      SPEED -
      VOLUME(OSACAT) ) -
    DATA( -
      NAME(SYS1.TECH.MAN1.DATA) ) -
    CATALOG(SYS1.MASTER.CATALOG.VOSACAT)
will work, but you will need to change the names appropriately -- and you need the appropriate security authorization, of course. Once defined, I would expect REPRO would copy the data from one of your existing files.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


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

PostPosted: Fri Nov 15, 2013 6:25 pm
Reply with quote

Thanks Robert for your thought,
Are you saying that REPROing an existing SMF PS file into a VSAM file would work?
I would give it a try now.

Regards,
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Nov 15, 2013 6:35 pm
Reply with quote

I would define it, then REPRO some of the records from the current SYS1.MANx into the new file. PS to VSAM might work but I haven't tried it so I cannot say for sure.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


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

PostPosted: Fri Nov 15, 2013 6:47 pm
Reply with quote

Okay Robert, Thanks again, I would copy from one of the free MAN datasets.

Regards,
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 -> All Other Mainframe Topics

 


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 How to create a list of SAR jobs with... CA Products 3
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top