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

I have a file in which I have 20 records. I want my first
record to go into file 1 and second record to go in second
file. I want to copy the alternate records like this in the
two output files. How can I do this using JCL?

Answer Posted / bala

we can add seqnum to each record in the file using SORT
command and copy then use INCLUDE & EXCLUDE COND of SORT
for this.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the JCL statement consists of?

1254


What are steplib and joblib? What for they are used?

1303


What dd statement is used to supply the name of a dataset?

1447


Why include statement is used in a jcl?

1236


when can a job time-out occur? How to overcome that?

1349


How can return codes be tested before execution of a job step?

1533


what are the various stages of job processing?

1345


what is the difference between JES3 and JES2?

1191


Explain about ISPF/TSO Commands

2016


Explain the jcl exec statement?

1197


How can a stopped job be started again?

1241


What is the purpose of dd?

1293


Give the syntax of job specifying jcl statement.

1200


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

1518


what is the use of IEBGENER utility?

1226