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

I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

1204


What do you know about jcl?

1130


Explain in DD statement what is the use of DCB parameter?

1120


Define concatenating?

1087


what operation is performed by job statement?

1106


What does a disposition of (new,catlg,keep) for a dsn mean?

1129


In job processing, what happens in conversion stage?

1176


What is the function of the dd mgmtclas keyword in sms datasets?

1209


What is the purpose of disp parameter?

1106


Which dd parameters are required?

1168


Suppose I have five jobs to do. But I want to hold one?

1116


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

1241


what is “Cond= even” and “Cond=only”?

1291


What parameter of the job statement is used to limit the cpu time consumed by the job?

1263


In job processing, what happens in execution stage?

1185