|
|
| Author |
Message |
senthil1kumar
New User
Joined: 20 May 2008 Posts: 5 Location: bangalore
|
|
|
|
Scenario :
I have a header record and N number of detailed records and finally a trailer record in my input file. I have to extract detailed records based on some condition and write it to the output file.Trailer record in the output file should contain the COUNT of all records that satisfied the condition (i.e # of detailed recs in o/p file).
Please help me on how to find the detailed record count.
Checked in few manuals but was not able to find this.Actually summary results in spool has the information i am looking for stored in SELTOT.However, i was not able to refer to that field inside the selcopy pgm.
Please give your suggestions.
Thank you! |
|
| Back to top |
|
 |
References
|
Posted: Fri May 30, 2008 11:56 am Post subject: Re: SELCOPY - Select some records - create trlr w/ count |
 |
|
|
 |
senthil1kumar
New User
Joined: 20 May 2008 Posts: 5 Location: bangalore
|
|
|
|
I dont believe i did that. I am exteremely sorry!
Will start a new topic!
Thanks |
|
| Back to top |
|
 |
Splitted: Fri May 30, 2008 10:42 pm by dick scherrer From Topic Divide a record into different files in JCL (JCL) |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 7517 Location: 221 B Baker St
|
|
|
|
Hello,
| Quote: |
| I dont believe i did that. I am exteremely sorry! |
Not a problem. Sometimes people click "post reply" when they really want "new topic".
Your question has been separated from the original topic. The "other" new topic has been deleted. |
|
| Back to top |
|
 |
|
|