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 a jcl containing header body and trailer .in header i
have viswa
body 2
6
1
9
7
trailer reddy .now i need to sort only body in either
asecending or descending order how can i do it

Answer Posted / vadivel r

ICETOOL will help you,

//S1 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN DD *
viswa
2
6
1
9
7
reddy
/*
//OUT DD DSN=... output file
//TOOLIN DD *
* Sort detail records between the header and trailer
DATASORT FROM(IN) TO(OUT) HEADER TRAILER USING(CTL1)
//CTL1CNTL DD *
* Sort the detail records ascending by positions 14-23.
SORT FIELDS=(1,1,CH,A)
/*

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a jcl to execute a job by 7:00 am on jan 20,1986?

1099


What do you understand by the terms: joblib and steplib?

1150


What do you understand by the term notcat 2 – gs?

1226


List the different jcl statements that are not permitted in the procedures?

1058


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

1132


In job processing, what happens in conversion stage?

1175


what JCL Procedures?

1228


Can I send output of job to my remote device careerride123?

1114


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

1068


what is the purpose of coding class parameter in job statement?

1240


How can a jobs execution priority be modified?

1274


which utility is used a dummy utility?

1447


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

1211


Explain about ISPF/TSO Commands

1926


what happens in conversion stage in job processing?

1207