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 fetch even records from one file to another file by
using ICETOOL in JCL?

Answer Posted / rajvee

Step01 exec pgm=sort
.
.
.
sysin dd *
sort fields=copy
outfil fnames(out1,out2),split

first rec will be in out1 file, second in out2,third in
out1 and so on..

so out2 will have even number recs.

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A dd statement consists of 4 fields. Name them?

1408


Brief description of inline procedure of jcl.

1238


How is the record format of an output dataset specified?

1145


which utility is used to run a cobol-db2 program?

1372


What are some jcl statements that are not allowed in procedures?

1218


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

1058


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

1290


What is the purpose of dd?

1222


Is automatic restart possible in jcl? If yes, how?

1105


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.

2453


What is use of restart and how to use it?

1294


Is there any command to check wether the ps file is in sorted order?

2877


if the submitter of a job wants to inform another user about the job completion, how can it be done?

1232


What are the utility programs in jcl?

1149


What are the 2 types of parameters in dd statement?

1140