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
 

 

Altering the management class of a GDG dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Altering the management class of a GDG dataset
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    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Sun Jul 04, 2010 10:42 pm    Post subject: Reply to: Altering the management class of a GDG dataset
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    Post subject: Re: Reply to: Altering the management class of a GDG dataset
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: 2150
Location: At my coffee table

PostPosted: Sun Jul 04, 2010 11:31 pm    Post subject: Re: Altering the management class of a GDG dataset
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Sun Jul 04, 2010 11:54 pm    Post subject: Reply to: Altering the management class of a GDG dataset
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 ...
http://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
http://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    Post subject:
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

Site Director


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

PostPosted: Mon Jul 05, 2010 1:19 am    Post subject: Reply to: Altering the management class of a GDG dataset
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: 258

PostPosted: Mon Jul 05, 2010 1:42 pm    Post subject:
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    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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Produce Mainframe Dash Board Reports ... sdcarlson53 All Other Mainframe Topics 2 Thu Jan 05, 2017 11:01 pm


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