Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Report the number of records available in my input file

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

New User


Joined: 24 Apr 2007
Posts: 1
Location: india

PostPosted: Tue Apr 24, 2007 6:42 pm    Post subject: Report the number of records available in my input file
Reply with quote

I want to report the number of records available in my input file, which utility can help me out, please provide the syntax of the same.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Apr 24, 2007 6:50 pm    Post subject:
Reply with quote

You can use SORT or IEBGENER

Quote:
please provide the syntax of the same.

Please supply ?50.

The syntax for the sort solution can be found in the sort manuals, and for IEBGENER in the utilities manual, both easily accessible from the "Manuals" button on the top of this page.
Back to top
View user's profile Send private message
vijikesavan

Active User


Joined: 04 Oct 2006
Posts: 118
Location: NJ, USA

PostPosted: Tue Apr 24, 2007 6:59 pm    Post subject: Re: Report the number of records available in my input file
Reply with quote

The record count can be obtained using various methods.
three of them I know

1) Using DFSORT
your sysin card will be like this:
Code:
//SYSIN    DD    *                   
   OPTION COPY                       
   OUTFIL REMOVECC,NODETAIL,         
     TRAILER1=(COUNT=(M11,LENGTH=8)) 
 /*     



2) using ICETOOL
Code:
//TOOLIN    DD *         
  COUNT FROM(INPFILE)   
/*   


3) Using fileaid
Code:
//Step1   EXEC PGM=FILEAID 
...
your card will be
//SYSIN    DD * 
$$DD01 TALLY     
/*         


Hope this helps.
Thanks,
Viji
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 Splitting of single report to seperat... abdulrafi TSO/ISPF 4 Mon Mar 27, 2017 3:59 pm
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us