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

In one of intervie, my interviwer asked, I have a file
which contains 4 records I would like to split the 4
different outputs for each record how to do?

Answer Posted / rajesh

The following will also work ..

//SYSIN DD *
SORT FIELDS=COPY,
OUTFILE FNAMES=(OUTFILE1,OUTFILE2,OUTFILE3,OUTFILE4),SPLIT
/*

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1490


Where can program checkpoints be stored for use in a restart?

1489


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

1140


What is job control language?

1150


what JCL Procedures?

1308


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

2960


which utility is used a dummy utility?

1524


What is the use of disp parameter?

1204


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

1462


what happens in execution stage in job processing?

1196


Explain the function of the steplib dd statement?

1181


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

1305


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

1447


what is the purpose of coding class parameter in job statement?

1313


How can a jobs execution priority be modified?

1345