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 multithreading in jcl?

1477


Explain the purpose of dd dummy statement?

1225


How can values be passed from the job stream to an executable program?

1450


what is DSN parameter and DISP parameter is used for?

1154


How to override loadlib?

2049


What is the function of dd disp parameter?

1140


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

1175


How do you create a temporary dataset?

1192


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

1950


Explain the hierarchy levels in jcl?

1686


How can unused space allocation be returned to the system when a dataset is closed?

1499


How can a stopped job be started again?

1197


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

1264


which parameter is use to declare the name of dataset in dd statement?

1273


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

1139