Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
SELCOPY - Select some records - create trlr w/ count

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
senthil1kumar

New User


Joined: 20 May 2008
Posts: 5
Location: bangalore

PostPosted: Fri May 30, 2008 11:56 am    Post subject: SELCOPY - Select some records - create trlr w/ count
Reply with quote

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
View user's profile Send private message
References
senthil1kumar

New User


Joined: 20 May 2008
Posts: 5
Location: bangalore

PostPosted: Fri May 30, 2008 2:37 pm    Post subject:
Reply with quote

I dont believe i did that. I am exteremely sorry! icon_sad.gif

Will start a new topic!

Thanks
Back to top
View user's profile Send private message
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: 8733
Location: 221 B Baker St

PostPosted: Fri May 30, 2008 10:43 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1