View previous topic :: View next topic
|
Author |
Message |
sunil_cse53 Currently Banned New User
Joined: 06 Jun 2007 Posts: 2 Location: hyderabad
|
|
|
|
How to edit dataset (meaning that can we change secondary and primary memory of dataset). |
|
Back to top |
|
|
vijaynedunuri Warnings : 1 New User
Joined: 11 Jun 2006 Posts: 10
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
DUP is not a TSO/ISPF command.
O. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
yogi.47eie
New User
Joined: 16 Aug 2006 Posts: 45 Location: india
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello Anuj,
Yup, you're wandering. . . just a little
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 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 |
|
|
yogi.47eie
New User
Joined: 16 Aug 2006 Posts: 45 Location: india
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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. |
|
Back to top |
|
|
|