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

Hi,
My dataset have multiple records, say 100. I want to start
copy records only after a record contain a specific value
that may be in a specific position. Secondly I want to stop
copying rest records if certain record contains a specific
value. Can it be done using SORT/ICETOOL utilities?

Answer Posted / eswaran

hi,
your dataset have 100 records then u want copy starting
position=25 to ending position=50 then y have copy following way
//FSS129A JOB
//STEP1 EXEC PGM=SORT
//SORTIN DD DSN=NEW1.PS
//SORTOUT DD DSN=NEW2.PS
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY,SKIPREC=25,STOPAFT=50
/*
//

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the function of dd name parameter with a 2 part structure; audit.report?

1398


What is the use of disp parameter?

1080


what is use of dcb parameter in dd statement?

1238


Explain the hierarchy levels in jcl?

1628


Explain how can the disposition of sysout datasets be set for an entire jobstream?

1033


Which dd parameters are required?

1111


What is use of restart and how to use it?

1265


What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?

2226


what sort card you will use to copy the data from one dataset to another dataset?

1139


what are the types of abends that occur on job failure? And explain the possible causes of these

1556


What is the use of symbol // in jcl?

1392


What are the jcl procedures?

1060


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

1100


Explain the function of //jcllib statement?

1154


What is jcl in mainframe, and how many types of jcl statements are there for a job?

1110