FileManager



Ask queries about other IBM Tools like Tivoli, COBTEST, Fault Analyzer, z/OS File Manager, Workload Simulator, APA, SCLM, Merge & Migration Tools etc...

FileManager

Postby deepakdnayak » Sun Feb 03, 2013 10:06 am

I have a file with mutiple records each with length 3000.
The copybook that I have for this is redefined depending upon the record number on each of them.
My requirement is to edit one of the record types on this file using the template.

The template is modified to select only the rec_num on the record which I want to modify.
I am able to achieve by doing a 'ft,x all,f all rec_num col_num,fs' and then changing them.
Is there any way I can do the same thing just by doing a pf7/pf8 instead of using the command above and NOT making changes to the template.

The copybook looks something like this:

01 rec-main-rec.
05 rec-sub.
10 rec-trk pic x(10).
10 rec-num-1 pic x(02).
10 var ,etc.
01 rec-main-rec2 redefines rec-main-rec.
05 rec-sub2
10.....
...and so on.

The file looks like:

00000098780198787
00000098780298787

Appreciate help in this regard.

Thanks,
deepakdnayak
 
Posts: 1
Joined: Sun Feb 03, 2013 9:54 am
Has thanked: 0 time
Been thanked: 0 time

Re: FileManager

Postby Ed Goodman » Mon Feb 04, 2013 7:31 pm

I think you can define a new view based on the existing template, then add a selection criteria to the view to only show the single record type.

You can make a new view library to store it in if you don't have access tot he default one. Then, you can enter the view library/member in the edit panel.
Ed Goodman
 
Posts: 341
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times


Return to Other IBM Tools

 


  • Related topics
    Replies
    Views
    Last post