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 write a jcl prog to copy alternate recs from ps1 to
another ps2,suppose ps1 having 10 recs?

Answer Posted / mahesh

//step1 exec pgm=iebgener
//sysut1 dd dsn=fss149.mahesh.ps1,disp=(shr)
//sysut2 dd dsn=fss149.mahesh.ps2,disp=shr

Is This Answer Correct ?    2 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of //jcllib statement?

1316


How do you access an uncatalogued dataset in a jcl?

1214


What is Cataloged Procedures?

1162


can any one plzzzzzz tell the jcl code for creating ps using idcams

11661


What is one line to pass PARM from JCL to COBOL?

4953


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

1386


What are the 2 types of parameters in dd statement?

1155


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

1313


How do you overcome this limitation ?

1201


Are there any set of rules for the names of the steps used in a job?

1129


a dd statement has 2 types of parameters. Name them?

1133


Is condition checking possible in jcl?

1209


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

1234


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

1261


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9745