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

Regarding updation in vsam


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jose.jeyan

New User


Joined: 28 Jul 2006
Posts: 60
Location: Mumbai

PostPosted: Mon Sep 18, 2006 3:18 pm
Reply with quote

I have a question on the updation on vsam files

There is a vsam ksds file and there are many fields in it like name,country,phoneno,adress etc...
the request is the phoneno is 7 digit in length ie - 6543227
and i have to make this phoneno field to 8 digit ie to add 2 to the existing phone nos

is this possible and how

anyone pls tell me
Back to top
View user's profile Send private message
raghunathns

Active User


Joined: 08 Dec 2005
Posts: 127
Location: rochester

PostPosted: Tue Sep 19, 2006 3:09 am
Reply with quote

without increasing the file size. you declare the field as comp-3. so it can store 13 digits. but you may need to run one time program to convert all records after that you continue to use comp-3.

other way is to increase the file size. use repro and copy to seq. then copy to new vsam file. use new filed of x(8).
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts CVDA value for RRDS VSAM dataset. CICS 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
Search our Forums:

Back to Top