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
List in order the hierarchical levels of jcl?
What is the function of the dd mgmtclas keyword in sms datasets?
What is the significance of addrspc parameter in exec statement?
what is “Cond= even” and “Cond=only”?
What is the function of dd name parameter with a 2 part structure; audit.report?
When output dataset space is required, what quantity categories are used?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
define cond parameter in jcl?
What do you understand by the term job time – out and how can you overcome that?
Explain dfsort utility?
How can a stopped job be started again?
What are steplib and joblib? What for they are used?
How gdg are concatenated?
in ways data can be passed to a COBOL program from JCL?
Explain how can the disposition of sysout datasets be set for an entire jobstream?