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 Convert PS to TXT file using jcl JCL & VSAM 7
This topic is locked: you cannot edit posts or make replies. Sort to include records of file 2 int... Java & MQSeries 1
No new posts How to modify file content using REXX CLIST & REXX 3
No new posts VB file copy COBOL program gives erro... COBOL Programming 3
No new posts SORT for dynamic trailer record + CSV... DFSORT/ICETOOL 14
Search our Forums:

Back to Top