How to find out the number of records in a file using JCL

Answer Posted / ravi

Logesh,

I'm not sure where the output (record count) is written to.

Can you let me know how to write it to spool & dataset.

My output should be:

Record count is: <count>

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the function of the dd dcb keyword?

696


Is it possible to code instream data in a PROC?

748


What is job control language?

607


What is the significance of addrspc parameter in the exec statement?

618


What parameters can be used to limit the number of records written to a sysout dataset?

746






what sort card you will use to copy the data from one dataset to another dataset?

726


What are the parameters that are used in creating a gdg?

737


State the uses of syspring, sysin, sort fields, sum fields and dummy.

644


How to do automated restart when a job abend?

789


Explain how can a jobs execution priority be modified?

736


I need exexution process for JCL programs

1847


How can a jobs execution priority be modified?

795


Is their any set of rules for dd? Explain.

657


What is the function of //cntl statement?

828


What happens if both JOBLIB & STEPLIB is specified ?

606