Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
JCL to count the no of records

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
shaqeel.mohds
Warnings : 1

New User


Joined: 06 Jul 2010
Posts: 8
Location: Chennai

PostPosted: Sat Sep 18, 2010 11:00 am    Post subject: JCL to count the no of records
Reply with quote

I waana know if there is any JCL which can count the no of records processed by a particular job and must give the output
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10373
Location: italy

PostPosted: Sat Sep 18, 2010 11:15 am    Post subject: Reply to: JCL to count the no of records
Reply with quote

Quote:
I waana know if there is any JCL which can count the no of records processed by a particular job and must give the output

a YES/NO question deserves a YES/NO answer .... YES there is

anyway did You care to search the forums? looks like not!
if You had, the search would have returned lots of solutions to Your question

good search arguments might be sort record count
( check the box to search for all the terms )
Back to top
View user's profile Send private message
smijoss

Active User


Joined: 30 Aug 2007
Posts: 114
Location: pune

PostPosted: Mon Sep 20, 2010 10:42 am    Post subject:
Reply with quote

COUNT in Output Record
ICETOOL’s COUNT operator now allows you to create a count data set with an
output record containing the record count. New WRITE(countdd), TEXT(’string’),
DIGITS(n) and EDCOUNT(formatting) options make it easy to create an output
data set with a record containing text and the record count in various forms.


Example From ice1ca40.pdf :

COUNT FROM(IN2) WRITE(CT2) TEXT('Count is ') -
EDCOUNT(A1,U10) WIDTH(80)
Prints a message containing the count of records in the IN2 data set. Writes an
80-byte record with the specified string and an edited count to the CT2 data set. If
IN2 contains 3286721 records, the 80-byte output record in CT2 would look like
this:
Count is 3,286,721
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Mon Sep 20, 2010 11:17 pm    Post subject:
Reply with quote

Mohammed,

See the "Display the number of input or output records" Smart DFSORT Trick at:

http://www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000094
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 1 Wed Dec 06, 2017 1:50 am
No new posts ISMF Difference between volume count ... upendrasri IBM Tools 2 Tue Dec 05, 2017 12:40 pm
No new posts Increment number for every group of r... srajendran2 DFSORT/ICETOOL 7 Thu Nov 09, 2017 10:31 pm
No new posts Matching and unmatched records!! Vignesh Sid SYNCSORT 3 Thu Nov 09, 2017 11:22 am
No new posts Formatting multiple records to a sing... Vignesh Sid SYNCSORT 3 Tue Nov 07, 2017 12:22 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us