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
Explain the purpose of dd dummy statement?
How can the disposition of sysout datasets be set for an entire jobstream?
What is the difference between the positional and keyword parameters? Give examples.
What is the function of dd disp parameter?
what is a jcl?
What are hierarchy levels in jcl?
How does the jcl specify the job to os?
What are s0c1, s0c4, s0c5, s0c7 and socb?
List the different components of jcl statement?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
Explain how can values be passed from the job stream to an executable program?
What are the parameters that are used in creating a gdg?
How is the record format of an output dataset specified?
In sms datasets, what is the function of the dd mgmtclas keyword?
Explain how can an in-stream dataset be terminated?