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 want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1994


Is automatic restart possible in jcl?

1278


When output dataset space is required, what quantity categories are used?

1420


Explain how can a jobs execution priority be modified?

1262


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

2223


What happens if both JOBLIB & STEPLIB is specified ?

1207


Name the parameters which can be used to limit the number of records written to a sysout dataset?

1203


which parameter is used to check the syntax of a jcl without executing it?

1422


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

2352


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

1522


how can the same proc be re-used and called by many jobs?

1561


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

1439


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

2507


Explain the purpose of dd dummy statement?

1275


What is condition checking in jcl? Is this possible?

1160