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

Dataset modifications


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

New User


Joined: 17 Aug 2005
Posts: 30

PostPosted: Wed Feb 15, 2006 6:21 pm
Reply with quote

Hi All,

Can anyone plz let me know how to change the LRECL of sequential file or its parameters?

And also please let me know how to modify any dataset parameters...(Non-VSAM, VSAM, PDS....) in general.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Wed Feb 15, 2006 10:34 pm
Reply with quote

Quote:
Can anyone plz let me know how to change the LRECL of sequential file or its parameters?

I dont think you can change LRECL of an already allocated dataset given you are not making any trick of allocating another dataset with changed attributes & delete earlier.

Quote:
And also please let me know how to modify any dataset parameters...(Non-VSAM, VSAM, PDS....) in general.

Do you mean changing from VSAM to Non-VSAM ...???????

Regards,

Priyesh.
Back to top
View user's profile Send private message
vrakeshmbt

New User


Joined: 17 Aug 2005
Posts: 30

PostPosted: Thu Feb 16, 2006 1:26 pm
Reply with quote

So we cannot change the parameters of a PS file.

Do you mean changing from VSAM to Non-VSAM ...???????

No. I just want to alter the parameters.
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Thu Feb 16, 2006 4:53 pm
Reply with quote

HI,

Quote:
Can anyone plz let me know how to change the LRECL of sequential file or its parameters?

I alsoe agree with Priyes that there is ni trick to do it but you can change the LRECL by following method.

1 copy the data into some temp file.
Delete the original file.
Create the new File with increased LRECL
Copy teh data into it.


Quote:
please let me know how to modify any dataset parameters

I believe its not possible.


Hope it helps

Regards
Rupesh
Back to top
View user's profile Send private message
amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Thu Feb 16, 2006 7:20 pm
Reply with quote

Hi,
I am agree with Priyesh & Rupesh that we can not modify the parameters and the LRECL of a DS.
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