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

Altering the management class of a GDG dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Chase

New User


Joined: 03 Jul 2010
Posts: 4
Location: Toronto

PostPosted: Sun Jul 04, 2010 8:28 pm
Reply with quote

I have used IDCAMS alter to change the management class for a flat file but for the life of me I can't figure out how to do it for a GDG. I thought it would be the same.

alter xxxx.xxxx.xxxx.xxxxx managementclass(xxxx)

but it won't work. Can I alter a GDG base ?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Sun Jul 04, 2010 8:59 pm
Reply with quote

Quote:
Can I alter a GDG base ?

what happened when you tried?
or have you stopping thinking and using initiative and
are just now generally requesting others do your thinking and work,
without the pay?
Back to top
View user's profile Send private message
Chase

New User


Joined: 03 Jul 2010
Posts: 4
Location: Toronto

PostPosted: Sun Jul 04, 2010 9:14 pm
Reply with quote

dbzTHEdinosauer wrote:
Quote:
Can I alter a GDG base ?

what happened when you tried?
or have you stopping thinking and using initiative and
are just now generally requesting others do your thinking and work,
without the pay?


Wow, not sure what I said to cause you to post that. I assure you I put every effort into my work and my job before I ask for any help whatsoever.

I spent several hours trying several different things yesterday and I have searched every where on the net. If there's an answer it's not easy to find.

I have tried

ALTER XXXX.XXXX.XXXXX.XXXXX MANAGEMENTCLASS(xxxx)
Which gave me this.

SMS CONSTRUCT MANAGEMENTCLASS SPECIFIED FOR NON-SMS MANAGED
OBJECT

even though it is SMS managed.


ALTER GDG XXXX.XXXX.XXXXX.XXXXX MANAGEMENTCLASS(xxxx)

IDC3211I KEYWORD 'XXXX.XXXX.XXXXX.XXXXX' IS IMPROPER
MANAGEMENTCLASS(xxxx)
IDC3202I ABOVE TEXT BYPASSED UNTIL NEXT COMMAND. CONDITION CODE IS 12

ALTER NONVSAM XXXX.XXXX.XXXXX.XXXXX MANAGEMENTCLASS(xxxx)

IDC3211I KEYWORD 'XXXX.XXXX.XXXXX.XXXXX' IS IMPROPER
MANAGEMENTCLASS(xxxx)
IDC3202I ABOVE TEXT BYPASSED UNTIL NEXT COMMAND. CONDITION CODE IS 12


And several others.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sun Jul 04, 2010 10:42 pm
Reply with quote

Quote:
ALTER XXXX.XXXX.XXXXX.XXXXX MANAGEMENTCLASS(xxxx)
Which gave me this.

SMS CONSTRUCT MANAGEMENTCLASS SPECIFIED FOR NON-SMS MANAGED
OBJECT

even though it is SMS managed.

in these cases I tend to trust more the system judgement that the user' s one icon_biggrin.gif
Back to top
View user's profile Send private message
Chase

New User


Joined: 03 Jul 2010
Posts: 4
Location: Toronto

PostPosted: Sun Jul 04, 2010 11:20 pm
Reply with quote

enrico-sorichetti wrote:
Quote:
ALTER XXXX.XXXX.XXXXX.XXXXX MANAGEMENTCLASS(xxxx)
Which gave me this.

SMS CONSTRUCT MANAGEMENTCLASS SPECIFIED FOR NON-SMS MANAGED
OBJECT

even though it is SMS managed.

in these cases I tend to trust more the system judgement that the user' s one icon_biggrin.gif


It is SMS managed. I've triple checked it. It's something to do with it being a GDG base dataset.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Sun Jul 04, 2010 11:31 pm
Reply with quote

Chase wrote:
Can I alter a GDG base ?
I'd say no....
Quote:
SMS CONSTRUCT MANAGEMENTCLASS SPECIFIED FOR NON-SMS MANAGED OBJECT
The way I see it is that the GDG base is not SMS managed, only the actual physical generations are......
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sun Jul 04, 2010 11:54 pm
Reply with quote

from the the original post

Quote:
SUBJECT :Altering the management class of a GDG dataset
I have used IDCAMS alter to change the management class for a flat file but for the life of me I can't figure out how to do it for a GDG. I thought it would be the same.
alter xxxx.xxxx.xxxx.xxxxx managementclass(xxxx)
but it won't work. Can I alter a GDG base ?


please learn to post using a consistent terminology....

what do You want to alter ???
a GDG dataset AKA a generation
a GDG base

and also if You had posted a more comprehensible dataset masking pattern it would have been easier to diagnose the issue

Quote:
I have searched every where on the net

but only in the wrong places icon_biggrin.gif

if You had looked at the manual You would have found that ...
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2I281/5.1?SHELF=DGT2BK91&DT=20100120113849
contains the answer to Your question

why didn' You post also the message id for the message talking about the non SMS object,
it would have made things easier for people willing to help

please do not insist...
if the system tells that something is not an SMS managed OBJECT
the system is right and You are wrong FULL STOP

read
catb.org/~esr/faqs/smart-questions.html
on how to make the most out of the questions You ask
Back to top
View user's profile Send private message
Chase

New User


Joined: 03 Jul 2010
Posts: 4
Location: Toronto

PostPosted: Mon Jul 05, 2010 12:46 am
Reply with quote

I belonged to this forum years ago and found it quite helpful. I couldn't remember my member id and re-registered.

I don't remember it being this unfriendly.

You can remove my profile please and thanks.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Jul 05, 2010 1:19 am
Reply with quote

Hello Chase and welcome back to the forum,

One of the changes since you were last here is that there are more and more posters who are completely unwilling and/or unable to do anything for themself. . . Look around and observe the volume of topics that demonstrate this. That population is still on the increase.

Some of our more senior contributors demonstrate a lot of frustration over people who have entered this profession with no idea of how to be a professional (or possibly even no desire to be).

We also see many posts where a newbie is sure the system is not working correctly. . . With the exception of some issues with pl/i, these are 99.999% the user, but many will not accept this icon_neutral.gif

When a "new" user posts a question that appears there has been no background work done, the replies are sometimes meant to be a wake-up call. The idea being that our forum can be very useful, but should be used correctly.

Quote:
I belonged to this forum years ago and found it quite helpful
We still provide quite a lot of help - sometimes maybe too much, sometimes maybe too little (opinions vary) icon_smile.gif

d
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Mon Jul 05, 2010 1:42 pm
Reply with quote

Quote:
We still provide quite a lot of help
Quite right but unfortunately recently the help has been interspersed with an unnecessary(my opinion) level of abuse and personal criticism
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