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 to edit datasets to change secondary and primary memory

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sunil_cse53
Currently Banned

New User


Joined: 06 Jun 2007
Posts: 2
Location: hyderabad

PostPosted: Sat Jul 21, 2007 12:37 pm    Post subject: How to edit datasets to change secondary and primary memory
Reply with quote

How to edit dataset (meaning that can we change secondary and primary memory of dataset).
Back to top
View user's profile Send private message

vijaynedunuri
Warnings : 1

New User


Joined: 11 Jun 2006
Posts: 10

PostPosted: Sat Jul 21, 2007 12:51 pm    Post subject: Re: how to edit datasets
Reply with quote

In my view

You can't edit the datasets and change the primary & secondary quatities.

You can change the dataset's , but you have to copy to another datasets with the help of DUP command.

Go to 3.4 option,
specify any dataset & enter,
after entering just give DUP command infront of the dataset.

Please update me if you got the exact answer.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Sun Jul 22, 2007 9:11 am    Post subject:
Reply with quote

DUP is not a TSO/ISPF command.

O.
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: Sun Jul 22, 2007 9:34 am    Post subject:
Reply with quote

Hello,

As DUP is likely some site-specific process, you can do what you want using 3.3 - for "Allocation Options:" select 2 and specify the attributes you want. Copy the existing dataset to some other name with the attributes you spoecified in 3.3.

Then use, 3.4 and rename the original and new datasets.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jul 24, 2007 3:12 pm    Post subject: Re: How to edit datasets to change secondary and primary mem
Reply with quote

dick scherrer wrote:
you can do what you want using 3.3 - for "Allocation Options:" select 2 and specify the attributes you want.

Dick,

I think, here you are talking about ISPF's 3.3 option. Tried your suggestion at my site, but I do not get any "Allocation Options:", please suggest if I'm wandering somewhere else. Below is the screen which I got with 3.3 option of ISPF.

Code:
   Menu  RefList  Utilities  Help                                               
 ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
                               Move/Copy Utility                               
 Option ===> __________________________________________________________________
                                                                               
  C  Copy data set or member(s)          CP Copy and print                     
  M  Move data set or member(s)          MP Move and print                     
                                                                               
 Specify "From" Data Set below, then press Enter key                           
                                                                               
 From ISPF Library:                                                             
    Project . . .               (--- Options C and CP only         ---)         
    Group . . . . ________ . . . ________ . . . ________ . . . ________         
    Type  . . . . ________                                                     
    Member  . . . ________         (Blank or pattern for member list,           
                                    "*" for all members)                       
                                                                               
 From Other Partitioned or Sequential Data Set:                                 
    Data Set Name . . . ________________________________________________________
    Volume Serial . . . ______     (If not cataloged)                           
                                                                               
 Data Set Password  . .            (If password protected)                     
                                                                               
                                                                               



Alternatevely, for the OP's requirement in ISPF MYCOPY/F33 commands are there, using which primary & secondary quantity can be altered.
Back to top
View user's profile Send private message
yogi.47eie

New User


Joined: 16 Aug 2006
Posts: 28
Location: india

PostPosted: Tue Jul 24, 2007 5:48 pm    Post subject: Re: How to edit datasets to change secondary and primary mem
Reply with quote

Hi dude,
in this same screen enter the source DS that you need to copy & it will navigate to second screen where you should give ur destination DS .At this time it will ask whether you want to copy the properties of source DS or allocate new attributes... at this time you can give the primary & seconday memory as per ur wish...

Thanks
R.yogaraj
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: Tue Jul 24, 2007 6:27 pm    Post subject:
Reply with quote

Hello Anuj,

Yup, you're wandering. . . just a little icon_smile.gif

After you enter "c" for the option and the "from" dataset name and press Enter, a second screen is displayed. On that screen for "Allocation Options:" select 2 and you will have the opportunity to change the attributes to new values for the new dataset.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jul 24, 2007 6:41 pm    Post subject: Re: How to edit datasets to change secondary and primary mem
Reply with quote

