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

How to change the size of the file that perviously defined


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
roshansawant
Warnings : 1

New User


Joined: 06 Nov 2006
Posts: 10

PostPosted: Mon Nov 20, 2006 2:21 pm
Reply with quote

Hi All,

Can anybody tell me how to change the size of the file that is perviously defined?
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Mon Nov 20, 2006 2:24 pm
Reply with quote

Hi !

Could you plse specify what you want to do a bit more clearly.

Otherwise I would say, there are a lot of solutions to change a file-size.

Regards, UmeySan
Back to top
View user's profile Send private message
vijay_bn79

New User


Joined: 20 Nov 2006
Posts: 48
Location: Hyderabad

PostPosted: Mon Nov 20, 2006 3:08 pm
Reply with quote

Hi..,

Create one temporary file
Copy the data from the file which you want to change the size into the temporary file
delete that file which you want to change the size
create(or Allocate) that again with the size you want
and copy the data from temporary file to the changed file

Thanks
Back to top
View user's profile Send private message
roshansawant
Warnings : 1

New User


Joined: 06 Nov 2006
Posts: 10

PostPosted: Mon Nov 20, 2006 3:32 pm
Reply with quote

My question is , We have a vsam file and for further enanchment we want to increase the size of the vsam file .......
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Mon Nov 20, 2006 3:46 pm
Reply with quote

Hi !

So ,ok, then you need to define the new VSAM-Dataset with your enhancements. Then you have to transfer the data from one file to the new file.

Also look at the FileAid utility if it is installed at your company.

Regards, UmeySan
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 0
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top