Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to find out the number of records in a file using JCL

Answer Posted / anilkumar

//COUNT EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN DD DSN=INPUT DATASET,
// DISP=SHR
//TOOLIN DD *
*option1
COUNT FROM(IN)
*Instead of count u can aslo use stats operator
*option2
stats from(IN) on(20,5,ZD)
*output will be available in spool ie.in toolmsg
/*

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2175


Differentiate between the joblib and the steplib statements?

1423


Name the parameters which can be used to limit the number of records written to a sysout dataset?

1146


What is the difference between run mode and addressing mode?

1238


How does jcl act on code(if you take a cobol program)?

1272


which parameter is use to declare the name of dataset in dd statement?

1246


What are the 4 fields in dd statement?

1254


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

2450


What is notcat 2 - gs?

1458


How can the submitting users racf authority be overridden in a job stream?

1263


Is condition checking possible in jcl?

1207


What parameter of the job statement is used to limit the cpu time consumed by the job?

1271


How to submit jcl through a cobol program?

1143


What is the function of the steplib dd statement?

1190


Explain how can the submitting users racf authority be overridden in a job stream?

1124