On Mon, 14 Sep 2020 12:56:21 -0400 Joseph Reichman <[email protected]> wrote:
:>I have a really stupid question in chapter 6 of the syncsort manual invoking syncsort from a program on the second page of that chapter there is listed DD statements for invoked sort merge. There is listed sortin as one of the DD statements. If I am doing the reading then when does it have to be called sortin It doesn't. In fact, the input data need not be read from a file. It can be data from memory, a DB2 table, etc. :>> On Sep 14, 2020, at 12:47 PM, Binyamin Dissen <[email protected]> wrote: :>> ?On Mon, 14 Sep 2020 11:29:54 -0400 Joseph Reichman <[email protected]> :>> wrote: :>> :>I have a VB file Im trying to process :>> :>I calling syncsort from a program and have a E15 exit :>> :>Im running this all under test to get the kinks out :>> :>The first time The exit is invoke Register one :>> :>At +0 is 0 meaning I am not selecting anything. I checked by include and it looks right. I wondering about the record statement. I gave it coded as such :>> :>RECORD TYPE=V,LENGTH=(31996,,,8) would this record control statement get me every record on SORTIN :>> It would depend on how you are calling SORT, but if you pass an E15 address :>> SORT will not read SORTIN - you code is responsible for providing the records. :>> You must provide a record address with R15=12 until you are done providing the :>> input, in which case you pass R15=8. :>> Always best to read the manuals. -- Binyamin Dissen <[email protected]> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
