Wayne

It appears the E15 exit will not work for our needs.  And I humbly apologize as 
the example I gave was far too simplistic and I left off some of the 
requirements that make the E15 exit 'probably' not doable.  
- First of all the E15 requires the creation of another program which is one 
thing we do not care to do.  
- Secondly, the data item we would like to save and utilize actually will only 
be used within the HEADER record for any OUTFILs that do not have records in 
the input file.  That is, if an OUTFIL has zero records written then the HEADER 
and TRAILER written for it will have a count of 0.  But... we would like the 
saved data (a date range) to be plugged into the Header title area. This date 
is part of the input record and works fine for OUTFIL groups with an input 
record but when the HEADER is written for the OUTFIL groups when there are zero 
input records for the group, this data is not available. 

Thanks
Bill


-----Original Message-----
From: IBM Mainframe Discussion List on behalf of George, William@FTB
Sent: Sat 7/7/2012 3:15 PM
To: [email protected]
Subject: Re: SYNCSORT - Save a data item for use in OUTREC output
 
Thanks, I'll look into this!


-----Original Message-----
From: IBM Mainframe Discussion List on behalf of Wayne Bickerdike
Sent: Sat 7/7/2012 1:38 PM
To: [email protected]
Subject: Re: SYNCSORT - Save a data item for use in OUTREC output
 
Use an E15 exit to read the input file, store the value you need to
preserve and on each successive record just overwrite with the saved
value and pass the record to sort.

I have a few examples of E15 exit code but the SYNCSORT manual should
have some examples of exit code.

Wayne Bickerdike

On Sat, Jul 7, 2012 at 7:40 AM, George, William@FTB
<[email protected]> wrote:
> Sorry, the formatting didn't retain how I had originally keyed it.
>
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of George, William@FTB
> Sent: Friday, July 06, 2012 2:36 PM
> To: [email protected]
> Subject: SYNCSORT - Save a data item for use in OUTREC output
>
> Is there a means via SYNCSORT to save a data item found on the 1st input
> record and then have it placed on all subsequent output records.
>
>
>
> For example.
>
> 1.       Input 1 - 07/06/2012 asfasdlfjl.....   (save the date
> 07/06/2012 and not output the record)
>
> 2.       Input 2 - poiutkjgfertqe....       Output - 07/06/2012
> poiutkjgfertqe...
> That is, place the saved data item (date) someplace in the output record
>
>
> 3.       Input 3 - (same as #2 and to the end of file)
>
>
> Thanks for any insights.
>
>
> ______________________________________________________________________
> CONFIDENTIALITY NOTICE: This email from the State of California is for the 
> sole use of the intended recipient and may contain confidential and 
> privileged information. Any unauthorized review or use, including disclosure 
> or distribution, is prohibited. If you are not the intended recipient, please 
> contact the sender and destroy all copies of this email.
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN



-- 
Wayne V. Bickerdike

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



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



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

Reply via email to