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

Answer Posted / logeshwaran

//COUNT EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN DD DSN=INPUT DATASET,
// DISP=SHR
//TOOLIN DD *
COUNT FROM(IN)
/*

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

1797


Are there any set of rules for the names of the steps used in a job? What are they?

612


What is the motivation behind coding class parameter in job statement?

684


Explain the purpose of dd * statement in jcl?

635


how you can direct the data to spool using SYSOUT option?

920






what are the various stages of job processing?

736


A dd statement consists of 4 fields. Name them?

926


How would you understand error(execution phase)?

621


What is the purpose of dd dummy statement?

942


How does jcl act on a cobol code?

655


what are the statements that are not valid to be included in an include statement?

776


What is the syntax of JCL statement?

692


Explain the hierarchy levels in jcl?

1118


what is the compile process of cobol program expalin with code

1998


what is the use of JCL?

660