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

changing key in file aid


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gowtham_1982
Warnings : 1

Active User


Joined: 02 Dec 2005
Posts: 109

PostPosted: Tue Jan 17, 2006 3:48 pm
Reply with quote

hai folks.

is it possible to change the key of a COBOL or VSAM file through file aid? i tried and got message stating its not possible.

is there any special command to accomplish this?

can anyone share me a material on the tool chagmna?



kind regards,

gowtham
Back to top
View user's profile Send private message
saranya_sn

New User


Joined: 03 Jul 2005
Posts: 12
Location: India

PostPosted: Thu Jan 19, 2006 10:21 pm
Reply with quote

Hi,
The key field for search can be changed when you are trying to browse the file.

You need to give 'T' for temp data and so that you can change the search and see the rows.

Thanks!
Saranya
Back to top
View user's profile Send private message
saranya_sn

New User


Joined: 03 Jul 2005
Posts: 12
Location: India

PostPosted: Thu Jan 19, 2006 11:57 pm
Reply with quote

Its "T" for the selection criteria usage
Back to top
View user's profile Send private message
Vinodc

New User


Joined: 01 Dec 2005
Posts: 33
Location: Prague

PostPosted: Fri Feb 24, 2006 2:59 am
Reply with quote

Hi gowtham_1982,

Keys are protected in KSDS file, and you cannot edit them normally. However there are still two ways to edit the key -
1. repeat the record, edit the key of new record and delete the original record.
2. Using PROT OFF command in File-Aid when in FMT mode. This will make the key editable only for the record displayed.

Vinod Chawda
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 -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
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