Yup yogaraj, that I know, but couldn't get this:
Quote:
.. for "Allocation Options:" select 2 and specify the attributes you want.

& that's why the previous post. Got it now, I need to select 2 here, right ?
(usually I use 1 here)
Code:
To Data Set Options:     
   Sequential Disposition
   2  1. Mod             
      2. Old             


Still, to use F33 is rather easy I think.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jul 24, 2007 6:48 pm    Post subject:
Reply with quote

Ah..Dick..yeah, actually, I was searching for the string "Allocation Options:", I think you were directing towards 'Data Set Options'...right?
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: Tue Jul 24, 2007 7:04 pm    Post subject:
Reply with quote

Hello Anuj,

Quote:
After you enter "c" for the option and the "from" dataset name and press Enter, a second screen is displayed. On that screen for "Allocation Options:" select 2 and you will have the opportunity to change the attributes to new values for the new dataset.


I lied icon_redface.gif Was typing from memory and forgot that you have to hit enter after specifying the "new" dataset. The following will be displayed after you specify the "to" dataset.
Code:
                       Allocate Target Data Set                     
 Command ===>                                                       
                                                                   
 Specified data set MS.RDS.DB2OUT.NEW                               
 does not exist.                                                   
 If you wish to allocate this data set, select one of the options   
 below.                                                             
                                                                   
 Allocation Options:                                               
    1. Allocate using the attributes of:                           
       MS.RDS.DB2OUT                                               
    2. Specify allocation attributes                               
                                                                   
 /  Use existing SMS attributes for option 1                       
                                                                   
 Instructions:                                                     


This is where you select 2.

Then fill in the attributes on this screen
Code:
 ---------------------------------------------------------------------------
                             Allocate New Data Set                         
 Command ===>                                                               
                                                                    More:   
 Data Set Name  . . . : MS.RDS.DB2OUT.NEW                                   
                                                                           
 Management class . . . MCSTD          (Blank for default management class)
 Storage class  . . . . SCSTD          (Blank for default storage class)   
  Volume serial . . . . MVA320         (Blank for system default volume) **
  Device type . . . . .                (Generic unit or device address) ** 
 Data class . . . . . . DCDFAULT       (Blank for default data class)       
  Space units . . . . . TRACK          (BLKS, TRKS, CYLS, KB, MB, BYTES     
                                        or RECORDS)                         
  Average record unit                  (M, K, or U)                         
  Primary quantity  . . 2              (In above units)                     
  Secondary quantity    5              (In above units)                     
  Directory blocks  . . 0              (Zero for sequential data set) *     
  Record format . . . . FB                                                 
  Record length . . . . 4096                                               
  Block size  . . . . . 4096                                               
  Data set name type                   (LIBRARY, HFS, PDS, LARGE, BASIC, * 
                                        EXTREQ, EXTPREF or blank)           
 


Let me know if it is still not clear.
Back to top
View user's profile Send private message
yogi.47eie

New User


Joined: 16 Aug 2006
Posts: 28
Location: india

PostPosted: Wed Jul 25, 2007 4:47 pm    Post subject: Re: How to edit datasets to change secondary and primary mem
Reply with quote

Hi anuj,
I might have missunderstood your requirement,
Here is the another way to change the primary memory..

If you are having Advantage CA-File master
In CA-File Master ->UTILITIES - > PDS ->Update PDS allocation parameters

here you can update the primary memory & regarding the secondary i don't have any idea...


Thanks
Yogi
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Jul 25, 2007 9:15 pm    Post subject:
Reply with quote

Dick,

I know the option you show above, actually what I thought that there is some new ISPF version is in market which gives the 'Allocate Target Data Set' screen right away, so previous post comes in. However, Thanks for the clarification.

Quote:
If you are having Advantage CA-File master

No, we don't have Advantage CA-File master. Still, thanks for sharing, will keep this tip with me whenever be working in new shop. icon_smile.gif
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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts Mass comment and edit elixir1986 IBM Tools 3 Thu Mar 02, 2017 10:09 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm


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