IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

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: 6968
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

Senior Member


Joined: 14 Mar 2007
Posts: 10695
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: 2148
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

Senior Member


Joined: 14 Mar 2007
Posts: 10695
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 ...
Use [URL] BBCode for Links
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
Use [URL] BBCode for Links
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: 19251
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts Altering output file attributes All Other Mainframe Topics 5
No new posts Fetch the Dataset names from inside m... TSO/ISPF 18
No new posts A job with SYSSTC service class is ge... All Other Mainframe Topics 4
No new posts what is the DSORG(Datset orgnisation)... JCL & VSAM 8
No new posts IEBGENER is not Creating Member in PD... JCL & VSAM 7

Back to Top