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 how to eliminate null indicator value... DB2 7
No new posts Format Binary file to EBCDIC JCL & VSAM 4
No new posts Binary File format getting change whi... All Other Mainframe Topics 7
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
Search our Forums:

Back to Top