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


There are two input sorting files and there is a need to
create one sort out file which contains data of both input
files. What is the sort card for this. Write a sample JCL
for this using a control card?

Answers were Sorted based on User's Feedback



There are two input sorting files and there is a need to create one sort out file which contains ..

Answer / sreenidhi p r

sort card will be
SORT FIELDS=COPY

Is This Answer Correct ?    5 Yes 2 No

There are two input sorting files and there is a need to create one sort out file which contains ..

Answer / y@$w@nth

We can go for concatenation of datasets approach for this
to do

//userid01 job .....
//stp1 exec pgm=sort
//sortin dd dsn=userid01.test.input1,disp=shr
// dd dsn=userid01.test.input2,disp=shr
//sortout dd dsn=userid01.test.input,disp=shr
//sysout dd sysout=*
//sysin dd *
sort fields=copy
/*
//

In the above case the statement

sortin dd dsn=userid01.test.input1,disp=shr
// dd dsn=userid01.test.input2,disp=shr

means concatenation of two datasets as one.....

Let me know if i am wrong
yaswanth.pyrs@gmail.com

Cheers..
Y@$w@nth..

Is This Answer Correct ?    3 Yes 0 No

There are two input sorting files and there is a need to create one sort out file which contains ..

Answer / dineshj

There is a way to give two input files in dfsort. coding is
here.,
//iksa01 job .....
//stp1 exec pgm=sort
//sortin dd dsn=iksa01.dfsort.input1,disp=shr
// dd dsn=iksa01.dfsort.input2,disp=shr
//sortout dd dsn=iksa01.dfsort.output1,disp=shr
//sysout dd sysout=*
//sysin dd *
/*
//

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More JCL Interview Questions

what is the cond=even only

4 Answers   EDS,


How to submit a jcl from cics?

0 Answers  


How do you create a temporary dataset?

0 Answers  


how to count the number of members in pds?

2 Answers  


What is the parameter to be passed in the job card for the unlimited time , irrespective of the job class ?

2 Answers   IBM,


what is fixed length and variable length and difference between them

1 Answers   CGI, Wipro,


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

4 Answers   CSC,


diff bw SB37,SD37,SE37 ?( bcz these 3 belongs Space related abends only)

4 Answers   RBS,


State the uses of syspring, sysin, sort fields, sum fields and dummy.

0 Answers  


how can u identify the db2 from jcl ?

2 Answers   TCS,


how would you create a temporary dataset? And where will you use them?

0 Answers  


how to identify a vasam dataset by seeing in 3.4(browse)

5 Answers   Cap Gemini,


Categories