Lizette,

You can use the PDS command processor VERIFY subcommand if you are looking
for a TSO solution.  File 182 on your CBT dial.

Regards,
John Kalinich
Computer Sciences Corp

/* rexx */
"pds 'tridjk.bin' xispmode verify"

END OF DATA SET
      280 LOGICAL RECORDS WERE INPUT
        8 PHYSICAL BLOCKS WERE INPUT
    3,120 CHARACTERS IN THE LARGEST PHYSICAL BLOCK
    2,800 CHARACTERS PER AVERAGE PHYSICAL BLOCK



                                                                           
             Lizette Koehler                                               
             <[EMAIL PROTECTED]                                             
             ING.COM>                                                   To 
             Sent by: IBM              IBM-MAIN@BAMA.UA.EDU                
             Mainframe                                                  cc 
             Discussion List                                               
             <[EMAIL PROTECTED]                                     Subject 
             .EDU>                     Re: Better way to count records     
                                                                           
                                                                           
             04/26/2007 08:04                                              
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
               IBM Mainframe                                               
              Discussion List                                              
             <[EMAIL PROTECTED]                                             
                   .EDU>                                                   
                                                                           
                                                                           




Thanks for all the ideas.  I was hoping for something a little more TSO
oriented where the end user would only see the count of the file.  By doing
strictly batch they would need to know JCL and where to look for the
output.
Most of the people that will be using that cannot spell JCL let alone look
though the output.

So I am going to write a wrap around the process, a TSO Rexx to get the
files they want the counts from, build the batch job and send the output to
a file, then when the job completes, have a second process that reads the
output and just displays the file name and record count on the TSO screen.

Have a great day.

Lizette

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to