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
How do you create a temporary dataset?
How to run cobol program using jcl?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
What is catelog procedure and how many catelog procedure to use in one job?
How to submit jcl through a cobol program?
Explain the function of the steplib dd statement?
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?
Can I send output of job to my remote device careerride123?
What are steplib and joblib?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
How is the record format of an output dataset specified?
What is the function of the steplib dd statement?
which parameter is use to declare the name of dataset in dd statement?
I need exexution process for JCL programs
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?