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

I have two input SORTIN files and We need to create one
SORTOUT file which contains data of both input files. What
is the SortCard for this?. Suppose the length of the both
files are different, then How we do it? Please reply ASAP

Answer Posted / srk

//jobname job .......
//stepname1 exec pgm=sort
//sysprint dd sysout=*
//sortin01 dd dsn=file1,disp=shr
//sortin02 dd dsn=file2,disp=shr
//sortout dd dsn=mergefile,.......
//sysout dd sysout=*
//sysin dd *
merge fields=(starting field,length,merge-sequence,format)

/*
*above is the merge condition
//

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1175


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

1240


what JCL Procedures?

1258


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

1139


what is use of dsn parameter in dd statement?

1167


How do you submit a job for execution?

1115


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

1314


Explain the function of the steplib dd statement?

1142


what is use of dcb parameter in dd statement?

1307


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

1368


Explain how can the attributes of one sms dataset be copied to another dataset?

1219


what happens in execution stage in job processing?

1151


how do you code a null statement?

1346


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

1237


How does jcl specify the job to the operating system?

1250