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
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
Are there any set of rules for the names of the steps used in a job? What are they?
What is the motivation behind coding class parameter in job statement?
Explain the purpose of dd * statement in jcl?
how you can direct the data to spool using SYSOUT option?
what are the various stages of job processing?
A dd statement consists of 4 fields. Name them?
How would you understand error(execution phase)?
What is the purpose of dd dummy statement?
How does jcl act on a cobol code?
what are the statements that are not valid to be included in an include statement?
What is the syntax of JCL statement?
Explain the hierarchy levels in jcl?
what is the compile process of cobol program expalin with code
what is the use of JCL?