Lizette,

Why not code up a REXX that calls IDCAMS under the covers and "REPRO"
the file to dummy. Assign the print output to a temp file allocated in
the REXX. Once IDCAMS is done, open the temp file and read the record
count then display it to the user.

Chuck

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Lizette Koehler
Sent: Thursday, April 26, 2007 8:04 AM
To: [email protected]
Subject: Re: Better way to count records

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

 
 --
 --I have about a billion ways - well not quite - to count records in a
data
set.  I am
 --looking for advise as to what would be the most efficient way to run
either under
 --TSO or BATCH.
 --

----------------------------------------------------------------------
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

----------------------------------------------------------------------
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