how to change the allocated dataset's specs

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
sachininx
Member
Posts: 8
Joined: Thu Jan 28, 2010 4:55 pm
Location: CHENNAI

how to change the allocated dataset's specs

Post by sachininx » Mon Feb 01, 2010 3:48 pm

is there any way to increase the already allocated space (frm TRKS to CYLS) for a dataset

(please note that the dataset is already allocated.. but I want to change it from TRKS to CYLS) '


:roll:
Sachin

MrSpock
Active Member
Posts: 273
Joined: Wed Jun 27, 2007 5:37 pm

Post by MrSpock » Mon Feb 01, 2010 7:09 pm

Not that I've ever heard of other than completely deleting/re-allocating it, but maybe your Storage Management team specialists will know for sure.

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

Post by Natarajan » Tue Feb 02, 2010 10:26 am

only thing i can suggest is create a new DS copy the data into it. delete old one.
change the name of new DS.
Natarajan
Chennai

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Wed Feb 03, 2010 2:10 pm

At the top of my head, I can think of using sort with same DSN for sortin/sortout - in sortout re-define the DCB-parameters of your choice...hopefully it should work.
Regards,
Anuj

naveentanamala
Member
Posts: 5
Joined: Sun Feb 21, 2010 11:01 pm

Post by naveentanamala » Thu Feb 25, 2010 7:56 pm

alter is the command where we can allocate space if already space is allocated for pds

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Sat Feb 27, 2010 12:15 am

Can you please show the syntax?
Regards,
Anuj

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others