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

Edit a file using the template in File Manager


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ibmmainframe1

New User


Joined: 26 Jul 2005
Posts: 64
Location: India

PostPosted: Fri Sep 29, 2006 7:44 pm
Reply with quote

Hello,

I am using file manager in my shop. I want to edit a file using the template. some how my existing template got corrupted and I am getting junk value when I view the record.

Please let me know a solution.

Regards.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Fri Sep 29, 2006 8:08 pm
Reply with quote

Hi There,

What do u mean that u r getting junk values. R u getting *** . If it is the case then it is field type mismatch.
Back to top
View user's profile Send private message
ibmmainframe1

New User


Joined: 26 Jul 2005
Posts: 64
Location: India

PostPosted: Fri Sep 29, 2006 11:07 pm
Reply with quote

Thanks for the reply gupte. I beleive the template has been changed and I tried to make a new one using option 7, but I could not able to do it. Is there any example or guide to know about this.


Regards
giv.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Fri Oct 06, 2006 10:31 am
Reply with quote

Hi There,

First give the command CC to copy the copbook which is correpted to create new templete

Copybook:
Data set name . 'TBH2.CACHE2.COBOL'
Member . . . . MIGSOIA
Template:
Data set name . 'TBH2.CACHE2.COBOL'
Member . . . . MIGSOAA

Now if u want to change some field defination in our new templete MIGSOIAA give E on the command line
Template:
Data set name . 'TBH2.CACHE2.COBOL'
Member . . . . MIGSOAA

Then whatever the field u want to edit issue command E against it.
Please reply us if u find any problems
Back to top
View user's profile Send private message
ibmmainframe1

New User


Joined: 26 Jul 2005
Posts: 64
Location: India

PostPosted: Fri Oct 06, 2006 1:18 pm
Reply with quote

Thanks Ekta,

Will try and let you know.
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 -> IBM Tools

 


Similar Topics
Topic Forum Replies
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
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top