On Thu, Aug 21, 2014 at 9:37 AM, Shmuel Metz (Seymour J.) <
[email protected]> wrote:

> In <[email protected]>, on 08/20/2014
>    at 09:34 AM, TonyIcloud-OPERA <[email protected]> said:
>
> >I have a dataset that contains records with a field, by which I need
> >to create a separate dataset that would contain all occurrences of
> >that field.
>
> ITYM a separate file for each value in that field. If I were doing
> this, I'd sort on the field and have an output exit that allocated and
> opened the dataset for each value, closed and freed it on a control
> break and told the sort not to create any output.
>

You could even do that in, *gasp*, COBOL with an OUTPUT PROCEDURE IS phrase.


>
> --
>      Shmuel (Seymour J.) Metz, SysProg and JOAT
>


-- 
There is nothing more pleasant than traveling and meeting new people!
Genghis Khan

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to