Page 1 of 1

How to split the record without specifying key value?

PostPosted: Fri Jan 11, 2008 1:40 pm
by sathyasri
for example I want to split the record based on id field.But in my id field i have various value like D,E,7..(There are thousands of record..its very difficult to identify the values in the id field Record )Then how to split the record based on my id field? Is there any steps in jcl..?
If we using outrec like OUTREC FIELDS=(1,10,C' 1'} it must to give the key value inside the quotes..

Re: How to split the record without specifying key value?

PostPosted: Fri Jan 11, 2008 5:41 pm
by arunprasad.k
sathyasri,

Please post some example input records and the desired output. This will help those people who would like to help you.

Arun.

Re: How to split the record without specifying key value?

PostPosted: Fri Jan 11, 2008 10:16 pm
by Frank Yaeger
sathyasri,

It's not clear what you're trying to do. Do you mean that you want a different output file for every possible different value in an id field without actually identifying the possible values in the id field? For a 1-byte field, that would be 256 data output sets. For a 2-byte field, that would be 65535 possible output data sets.

You need to explain more clearly what you're trying to do with exact details and examples.