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 / 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


Please Help Members By Posting Answers For Below Questions

State the uses of syspring, sysin, sort fields, sum fields and dummy.

1077


Explain how can the disposition of sysout datasets be set for an entire jobstream?

1077


what is the use of JCL?

1146


What is the function of dd name parameter with a 2 part structure; audit.report?

1227


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?

2748


Differentiate between the joblib and the steplib statements?

1423


how can you check if a file is empty using jcl?

1411


How would you understand error(execution phase)?

1242


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

2446


Name the statement which can be used to send data to another mvs jes3 node?

1171


how you can access an uncataloged dataset in a JCL?

1124


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.

2457


What is use of restart and how to use it?

1305


In sms datasets, what is the function of the dd mgmtclas keyword?

1375


what is use of space parameter in dd statement?

1263