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
State the uses of syspring, sysin, sort fields, sum fields and dummy.
Explain how can the disposition of sysout datasets be set for an entire jobstream?
what is the use of JCL?
What is the function of dd name parameter with a 2 part structure; audit.report?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
Differentiate between the joblib and the steplib statements?
how can you check if a file is empty using jcl?
How would you understand error(execution phase)?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
Name the statement which can be used to send data to another mvs jes3 node?
how you can access an uncataloged dataset in a JCL?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
What is use of restart and how to use it?
In sms datasets, what is the function of the dd mgmtclas keyword?
what is use of space parameter in dd statement?