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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 11 Tue May 16, 2017 2:20 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm


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